DL Unit 6 - Flip-Flops
DL Unit 6 - Flip-Flops
INSTITUTE OF ENGINEERING
THAPATHALI CAMPUS
Logic Circuit-EX-502
Unit 6: Flip-Flops
Presented By
Er. Ganesh Kumal
Department of Electronics & Computer Engineering
IOE ,Thapathali Campus
5 June, 2023
Contents
6.1. RS Flip‐Flops
6.2. Gated Flip‐Flops
6.3. Edge‐Triggered RS Flip‐Flops
6.4. Edge Triggered D Flip‐Flops
6.5. Edge Triggered J K Flip‐Flops
6.6. Flip‐Flop Timing
6.7. J K Mater‐ Slave Flip‐Flops
6.8. Switch Contacts Bounds Circuits
6.9. Various Representation of Flip‐Flops
6.10. Analysis of Sequential Circuits
Sequential circuit
• Combinational circuit with feedback element (memory).
• Outputs depend upon present inputs and previous outputs (present
states).
When,
S=0, R=0 ; No change state
S=0, R=1 ; Reset
S=1, R=0 ; Set
Figure 6.2: NOR Latch S=1, R=1; Invalid
Edge Triggering
Level Triggering
Prepared By: Er. Ganesh Kumal 9
Flip-Flop
• Sequential circuit.
• Single bit memory element (storage device).
• Bi-stable device (either ‘1’ or ‘0’).
• Example: S-R flip-flop, D-flip-flop, J-K flip-flop, Master-Slave Flip-Flop
and T-flip-flop.
CP S R Q Q’
CP
X 0 0 No change
1 0 1 0 1
(a) Block diagram
1 1 0 1 0
1 1 1 Invalid
Indeterminate
Indeterminate
CP J K Q Q’
X 0 0 No change
CP 1 0 1 0 1
1 1 0 1 0
1 1 1 Toggle
(a) Logic diagram (b) Truth table
Figure 6.7: J- K Flip - Flop
Prepared By: Er. Ganesh Kumal 18
J-K Flip-Flop
1 1 0 1 1 0 1 0 0 1 0
1 1 1 0 0 1
R = KQ(t)
Prepared By: Er. Ganesh Kumal 28
S
X 1
1
K=T
Prepared By:Figure:
Er. GaneshTKumal
flip-flop by J-K flip-flop 30
D Flip-Flop to S-R Flip-Flop
Given flip-flop = D SR
Desired flip-flop = S-R 00 01 11 10
Q(t)
0 0 0 X 1
Conversion Table
S-R Inputs P.S N.S D F/F input 1 1 0 X 1
S R Q(t) Q(t + 1) D
D = S + R’Q(t)
0 0 O 0 0
0 0 1 1 1
0 1 0 0 0
0 1 1 0 0
1 0 0 1 1
1 0 1 1 1
1 1 0 Invalid X
1 1 1 Invalid X