Finite-State Machines Flashcards
Define: Mealy-type FSM
Finite state machine whose output values are determined both by its current state and the current inputs.
->Action is performed depending on states and transitions.
Define: Mooree-type FSM
Finite state machine whose output values are determined only by its current state.
->Action is performed when entering a state.
Formal definition of FSM:
6-tuple
S: set of states I: set of Boolean inputs O: set of Boolean outputs F: next-state (transition) function (A: S x I -> S) A: entry action function (A: S -> O) S0: initial state
Formal definition of FSMD:
What does the FSMD stand for?
7-tuple
FSM with Datapath Model
V: is a set of passed on variables
- > Its passed/changed on by F (exit) (S x I x V -> S)
- > Its changed by A (entry) (S -> O + V)
Define: Synchonous FSM
- FSM is time-triggered
- ->Transitions are performed at fixed period
Define: Asynchonous FSM
- FSM is event-triggered
- ->Transitions are performed at certain conditions/Events
How is the sampling rate of a synchronous FSM limited?
Period of FSM must be smaller than MEST
MEST: Minimum Event Seperation Time
–>smallest time between any two input events
What are Advantages of an FSM
- Useful in all development phases
- Allow simulation of modeled behaviour
- Allow automatic code-generation (Not optimized)
- Test cases and robustnes