Forum Discussion
Altera_Forum
Honored Contributor
12 years agoNewbie memory question
Hi, I got a Terasic DE0-nano board with a Cyclone IV FPGA. My design is writing data in the memory. I use a NIOS II softcore too and I'd like it to read the FPGA memory and the data I wrote in a h...
Altera_Forum
Honored Contributor
12 years agohmmm... It seems you're using the same memory for your hardware to write data and for your program to run from, is it right?
You shouldn't write data directly to arbitrary addresses withing your program/data memory, it may even cause your program to hang. That may explain as well why you are reading the wrong value: maybe it's been overwritten when you run the software.