Professional Documents
Culture Documents
1 - Memory Unit - Flip-Flops (DLP-2021-22)
1 - Memory Unit - Flip-Flops (DLP-2021-22)
10/30/22
Sequential Circuits
Inputs Outputs
Combinational
Circuit
Flip-flops
Clock
Types of Triggering
•Level Triggering
•Edge Triggering
3
Latches
SR Latch
S R Q
S Q 0 0 Q=Q’=1 Invalid
0 1 1 Set
1 0 0 Reset
R Q 1 1 Q0 No change
Q Characteristic Table
S R Q(t) Q(t+1)
0 0 0 0
Q 0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
S R Q(t+1)
S Q 1 0 1 1
0 0 Q(t)
1 1 0 X
0 1 0
1 1 1 X
1 0 1 R Q
1 1 Invalid Characteristic Equation
Q(t+1) = S+ R’Q
JK Flip-flop
Characteristic Table
J K Q(t) Q(t+1)
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
J K Q(t+1)
J Q 1 0 1 1
0 0 Q(t)
1 1 0 1
0 1 0
1 1 1 0
1 0 1 K Q
1 1 Q’(t) Characteristic Equation
Q(t+1) = JQ’ + K’Q
10/30/22
D Flip-flop
D
D Q D Q(t+1)
0 0
Q 1 1
Characteristic Equation
Characteristic Table
Q(t+1) = D
D Q(t) Q(t+1)
0 0 0
D flip-flop is known as Data or Delay Flip-flop
0 1 0
D flip-flops are used in registers to store information
1 0 1
1 1 1
10/30/22
T Flip-flop
T J Q T Q T Q(t+1)
0 Q(t)
K Q Q 1 Q’(t)
Characteristic Table
Characteristic Equation
T Q(t) Q(t+1) Q(t+1) = T Q
0 0 0
0 1 1 T flip-flop is known as Toggle Flip-flop
1 1 0
10/30/22
Flip-Flop Excitation Tables
SR Flip-flop JK Flip-flop
Q(t) Q(t+1) S R Q(t) Q(t+1) J K
0 0 0 X 0 0 0 X
0 1 1 0 0 1 1 X
1 0 0 1 1 0 X 1
1 1 X 0 1 1 X 0
D Flip-flop T Flip-flop
Q(t) Q(t+1) D Q(t) Q(t+1) T
0 0 0 0 0 0
0 1 1 0 1 1
1 0 0 1 0 1
1 1 1 1 1 0
10/30/22
Flip-Flops with Direct Inputs
• Asynchronous Preset and Clear
Preset
11