1a. State diagram
Consider input sequences
3 nickels
nickel, dime
dime, nickel
two dimes
Draw state diagram
Assume Moore machine
Inputs: N, D, reset
Output: Open
S0
Reset
N
S1
S2
S3
S4
S5
S6
S7
N
N
N
D
D
D
[open]
[open]
[open]
[open]
S8
[open]
D
Simple diagram shows
(a) state transitions
(b) changes in output
Previous slide
Next slide
Back to first slide
View graphic version