Forum Discussion
Altera_Forum
Honored Contributor
14 years agoSimple State Machine not working as expected
Hi, guys! So, I'm new here. I'm a student whose lab professor gave him the following assignment. Translated from spanish to english, it reads like this: An electrical engine is controlled by a...
Altera_Forum
Honored Contributor
14 years agoYou can also use your state machine for debouncing but add extra interval of time. This could be simpler to control:
s0: detect push = 0, decide toggle, move to s1 s1: stay for some time ignoring key, then move to s0