Professional Documents
Culture Documents
ITBP205 Digital Design and Computer Organization: Unit 8 Sequential Circuits Analysis
ITBP205 Digital Design and Computer Organization: Unit 8 Sequential Circuits Analysis
ITBP205 Digital Design and Computer Organization: Unit 8 Sequential Circuits Analysis
Unit 8
Sequential Circuits Analysis
Outline
State Table
State Diagram
2
Definition
• State • Flip-flops (FFs) output combination
3
How do you analyze a circuit?
For a sequential circuit, the outputs depend upon not only the
inputs, but also the current state of the flip-flops.
• Numb
er of •2 Number of inputs + number of FFs
Rows
5
Example
• Analyze the following sequential circuit
Number of outputs: 1 Z
X K1 CLR Q1 X
Number of flip flops: 2 Q0
Number of States: X J2
SET
Q2
4 Q1
Number of rows: 22 + 1 = 8
X' K2 CLR Q2
Number of Columns:
CLK
1 + 1 + 2 x 2 + 2 x 2 = 10
X' J1
SET
Q1
Z = Q1.Q0.X Q0
Z
J1 = Q0.X' X K1 CLR Q1 X
Q0
K1 = Q0 + X
X J2
SET
Q2
Q1
J0 = Q1 + X
K0 = X’ X' K2 CLR Q2
CLK
X' D1
SET
Q1
Q0
CLR Q1
Z
X
X D
T2
SET
Q2
Q1
CLR Q2
CLK
9
State Diagram
• The information in the state table can be
represented graphically in a state diagram
• Each state is represented by a node in the diagram
• The edges in the diagram represent the transitions
between the states
• If there are n flip-flops, there should be 2n nodes in
the diagram.
• If there are m inputs, then each node will have 2m
outgoing edges from each node.
• Different diagrams for Mealy and Moore Circuits
10
1/1
0/0 11
0 1
1
00 1 01 0 10 0 11
0 0 0 1
1
0 12