Sequential Circuits Analysis, State-Minimization, Assignment and Circuit Implementation
Sequential Circuits Analysis, State-Minimization, Assignment and Circuit Implementation
Sequential Circuits Analysis, State-Minimization, Assignment and Circuit Implementation
Lesson 1
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Outline
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Flip-Flop States
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Outline
Flip Flops
General sequential circuit
Synchronous Sequential circuit
Asynchronous sequential circuit
Clocked sequential circuit
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
External Inputs X
and Present state Q as input to a
combinational circuit
Q are always the inputs to the
combinational circuit
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
10
Present
state
X0...Xi1
X
Q0
m- FFs
Q
Memory ...
Section Qm1
Combinational Y0
...
Circuit
Yj1 Y
Next
state
Feedback
Y0...Yj
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
11
Outline
Flip Flops
General sequential circuit
Synchronous Sequential circuit
Asynchronous sequential circuit
Clocked sequential circuit
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
12
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
13
Sequential Q0
Q
...
Circuit
Qm1
Change to next
Y
state Q and Y
Y0...Yj1 at clock input
instances only
Clocking
instances
X0...Xp1
External
Inputs
state
X
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
14
Outline
Flip Flops
A general sequential circuit
Synchronous Sequential circuit
Asynchronous sequential circuit
Clocked sequential circuit
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
15
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
16
Sequential Q0
Q
...
Circuit
Qm1
state
Change to next
Y
state Q and Y
Y0...Yj1 at undefined
instances
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
17
Outline
Flip Flops
A general sequential circuit
Synchronous Sequential circuit
Asynchronous sequential circuit
Clocked sequential circuit
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
18
19
Sequential Q0
Q
...
Circuit
Qm1
Change to next
Y
state Q and Y
Y0...Yj1 at clock input
instances only
X0...Xp1
External
Inputs
Present
state
X
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
20
Outline
Flip Flops
A general sequential circuit
Synchronous Sequential circuit
Asynchronous sequential circuit
Clocked sequential circuit
Moore and Mealy Machines
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
21
State Machine
A sequential circuit can also be considered
as a machine producing states after
undergoing sequential transitions
Instances of Sequence change can be guided
by the clock inputs in synchronous
sequential circuits
Instances of Sequence change is not guided
in asynchronous sequential circuits
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
22
Y0...Yj1
Moore
Machine
Q0
m- FFs
Q
Memory ...
Section Qm1
Combinational Y0
Present Circuit
...
state
Yi1 Y
Next
state
Feedback
Y0...Yj1
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
23
Y0...Yj1
Q0
m- FFs
Q
Memory ...
Section Qm1
Mealy
Machine
Present
Combinational Y0
state
...
Circuit
Yj1 Y
X0...Xi1
X
Next
state
Feedback
Y0...Yj
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
24
Moore Machine
Q = FQ (Q) [Next state outputs Q are the
function of past state as the present inputs
at a clocking instance.] and Y = FQ (Q) [Y
is a function of present state outputs Q
before the clocking instance.]
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
25
Mealy Machine
Q = FQ (X, Q) [Next state outputs Q are
the function of past state Q and present
external inputs at a clocking instance.] and
Y = Fo (Q) [Y is a function of present state
outputs Q before the clocking instance.]
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
26
Moore-Mealy Conversion
Any sequential circuit for the Y can be
designed as Mealy machine as a Moore
machine can be converted to a Mealy
machine by using appropriate set of (X, Q,
FQ, FY). Similarly any sequential circuit for
the Y can be designed as Moore machine as
a Mealy machine can be converted to a
Moore machine by using appropriate set of
(Q, FQ, FY).
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
27
Summary
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
28
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
29
30
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
31
End of Lesson 1 on
General Sequential Circuit with the
memory section and combinational
circuits at input and output stages
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
32
THANK YOU
Ch15L1- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
33