Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFrom what I see in your schematic you can put the if statement inside the Stop_Cond_3 state.
You should also initialize all your variables somewhere. I guess setting them to 0 in the Idle state should do the trick.