Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNios 1 vs Nios 2
We have an avionics lighting group in our company that is expanding into newer technology. It is only a matter of time that they will need a super low cost micro solution. I am in a group that desi...
Altera_Forum
Honored Contributor
22 years agoThsoe are speed only optimizations? I figured it was for speed and size.
With NIOS I, I didn't see any difference between -O2 and -O3 when looking at the ojbect dump file. However -O0, and -O1 I do see a difference (larger memory footprint). If I need to squeeze code that much then I jump to ASM since you can usually get a footprint thats twice as small or more, then the original C code at -O2. I'll need to give -Os a try since I don't think I've ever tried that before.