Altera_Forum
Honored Contributor
12 years agonios using specific memory device
hi all,
i'd like to ask that whether nios can create array on a specific memory device or not. i have two sram memory device , let's name it sram1 & sram2 i run my system , stack, and heap on sram1 [ in this case, if i declare a global array, the memory allocation should be on sram1 ] anyway, i'd like to put an array on sram2 for special use. please tell me if there's any command that can indicate the memory device to put the array thanks in advance. btw, i roughly remembered that there's a command provided by gcc or something that matches my need.