Forum Discussion
Altera_Forum
Honored Contributor
16 years agoBurst Reads with NIOS II
I am trying to use the NIOS processor to read some debug data that has been dumped on a Memory Mapped device on the Avalon bus, using burst reads. However, I am stuck in writing the C code. I am not ...
Altera_Forum
Honored Contributor
16 years agoYes, in SOPC builder, open the settings of the Nios core, go in the cache/memory access tab ( I don't remember the exact name) and enable the cache and the burst access.
To read memory, just use standard C code. Create a pointer, make it point to the memory you want to read and do the read operation.