EEE 241 - Lecture 27 & 28
EEE 241 - Lecture 27 & 28
• Analysis:
• Describes what a given circuit will do under certain operating conditions
• Behavior of the cct. is determined from:
• Inputs,
• Outputs
• State of its F/Fs.
• O/p and next states are determined from:
• Inputs
• Present state of its F/Fs.
• Analysis consists of obtaining:
• Table (State Table)
• Diagram (State Diagram)
• Boolean expressions (State Equations)
• for time sequence of inputs, outputs, and internal states
Analysis of Clocked Sequential Circuits
• The State
• State = Values of all Flip-Flops
Example x
D Q A
AB=00
D Q B
CLK Q
y
Analysis of Clocked Sequential Circuits
• State Equations
x
D Q A
A(t+1) = DA
= A(t) x(t)+B(t) x(t) Q
=Ax+Bx
B(t+1) = DB D Q B
= A’(t) x(t)
= A’ x CLK Q
1 0 0 0 0 1
1 0 1 1 0 0
1 1 0 0 0 1
A(t+1) = A x + B x
1 1 1 1 0 0 B(t+1) = A’ x
y(t) = (A + B) x’
t t+1 t
Analysis of Clocked Sequential Circuits
t t+1 t A(t+1) = A x + B x
B(t+1) = A’ x
y(t) = (A + B) x’
Analysis of Clocked Sequential Circuits
State Diagram
Present Next State Output
State x=0 x=1 x=0 x=1
AB input/output A B A B A B y y
0 0 0 0 0 1 0 0
0 1 0 0 1 1 1 0
0/0 1/0
1 0 0 0 1 0 1 0
0/1 1 1 0 0 1 0 1 0
00 10
x
D Q A
0/1 Q
1/0 0/1 1/0
D Q B
CLK Q
01 11
y
1/0
Analysis of Clocked Sequential Circuits
• D Flip-Flops
Example:
x D Q A
Present Next y
Input
State State CLK Q
A x y A
0 0 0 0
0 0 1 1 A(t+1) = DA = A x y
0 1 0 1
0 1 1 0
1 0 0 1 01,10
1 0 1 0
00,11 0 1 00,11
1 1 0 0
1 1 1 1 01,10
Analysis of Clocked Sequential Circuits
J Q A
• JK Flip-Flops
Example: x K Q