Forum Discussion
Altera_Forum
Honored Contributor
21 years agoAccessing FPGA RAM section
Dear all, how is it possible to tell the linker to place variables in a RAM that is in the FPGA? I have the following problem: I got a design with 12k RAM on FPGA and in my software projec...
Altera_Forum
Honored Contributor
21 years agoHi Scott,
thanks for your reply. I checked whether the section is defined as memory region. And this is true: MEMORY { ... int_ram : ORIGIN = 0x00808000, LENGTH = 20480 ... } SECTIONS { ... .int_ram : { PROVIDE (_alt_partition_int_ram_start = ABSOLUTE(.)); *(.int_ram) . = ALIGN(32 / 8); PROVIDE (_alt_partition_int_ram_end = ABSOLUTE(.)); } > int_ram ... } It is very similar to the other memory regions such as SD-RAM and Flash. But I still get the warning that the section int_ram isn't assigned to a memory region. The linker script belongs to the syslib project. But I am using this special variable in my application. Could this be a problem? Or is there somewhere a checkbox to be ticked or a setting to be made that I forgot? Best regards, nathan