Forum Discussion
Altera_Forum
Honored Contributor
15 years agoalso, in software, you can do something like this to test your memory.
alt_u32* sdram = (alt_u32*) SDRAM_BASE; where SDRAM_BASE is the base address of your SDRAM controller. You can find that in your system.h file. for(i=0;i<10000;i++) { sdram[i] = i; } then in the debugger, you can load sdram variable as an array and verify the result of your for loop.