Digital Lesson 5 Part 1
Digital Lesson 5 Part 1
Digital Electronics
DIE-221
Positive edge
triggered
Flip-flop changes
state at the rising
edge of the clock
pulse
FLIP-FLOPS
Negative edge
triggered
Flip-flop changes
state at the falling
edge of the clock
pulse
THE EDGE-TRIGGERED S-R FLIP-
FLOP
THE EDGE-TRIGGERED S-R FLIP-
FLOP
• The S and R inputs of the S-R flip-flop are called
synchronous inputs because data on these inputs are
transferred to the flip-flop’s output only on the
triggering edge of the clock pulse.
• When S is HIGH and R is low, the Q output goes HIGH
on the triggering edge of the clock pulse and the
device is SET. When S is LOW and R is HIGH, the Q
output goes LOW on the triggering edge of the clock
pulse, the device is RESET.
THE EDGE-TRIGGERED S-R FLIP-FLOP
• When both inputs are LOW the output does not change
from its prior state. It is an invalid condition if both
inputs are HIGH.
• The operation of the negative and positive edge-
triggered devices is the same
TRUTH TABLE FOR EDGE TRIGGERED FLIP-FLOP
EXERCISE
• Determine the 𝑄 𝑎𝑛𝑑 𝑄 ′ output waveforms of the flip-flop shown
for the S, R and clock inputs shown in figure below. Assume
that the positive edge-triggered flip-flop is initially RESET.
SOLUTION
THE EDGE-TRIGGERED D FLIP-FLOP
• A positive edge-triggered D Flip-Flop is formed with
an S-R flip-flop and an inverter.
• The inverter ensures that the inputs are
complementary.
• The D flip-flop is useful when a single data bit (0 or 1)
is to be stored.
• Basically Q follows D on the triggering edge of the
clock
THE EDGE-TRIGGERED D FLIP-FLOP
THE EDGE-TRIGGERED D FLIP-FLOP
• When D is HIGH, the output ‘Q’ goes HIGH at the
triggering edge of the clock pulse and the flip-flop is
SET.
• Likewise, when the D input is LOW, the output ‘Q’
goes LOW at the triggering edge of the clock pulse
and the flip-flop is RESET
THE EDGE-TRIGGERED D FLIP-FLOP
EXERCISE
Determine the 𝑄 𝑎𝑛𝑑 𝑄′ output waveforms of the flip-flop
shown for the given CLK and D inputs assuming the
positive edge-triggered flipflop is initially RESET.
Determine the 𝑸 𝒂𝒏𝒅 𝑸′ for the D input if the flipflop
is a negative-edge-triggered device
SOLUTION
Determine the 𝑄 𝑎𝑛𝑑 𝑄′ output waveforms of the flip-flop
shown for the given CLK and D inputs assuming the
positive edge-triggered flipflop is initially RESET.
Determine the 𝑸 𝒂𝒏𝒅 𝑸′ for the D input if the flipflop
is a positive-edge-triggered device
THE EDGE-TRIGGERED JK FLIP-
FLOP
• The J – K flip flop is versatile and widely used flip flop.
• The function of J – K flip flop is identical to that of the
S-R flip flop in the SET, RESET, and no-change of
state conditions of operation.
• The difference is that J - K flip-flop has no invalid state
as does the S – R flip-flop.
THE EDGE-TRIGGERED JK FLIP-
FLOP
• When both J and K are LOW, the output does not
change from its prior state, but toggles when J and K
are both HIGH
• J and K labels are in honor of Jack Kilby
THE EDGE-TRIGGERED JK FLIP-
FLOP