Forum Discussion
Altera_Forum
Honored Contributor
14 years agoShort update if anyone stumbles upon this thread. I've attached my module as a memory device to the Nios II processor. The magic is that you have to define the device as a memory device in the _hw.tcl script.
Before reading from the device you have to flush the processor read cache for that memory region:
alt_dcache_flush_no_writeback((void *) <address of burst IF>, <length of burst IF memory region in bytes>);
Regards Martin