DLD_Module_3-Sequential_circuit_design_Lecture-7
DLD_Module_3-Sequential_circuit_design_Lecture-7
Module-3
Latches
Flip flops
Flip flop conversions
Finite State Machine – design using mealy and Moore state machines
Sequence detectors and generators design
Shift Registers
Counters-synchronous and asynchronous counters
Ring and Johnson counters
Lecture-7
Textbooks
1. M.Morris Mano, Michael D Ciletti, Digital Design, 5th edition, Pearson Publishers, 2013.
2. R.P. Jain, “Modern Digital Electronics”, 4th edition, TMH.
References
1. M.Morris Mano, Charles R. Kime, Tom Martin, Logic and Computer Design Fundamentals, 4th edition,
Pearson Publishers.
2. C. H. Roth and L. L. Kinney, Fundamentals of Logic Design, 5th edition, Cengage Publishers.
Example:
Solution:
Step 1: (State table)
As the state table has two states A & B,
hence, two JK flip-flops will be used. The state
table with the JK flip-flop inputs as described
earlier in JK flip-flop excitation table is shown
Example:
Solution:
Step 1: (State table)
As the state diagram has a 3-bit
counter, hence, three T flip-flops
will be used. The state table with
the T flip-flop inputs as described
earlier in T flip-flop excitation table
is shown
Assert output whenever input bit stream has odd number of 1’s using the following state diagram.
Re se t
Ev en 0
[0]
1 1
Odd
[1]
0
State Diagram
Solution:
PI
0 1
PS Input 1 0 0 1 1 0 1 0 1 1 1 0
0
PO = PS Clk
1 1 1
Output 1 1 1 0 1 1 0 0 1 0 1 1
N
Coin Vending Gum
Sensor D Open
Machine Release
Reset FSM Mechanism
Clk
Solution:
0₹
N
5₹ D
Reuse states
N
whenever possible
D 10₹
N,D
15₹
[open]
DN DN DN
Q1Q0 00 01 11 10 Q1Q0 00 01 11 10 Q1Q0 00 01 11 10
00 X 1 00 1 X 00 X
01 1 X 1 01 1 X 1 01 X
11 1 1 X 1 11 1 1 X 1 11 1 1 X 1
10 1 1 X 1 10 1 X 1 10 X