Forum Discussion
FawazJ_Altera
Frequent Contributor
6 years agoHello,
the RAM in general is required by Nios II to execute even if you select XIP flash option. There is still a need to write data, which is not possible on flash to implement.
If you want to reduce the RAM size used by your application, I would recommend to start with hello_world_small template. The RAM size needed for Nios II application is subjective, ranged from 8Kb to infinity.
You might try to start with 16Kb and see if you can compile your application. From the compilation report, you can check the size of your executable code with the remaining space. Please note that you need to keep some empty space for stack/heap operations.
Thank you.