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 agoFrom what I can see, the rawVideo variable is indeed in the onchip_ram_100Kbytes, so your line worked. You don't need to create a section or modify the linker script.
The fact that the read operation fails must have another reason.