Forum Discussion
Altera_Forum
Honored Contributor
15 years agoRead physical address
Hello, I'm trying to read address 0x0400000 (start address of avalon interface 32bits read) and the NIOS just stopped working, I can't read the entire memory block (0x0400000 - 0x040ffff or so...
Altera_Forum
Honored Contributor
15 years agoor the fact that the CPU wants to write a full cache line could make it write at an address you didn't anticipate.
Use the IORD/IOWR macros to access hardware instead of pointers, it will guarantee a cache bypass.