Forum Discussion
Altera_Forum
Honored Contributor
15 years agowhere does code resides
one small querry.. when i use external SRAM in my design using nios2 for DE1 board my code wil be placed there in sram .. i want my code to be in onchip memory.. not sram.. how to do this..please he...
Altera_Forum
Honored Contributor
15 years agoIf you use the IDE, open the syslib properties. Here you can select where each part of your program (code, data, stack, ...) will be placed.
If you use a linker script, you'll need to modify the appropriate entry in the file.