Basics |
Case study: Alarm State Machine
In this chapter, we will design an Alarm Circuit based on a Finite State Machine (FSM). This example of conception can be adapted to many other State Machine you would like to do.
State MachineA state machine is a model of behavior composed of states, transitions between these states, and actions. In our example, we will have 3 states:
We have two actions (outputs) in our system:
Many events (inputs) can appear:
The relations between states and transitions are shown on this graph:
We have to build an electronic circuit which functions this way.
|