CSE231 Lecture 6
CSE231 Lecture 6
CSE231 Lecture 6
Latches,
Flip-Flops After completing this lecture, students will be able to
• Use logic gates to construct basic latches
Applications
minimum clock pulse widths, and power dissipation in
the application of flip-flops
• Apply flip-flops in basic applications
Astable Having no stable state. An astable multivibrator oscillates between two quasi-
stable states.
Bistable Having two stable states. Flip-flops and latches are bistable multivibrators.
Clock The triggering input of a flip-flop.
D flip-flop A type of bistable multivibrator in which the output assumes the state of
the D input on the triggering edge of a clock pulse.
Edge-triggered flip-flop A type of flip-flop in which the data are entered and appear
on the output on the same clock edge.
Hold time The time interval required for the control levels to remain on the inputs to a
flip-flop after the triggering edge of the clock in order to reliably activate the device.
J-K flip-flop A type of flip-flop that can operate in the SET, RESET, no-change, and
toggle modes.
Latch A bistable digital circuit used for storing a bit.
Monostable Having only one stable state. A monostable multivibrator, commonly called a
oneshot, produces a single pulse in response to a triggering input.
One-shot A monostable multivibrator.
Preset An asynchronous input used to set a flip-flop (make the Q output 1).
Propagation delay time The interval of time required after an input signal has been
applied for the resulting output change to occur.
RESET The state of a flip-flop or latch when the output is 0; the action of producing a
RESET state.
SET The state of a flip-flop or latch when the output is 1; the action of producing a SET
state.
Set-up time The time interval required for the control levels to be on the inputs to a
digital circuit, such as a flip-flop, prior to the triggering edge of a clock pulse.
Synchronous Having a fixed time relationship.
Timer A circuit that can be used as a one-shot or as an oscillator.
Toggle The action of a flip-flop when it changes state on each clock pulse.
CSE231 Lecture 6 Page 3/31
Latch (NAND latch, NOR latch)
The latch is a type of temporary storage device that has two stable states (bistable)
and is normally placed in a category separate from that of flip-flops.
Latches are similar to flip-flops because they are bistable devices that can reside in
either of two states using a feedback arrangement, in which the outputs are
connected back to the opposite inputs.
The main difference between latches and flip-flops is in the method used for changing
their state.
Negative-OR
equivalent
of S R latch
The latch will not change until EN is HIGH; but as long as it remains HIGH, the output is
controlled by the state of the S and R inputs.
SOLUTION:
When S is HIGH and R is LOW, a
HIGH on the EN input sets the latch.
When S is LOW and R is HIGH, a
HIGH on the EN input resets the
latch.
When both S and R are LOW, the Q
output does not change from its
present state.
CSE231 Lecture 6 Page 8/31
Flip-Flops
An edge-triggered flip-flop changes state either at the positive edge (rising edge) or at
the negative edge (falling edge) of the clock pulse and is sensitive to its inputs only at
this transition of the clock.
Two types of edge-triggered flip-flops are: D and J-K.
The key to identifying an edge-triggered flip-flop by its logic symbol is the small
triangle inside the block at the clock (C) input. This triangle is called the dynamic input
indicator.
The D input of the D flip-flop is a synchronous input because data on the input are
transferred to the flip-flop’s output only on the triggering edge of the clock pulse.
When D is HIGH, the Q output goes HIGH on the triggering edge of the clock pulse,
and the flip-flop is SET.
When D is LOW, the Q output goes LOW on the triggering edge of the clock pulse, and
the flip-flop is RESET.
The maximum clock frequency (fmax) is the highest rate at which a flip-flop can be
reliably triggered. At clock frequencies above the maximum, the flip-flop would be
unable to respond quickly enough, and its operation would be impaired.
Minimum pulse widths (tW) for reliable operation are usually specified by the
manufacturer for the clock, preset, and clear inputs. Typically, the clock is specified
by its minimum HIGH time and its minimum LOW time.
The power dissipation of any digital circuit is the total power consumption of the
device. For example, if the flip-flop operates on a +5 V dc source and draws 5 mA of
current, the power dissipation is
When a pulse waveform is applied to the clock input of a D or J-K flip-flop that is
connected to toggle (D = Q or J = K = 1), the Q output is a square wave with one-half
the frequency of the clock input.
Thus, a single flip-flop can be applied as a divide-by-2 device.
Register