Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHi
This works fine for me as well, but when I try to place a variable in the same memory, I get an error about causing a section type conflict. Just to make clear: I have a program running from sdram. Then I want to have a variable in onchip memory as well as another function in onchip memory. Here is the codeint var __attribute__ ((section (".onchip_ram")))=0;
int func(void) __attribute__ ((section (".onchip_ram"))); Is there any known problem placing both of these in the same memory ? Nir