Forum Discussion
Altera_Forum
Honored Contributor
11 years agoActually, I am still reading the wrong values, even with using the Nios II / e without a data cache.
The thing I don't understand is that why sometimes I am reading the expected values back and other times not. I was convinced that it was the cache issue at first but it is still not behaving like I expect. If I write to memory with the ram_write tcl command and read it back with a ram_read command, it is reading the correct value back. Likewise with C, when writing to memory and read it back with printf(), I am reading the same value. Does this mean that my DDR3 controller is working? If so, why am I not reading the same values from tcl as in C (only sometimes). I am reading from the same memory locations. Maybe I am missing something else ?