ECE 301 - Digital Electronics: Sequential Logic Circuits: FSM Design
ECE 301 - Digital Electronics: Sequential Logic Circuits: FSM Design
ECE 301 - Digital Electronics: Sequential Logic Circuits: FSM Design
FSM Design
Moore Machines
Input:
011101011011101
Output:
000100000000100
State Diagram
QA
QB
QA+
QB+
State Table
ECE 301 - Digital Electronics 7
The choice of Flip-Flop determines the complexity of the combinational logic required in the design of the state machine.
SR Flip-Flop
JK Flip-Flop
Q+ = S + R'.Q
Q+ = J.Q' + K'.Q
D Flip-Flop
T Flip-Flop
Q+ = D
Q+ = T '.Q + T.Q'
QA
QB
Q A+
QB+
DA
DB
Q+ = D
next state flip-flop input
10
11
QB Q'B
12
13
Excitation Table
14
Q+ = J.Q' + K'.Q
next state flip-flop inputs
15
16
Q'A
QB
Q'B
17
Input (w): 0 0 0 1 0 1 0 1 1 0 1 1 0 1 1
Output (z): 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0
19
State Diagram
End State
20
Input (w): 0 0 0 1 0 1 0 1 1 0 1 1 0 1 1
Output (z): 0 0 0 0 0 1 0 1 0 0 1 0 0 1 0
22
State Diagram
End State
23
Input (w): 0 1 0 0 1 1 0 1 0 1 1 1 0 1 1
Output (z): 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0
25
State Diagram
26
Acknowledgments
The slides used in this lecture were taken, with permission, from those provided by Pearson Prentice Hall for Digital Design (4th Edition). They are the property of and are copyrighted by Pearson Education.
27