Forum Discussion
Altera_Forum
Honored Contributor
16 years agoQuestions on program size in Nios II
Hi! I'm learning Nios II with DE2 Development Board, and I made a very simple MCU in the SOPC Builder which contains a Nios II processor(standard) with reset vector = epcs_controller and exception...
Altera_Forum
Honored Contributor
16 years agoA few things to remember.
1 - Your Atmel AVR was most likely an 8-bit MCU. NIOS is 32-bit. 2 - There is a lot you can do to reduce the code footprint on NIOS. For example; rather than running your little application, try starting with the "Hello World Small" example application and go from there. I frequently write very rich little applications in around 16K of code. In addition, read the section entitled "Reducing Code Footprint" beginning on page 6-30 of the NIOS II Software Developers Handbook: http://www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf Jake