Forum Discussion
Altera_Forum
Honored Contributor
13 years agoCode and Data in SDRAM
Hello! Beginner's question: When using an SDRAM in an NIOS II project, where (at what address) does the code stops and were does the data can be written? I need to know the address bec...
Altera_Forum
Honored Contributor
13 years agoIn C you should use the malloc() function. It will allocate for you a memory region that isn't used for anything else.
Alternatively if you know at compile time how much space you need, you can also declare a static variable (a char array for example).