Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

reduce program size???

Altera_Forum
Honored Contributor II
1,289 Views

how can I reduce the maximium the size of my program NIOS II IDE?

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
568 Views

Read the "Reducing Code Footprint" chapter of this document: 

 

http://www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf?gsa_pos=2&wt.oss_r=1&wt.oss=reducing%20code%20footprint 

 

In addition to the guidance given in the document here are some tips: 

 

1 - Start your project with the "hello_world_small" example project. 

2 - Avoid all floating point library calls if possible. 

3 - Avoid functions that have a heavy code footprint (printf for example). 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
568 Views

hi 

 

thk you for help! 

best regards
0 Kudos
Reply