Finite-State Machines Flashcards

1
Q

Define: Mealy-type FSM

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define: Mooree-type FSM

A

Finite state machine whose output values are determined only by its current state.
->Action is performed when entering a state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Formal definition of FSM:

6-tuple

A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Formal definition of FSMD:
What does the FSMD stand for?
7-tuple

A

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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define: Synchonous FSM

A
  • FSM is time-triggered

- ->Transitions are performed at fixed period

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define: Asynchonous FSM

A
  • FSM is event-triggered

- ->Transitions are performed at certain conditions/Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is the sampling rate of a synchronous FSM limited?

A

Period of FSM must be smaller than MEST

MEST: Minimum Event Seperation Time
–>smallest time between any two input events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are Advantages of an FSM

A
  • Useful in all development phases
  • Allow simulation of modeled behaviour
  • Allow automatic code-generation (Not optimized)
  • Test cases and robustnes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly