Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDMA memtest.c confusion
Hi, I am using DMA device in my Nios program for DE1 board. The code memtest.c is taken from the example given in Nios IDE. The part of the code is shown below between green arterisk: *******...
Altera_Forum
Honored Contributor
16 years agoIOWR and IORD use 32 bit word addressing. Any of the macros that have "_8DIRECT", "_16DIRECT", or "32_DIRECT" in the name use byte addressing.
I recommend that users use the byte address macros instead of the word address macros for any new software. Likewise on the hardware side any new custom components should always include byte enables for the slave port.