x-heep
x-heep copied to clipboard
Extend the sign of the source data if the destination type is wider
This PR is to implement sign extension capability in the DMA data transfer if the data type of the destination is wider than the data type of the source.
This required the addition of little logic in the DMA and three control registers:
- DST_DATATYPE
- SRC_DATATYPE
- SIGN_EXTEND