I am using a NIOS II design with a 65kbytes on-chip memory RAM. As I need to use rather large arrays in my code (32kbytes), I am starting to worry about memory utilization.
However, even when I double the size of my largest array, the nios2-elf-size does not report any size increase, and gives me this output:
$ nios2-elf-size nios_app.elf
text data bss dec hex filename
19024 832 1040 20896 51a0 nios_app.elf
Shouldn't the size of the data or bss segments increase with the size of my arrays?
There must be a point when the size of my RAM will become a limitation, but how do I check this?
Many thanks for any input you may have,
I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.