Fundamentals of Flipflops
Fundamentals of Flipflops
FLIP FLOPS
(Sequential Circuits)
By:
Chapter's Summary
Flip-Flops
- Types Of Flip Flops: SR Flip-Flop,
Clocked SR Flip-Flop, T Flip-Flop and JK
Flip-Flop.
- Symbols
Symbols, Truth Tables and Timing.
- T Flip-Flops and D Flip-Flops
built using JK Flip-Flops.
4.0 Introduction
Sequential Circuits
Inputs
Normal output
Inverted Output
SR Flip Flop
a. SR Flip Flop Active Low = NAND gates
b. SR Flip Flop Active High = NOR gates
2.
3.
4.
5.
6.
10
Figure 4.1.1:
SR Flip Flop logic
Symbol
11
12
13
Normal Resting
State Figure 4.1.4.a
1
0
0
1
1
14
Figure 4.1.4.b
Input, S = 0, R = 1
This will set Q = 1.
It works in SET mode
operation.
15
Figure 4.1.4.c
Input S = 1, R = 0
This will reset Q = 0.
It works in RESET mode
operation.
16
Figure 4.1.4.d
1
17
S R Q Q
STATUS
0 1 1
INVALID
1 1 0
SET
0 0 1
RESET
1 Q Q
HOLD
(NoChange)
18
S
R
Q
Exercise 4.1.1:
Determine the output of NAND
gate latch which Q initially 1 for
the given input waveforms.
S
R
Q
Q
Q
19
20
21
Since the two outputs should be inverse of each other. If the inputs
are returned to 1 simultaneously, the output states are unpredictable.
This input condition should not be used and when circuits are
constructed, the design should make this condition
SET=RESET = 1 never arises.
22
S R Q Q
_
0 0 Q Q
0 1 0 1
1
0 1 0
1 0
STATUS
HOLD
(NoChange)
RESET
SET
INVALID
23
24
25
Disable
26
27
S R Q Q
_
0 0 Q Q
STATUS
0 1 0 1
RESET
1 0 1 0
SET
1 1 0 0
INVALID
HOLD
(NoChange)
28
Cp
Cp
29
30
31
32
Cp
33
34
J K Q Q
_
0 0 Q Q
HOLD
(No Change)
RESET
1 0 0 1
SET
1 1
STATUS
0 1 1 0
_
Q Q
Toggle
35
Clk
J
K
Q
36
Exercise 4.3.2
4.3.2:Determine the output
of PGT clocked JK flip flop for the
given input waveforms which the
Q initially 0.
Cp
Cp
37
This flip flop can also have other inputs called Preset
(or SET) and clear that can be used for setting the flip
flop to 1 or resetting it to 0 by applying the appropriate
signal to the Preset and Clear inputs.
38
39
Example 4.4.2 : The output of clocked JK flip flop which output initially 0
for the given input waveforms.
Cp
Preset
Clear
J
K
Q
Q
40
41
clock
Q Q
Q Q
Q Q
status
HOLD
TOGOL
42
T
T
Cp
Figure
43
Clk
T
Q
Q
44
Cp
Cp
45
Figure 4.6.1 :
46
PGT
NGT
Positive Edge
Q
D
Negative Edge
Q
D
D
Flip Flop
D
Flip Flop
Clk
Clk
Figure 4.6.2 : D Flip flop symbol using JK Flip Flop / SR Flip Flop
47
status
RESET
SET
clock
Cp
48
Cp
Cp
D
D
49
50
References
1. "Digital Systems Principles And Application"
Sixth Editon, Ronald J. Tocci.
2. "Digital Systems Fundamentals"
P.W Chandana Prasad, Lau Siong Hoe,
Dr. Ashutosh Kumar Singh, Muhammad
Suryanata.
Download Tutorials EE202 @ CIDOS
http://www.cidos.edu.my
The END.
Review Chapter Flip flop
by Lecturer
52