Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHelp with state machines in eclipse (NIOS II)
How can i initalise the states and cause this state machine of 3 states to work effectively. My code if found below: # include <stdio.h># include <io.h># include <system.h># include <alt_type...
Altera_Forum
Honored Contributor
12 years agoYou'll have to define a bit better "work effectively". A problem I see in your code though is that you don't give an initial value to the state variable. You should uncomment one of the three lines that do that.