Forum Discussion
Altera_Forum
Honored Contributor
13 years agoNios C-Code Size
Sorry if I am being a bit thick here. Been programming VHDL forever but C is still a little bit of a mystery to me. Can someone please tell me if there is a quick and easy way of working out ho...
Altera_Forum
Honored Contributor
13 years agoGetting the nios to run a few k of code is not that dissicult.
The multi-channel soft-hdlc code I use is under 3k code (and 12k of lookup tables), and written in C. It would be a little smaller in assembler, but not much. The problem is that Altera don't give you a sensible starting point for very small projects - the example that monitors the push buttons and changes the leds could be very small indeed.