Beruflich Dokumente
Kultur Dokumente
Clock
Clock
aa periodic
periodic external
external event
event (input)
(input)
Clock
Comparison b/w combinational & sequential logic circuits.
combinational sequential
The output variables are at all times The output variables dependent not only on
dependent on the combination of input present input variables but also depend
variables upon the past information
Memory unit is not required Memory unit is required to store the past
information
Faster in speed , because the delay b/w Slower than the combinational circuits
input & output is due to propagation delay of
logic gates
These are easy to design These circuits are comparatively harder to
design
It does not have a clock signal It may or may not have a clock signal . Most
sequential circuits have a clock signal
Eg: Adders , subtractors , MUX, DEMUX……… Eg: flip-flops ,counters , shift registers
Classification of sequential logic circuits
(depending on timing of their signals)
Synchronous Asynchronous
The change in input signal can The change in input signal can
effect memory element upon effect memory element at any
activation of clock signal instant of time.
0 0 0 0 1 NO
CHANGE
1 1 0
0 1 0 0 1
RESET
1 0 1
1 0 0 1 0
SET
1 1 0
1 1 0 0 0 INDETER
MINATE
1 0 0
S R Q Q’
S-R Latch with NANDs(ACTIVE
0 0 1 1 Disallowed
LOW):
0 1 1 0 Set
S 0 1 Reset
Q 1 0
1 1 0 1 Store
1 0
Q’
R
0 0 0 1 1 INDETERM
INATE
1 1 1
0 1 0 1 0
SET
1 1 0
1 0 0 0 1
RESET
1 0 1
1 1 0 0 1 NO
CHANGE
1 1 0
S-R Latches
S-R Latch with control input
Triggering in flipflops
• Level triggering (in latches)
– Positive level triggering
– Negative level triggering
• Flipflops:
– Pulse triggering (+ve & -ve)
– Edge triggering (+ve & -ve)
0 X X X Qn no change
1 0 0 0 0 no change
1 1 1
1 0 1 0 0
RESET
1 1 0
1 1 0 0 1
SET
1 1 1
1 1 1 0 x INDETER
MINATE
1 1 x
CHARACTERISTIC TABLE
S R Qn+1
0 0 Qn
0 1 0
S
SR 1 0 1
00 01 11 10
Q( t )
1 1 ?
0 0 0 X 1
EXCITATION/APPLICATION TABLE
1 1 0 X 1
Qn Qn+1 S R
R 0 0 0 X
Characteristic Equation: 0 1 1 0
Q+ = S + R’ Q 1 0 0 1
1 1 X 0
D-Latch C D Q
0 x No change
1 0 0
1 1 1
CP Q’
2
4
5
TRUTH TABLE
CLOCK D Qn Qn+1 STATE
(enable) EXCITATION/APPLICATIO
N TABLE
Qn Qn+1 D
0 X X Qn no
change 0 0 0
1 0 0 0 0 1 1
RESET
1 1 0 1 0 0
1 1 0 1 1 1 1
SET
1 1 1 CHARACTERISTIC TABLE
D D Qn+1
Q 0 1
0 0 1 0 0
1 0 1 1 1
Q+ = D
Clocked J-K Flip Flop
TRUTH TABLE
0 X X X Qn Qn’ no
change
1 0 0 0 0 1 no
change
1 1 1 0
1 0 1 0 0 1
RESET
1 1 0 1
1 1 0 0 1 0
SET
1 1 1 0
1 1 1 0 1 0 TOGGLE
STATE
1 1 0 1
Asynchronous Inputs
Master-Slave Edge-Triggered Flip-Flop
QM
D Q
Master Slave
Latch Latch
CLK 2 x 8 = 16 Transistors
CLK
CLK
QM
Q
CONVERSION OF FLIPFLOPS
1)SR FLIPFLOP TO D-FLIPFLOP:
INPUT(D) PRESENT NEXT FLIP FLOP INPUTS
STATE(Qn) STATE(Qn+1) S R
0 0 0 0 1
0 1 1 1 0
1 0 0 1 0
1 1 1 0 1
S=D
R=D’
2)SR-FLIPFLOP TO JK-FLIPFLOP:
J K Qn Qn+1 S R
0 0 0 0 0 x
1 1 x 0
0 1 0 0 0 x
1 0 0 1
1 0 0 1 1 0
1 1 x 0
1 1 0 1 1 0
1 0 0 1
R Q Q R = K + Qn
K
S = J + Qn’
J S Q Q
clk
3)D flipflop to JK Flip-Flop
J K Qn Qn+1 D
0 0 0 0 0
1 1 1
0 1 0 0 0
1 0 0
1 0 0 1 1
1 1 1
1 1 0 1 1
1 0 0
D = K’ Qn + J Qn’
D flipflop to JK Flip-Flop
Q
D
K
Latch
Q
CLK
4)Toggle Flip-Flop from D-flipflop
• Toggles stored value if T = 1 when CLK is high
Q
T D
Latch
CLK
T Qn Qn+1 D D = T Q(t)
0 0 0 0
1 1 1
1 0 1 1
1 0 0