Forum Discussion
Altera_Forum
Honored Contributor
10 years agohow many cycles does each command take in nios?
in my project, i make a loop to blink a led: int main(void) { int i=0; for(i=0;i<100;i++) { IOWR_ALTERA_AVALON_PIO_DATA(QD_PIO_0_BASE,0xff); delay(); ...
Altera_Forum
Honored Contributor
10 years agoIf you are worried about how long NIOS instructions take, be aware that NIOS is a very slow processor. The free one is staggeringly slow and inefficent. If this is a concern, use one of the SoC chips with built in ARM processor or write your algorithm in Verilog or VHDL. Almost any external micro will be faster than NIOS as well.