Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow to set Idle state ?
Hello, I'm a new user so be gentle :) I need to create an Idle state, I have ISR called by the clock every 1 ms, and I need to get rid of the for(;;) loop in the main function this is my...
Altera_Forum
Honored Contributor
15 years agoThere is no idle state for NIOS by default.
But I think you can write your own small slave component which stalls the NIOS by holding the WAITREQUEST and therefore blocks the bus. You can wake it up again, in case of an interrupt (e.g. Timer). My colleague told me about it. I think there must be some older threads on this subject in the forum. I didn't do it on my own. I just know that it is possible and that it's saving power in fact.