Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI don't see anything wrong with your code, except maybe the "should be safe area of sdram" which could be a bad assumption ;)
You should use a malloc call or a static table just to be sure that you don't overwrite any part of the memory. Try also to use the constants defined in system.h instead of the static addresses, it makes things easier if SOPC builder changes the addresses of all the components. Did you check all the connections in SOPC builder? The read and write masters must be connected to both the onchip RAM and the SRAM. The same applies to the descriptor master if you want to put the descriptors in different places.