Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow can I allocate a variable to a specific section?
I want a variable to be allocated in the on-chip RAM. I have all sections (.text, .rodata, .rwdata, .heap, and .stack) in DDR2_SDRAM in the auto-generated linker script. I define a global varia...
Altera_Forum
Honored Contributor
16 years agoCould you compile the memory test example in the IDE (putting rodata/rwdata, text stack and heap in the SDRAM) and have it test the onchip ram? That way you'll at least know if the hardware is ok.