Forum Discussion
Altera_Forum
Honored Contributor
8 years agoWhat to do if on-chip memory is too small for Nios II program
All Nios II tutorials explain how to use on-chip memory to store the Nios II program. However, what does one do if the program is too big to fit in there? Then one would have to use off-chip memory. ...
Altera_Forum
Honored Contributor
8 years agoHi Xaui,
When .elf file is generated, there are 2 additional text files that are generated as well - .map and .objdump Good estimation on the size of memory can be found in .map file. There is some kind of table "memory configuration", where entry .text correspond to your code segment. In the column "length" - the size of your compiled code. Regards.