Floyd Chapter 7 Latches, Flip - Flops and Timers

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 24

Latches, Flip-Flops,

and Timers
By Ali Abdulnabi
Introduction
 Sequential logic circuits are digital circuits that store
and use the previous state information to determine
their next state.
 They are commonly used in digital systems to
implement timers, counters, and memory elements
and are essential components in digital systems
design.
Combinational circuit vs sequential
circuit
 One of the applications of sequential circuits are
multivibrators.
 A multivibrator is an electronic circuit used to implement
a variety of simple two-state devices such as relaxation
oscillators, timers, latches and flip-flops.
 The three types of multivibrator circuits are:

1- Astable multivibrator: in which the circuit is not


stable in either state —it continually switches from one
state to the other. It functions as a relaxation
oscillators.
2- Monostable multivibrator, in which one of the states
is stable, but the other state is unstable (transient). A
trigger pulse causes the circuit to enter the unstable
state. After entering the unstable state, the circuit will
return to the stable state after a set time. This circuit is
also known as a one shot.
3- Bistable multivibrator, in which the circuit is stable in
either state. It can be flipped from one state to the other
by an external trigger pulse. This circuit is also known as
a flip-flop or latch. It can store one bit of information, and
is widely used in digital logic and computer memory.

Latches
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.
The S-R (SET-RESET) Latch
A latch is a type of bistable logic device or multivibrator. An active-HIGH input S-R
(SET-RESET) latch.
Truth Table of S-R Latch
The Gated S-R Latch
A gated latch requires an enable input,
e

The Gated D Latch


Another type of gated latch is called the D latch. It differs from the
S-R latch because it has only on input in addition to EN. This input
is called the D (data) input.
Flip-Flops
Flip-flops are synchronous bistable devices, also known as bistable
multivibrators. In this case, the term synchronous means that the
output changes state only at a specified point (leading or trailing
edge) on the triggering input called the clock (CLK), which is
designated as a control input C.

Edge-triggered D flip-flop logic symbols (top: positive edge-triggered;


bottom: negative edge-triggered).
EXAMPLE
Determine the Q and Q output waveforms of the flip-flop for the D
and CLK inputs shown below in a. Assume that the positive edge-
triggered flip-flop is initially RESET.
The J-K Flip-Flop
Pulse Transition Detection
Flip-Flop Applications

 Parallel Data Storage


 Frequency Division
 Counting

Flip-Flop Applications
Parallel Data Storage
Frequency Division
Counting
The 555 Timer as an Astable Multivibrator
Operation of the 555 timer in the astable mode.
Thank you

You might also like