Professional Documents
Culture Documents
Chp5 FlipFlop Part2
Chp5 FlipFlop Part2
1. Introductory Concepts
2. Numbering Systems
3. Boolean Algebra
4. Combinational Logic
5. Flip-Flops – Part 2
6. Arithmetic Circuit
7. Counters & Shift Registers
8. Logic Families
D CLK Q
D Q
0 0
CLK Q 1 1
D CLK Q
D Q
0 0
CLK Q 1 1
Q follows D at NGT
or PGT
CLK
Q ‘1’
First, draw upward
arrows on PGT, and lines
through them
CLK
Q ‘1’
CLK
Q ‘1’
CLK
Q ‘1’
D J Q Q
CLK CLK
K Q Q
J
D K CLK Q
0 0 No change Just requiring K to be
Opposite of D, so that it
1 0 1 will help to do J=1, K=0
OR J=0, K=1
0 1 0
1 1 Q0 THUS SETTING SET OR
CLEAR USING ONLY D
EN
Q ‘0’
First, draw lines through
transitions of EN When EN is 1, it will follow D.
waveform When EN is 0, it will remain the
same state as before !!
EN
Q ‘0’
EN
Q ‘0’
EN
Q ‘0’
CLK
or EN
D
D Q Qck
Qck
CLK Q
D Q Qen Qen
EN Q
CLK
or EN
D
D Q Qck
Qck
CLK Q
D Q Qen Qen
EN Q
SYNCHRONOUS ASYNCHRONOUS
Output can change Outputs can change
state only when the state any time when
clock makes an active one or more inputs
transition change
K Q
the FF operates under the
Clear
control of J, K and clock.
This is known as clocked
operation
CLK
+5V
Preset
J Preset Q
CLK Clear
K Q
Clear
Q ‘1’ First, draw downward
arrows on NGT, and lines
through them. Also lines
through transitions of Preset
& Clear
CLK
+5V
Preset
J Preset Q
CLK Clear
K Q
Clear
Q ‘1’
+5V
CLK
Preset
J Q
Preset
CLK
Clear
K Q
Clear
Q ‘1’
+5V
CLK
Preset
J Q
Preset
CLK
Clear
K Q
Clear
Q ‘1’
+5V
CLK
Preset
J Q
Preset
CLK
Clear
K Q
Clear
Q ‘1’
+5V
CLK
Preset
J Q
Preset
CLK
Clear
K Q
Clear
Q ‘1’
Synchoronous
50%
Control input
Clock input
50%
CLK CLK
50% 50%
50% 50%
Q
Q
tPLH tPHL
T = Period
fMAX = 1 / T MIN
CLK
tW(H) tW(L)
tR
tF
tW(Clear) /
tW(Preset)
TTL CMOS
7474 74LS112 74C74 74HC112
tS 20 20 60 25
tH 5 0 0 0
tPHL – from CLK to Q 40 24 200 31
tPLH– from CLK to Q 25 16 200 31
tPHL – from /CLR to Q 40 24 225 41
tPLH– from /PRE to Q 25 16 225 41
tW(L) – CLK LOW time 37 15 100 25
tW(H) – CLK HIGH time 30 20 100 25
tW(L) – at /PRE or /CLR 30 15 60 25
fmax – in MHz 15 30 5 20
sequential circuits
A
X
B
D Q Q1=X
CLK
Q
X
Y
Combinational D Q Q2=Y
Z
Logic Circuit
CLK
Q
Outputs may
change at Q3=Z
different time D Q
CLK
Q
On NGT, X, Y, Z is
transferred to Q
1 J A 1 J B 1 J C
CLK CLK CLK
1 K /A 1 K /B 1 K /C
1 J A 1 J B 1 J C
CLK CLK CLK
1 K /A 1 K /B 1 K /C
1 J A 1 J B 1 J C
CLK CLK CLK
1 K /A 1 K /B 1 K /C
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
CLK
1 J A 1 J B 1 J C
CLK CLK CLK
1 K /A 1 K /B 1 K /C
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
CLK
1 J A 1 J B 1 J C
CLK CLK CLK
1 K /A 1 K /B 1 K /C
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
CLK
1 J A 1 J B 1 J C
CLK CLK CLK
1 K /A 1 K /B 1 K /C
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
CLK
CLK
LSB
A 0 1 0 1
0 0 1 1
B
MSB 0 0 0 0
C
101
011
100
1 J A 1 J B 1 J C 1 J D
CLK CLK CLK CLK
1 K /A 1 K /B 1 K /C 1 K /D
K /Q I am a Astable
Q
T
multivibrator
Q (Oscillator), I
have No stable
RT CT state.
RT CT
T
d and f WOULD NOT
RE-EXTEND THE tp !!!
Q tp
tp tp
Notice that even
though Q is already
‘1’, it can still
response to further
trigger
Q tp tp tp
Q
tp tp tp
Narrowing wide pulse (BOTH)
Lo Lo
Output has
5V
VT+ clean
i/p
transition,
0V independen
VT-
t of rate of
5V input
o/p
0V transition.