Unit-4 (STLD) Lecture2
Unit-4 (STLD) Lecture2
Unit-4 (STLD) Lecture2
LOGIC DESIGN
Lecture-2 UNIT-iv
Basic flip-flops
V. KUMARA SWAMY,
BE(ECE), MTECH(DSCE), [Ph.D], MIEEE
ASSOC.PROF & ASSOC.HoD
Dept of ECE
Contents Covered in the last class
Classification
of sequential circuits (Synchronous,
Asynchronous Pulse mode, and Level mode with
examples).
Latches
• S’R’ Latch.
• SR Latch with Clock Signal.
• Gated D-Latch.
Contents to be Covered Today
Basic flip-flops.
• SR Flip-Flop
• D- Flip-Flop
• JK-Flip-Flop
• T-Flip-Flop
Memory Devices
INPUTS
Q’ INVERTED OUTPUT
1 1 Qn Qn
Qn Qn
1 0 1
0
1 0
0 1
1
1 0 n+1 n+1
0 Qn Qn
Qn Qn
0 0 1
1 0
1
0 1
1 0
1
1 1
n+1 n+1
0 Qn Qn
Qn Qn
1 0 1
1 0
1 Prohibited
1 0
0 1
1
1
1
1
1
1
1
D-Flip Flop using NAND Gates
1 0 1
0
1
0 1
Truth Table
1 1 0
Truth
Table:
D-Flip Flop using NAND Gates
0 1 0
1
1
1 1
Truth Table
0 0 1
Truth
Table:
D FLIP-FLOP
• Make S and R complements of each other
–Eliminates 1s catching problem
–Value of D just propagated to output of the flip-flop with
PD.
–D FF is most commonly used in registers, and memory
devices.
JK Flip Flop using NAND gates
0 1 0
0 1
1
1
0 1 0 1
1
1
0 0 1
1
1
0 0 1
1
Clk J K Qn+1 Qn+1
1 X X Qn Qn
0 0 Qn Qn
1
1 0 0
0
1 0 1 0
1 1 0
0
0
1 1 0
1
1
1
0 1
0
1 1 1 Qn Qn
T FLIP-FLOP
TRUTH TABLE
What is meant by race around condition?