MODULE 4 Embedded Systems FSM
MODULE 4 Embedded Systems FSM
system under study poses a problem) ] and the use of state machines
is one of the oldest and best known. State machines allow
us to think about the “state” of a system at a particular
point in time and characterize the behavior of the system
based on that state.
The use of this modeling technique is not limited to the
development of software systems.
In fact, the idea of state-based behavior can be traced
back to the earliest considerations of physical matter. For
example, H2O can exist in 3 different states easily
observable in nature:
• [State 1 ] solid (ice)
(application of heat)
• [State 2 ] liquid (water)
(application of heat)
• [State 3 ] gaseous (steam, fog, clouds).
• (application of heat)
• ???? [State 3 ] gaseous (steam)
• (application of freeze)
• [State 3 ] gaseous ( fog, clouds).
• (application of freeze)
• [State 2 ] liquid (water)
• (application of freeze)
• [State 1 ] solid (ice)
• (application of freeze)
• ????[State 1 ] solid (ice)
0 1 1 1 0
0 0 0 1 0
1 0 0 0 1
1 1 1 0 1