Finite State Machine
Finite State Machine
FPGA
Introduction
Finite State Machine is any device storing a state of something at a given time. The
state will change based on inputs, providing the resulting output for the implemented
changes.
….. Important Points Here
1. Coin-operated turnstile
states:
• locked, unlocked.
Transition:
• pointing a coin in the slot will unlock the turnstile, pushing the arm of the
unlocked turnstile will let the costumer pass and lock the turnstile again.
… continued
2. Traffic Light
states
• Red, Yellow, Green.
Transitions:
• after a given time, red will change to green, green to yellow, and yellow to
red.
… continued
3. A Safe
state:
• multiple 'locked' states, one 'unlocked' state.
Transitions:
• correct combinations move us from initial locked state to locked states closer
to the unlocked state, until we finally get to the unlocked state. incorrect
combinations land us back in the initial locked state.