Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Week 07 Sequential Circuits Sec A

Download as pdf or txt
Download as pdf or txt
You are on page 1of 25

Week 07

Digital Logic Design [MCT-241]


Sequential Logic
• It consists of a combinational circuit to which storage
elements are connected to form a feedback path.
• The storage elements are devices capable of storing
binary information.
• The binary information stored in these elements at
any given time defines the state of the sequential
circuit at that time.
SEQUENTIAL • The block diagram demonstrates that the outputs in a
CIRCUITS sequential circuit are a function not only of the inputs,
but also of the present state of the storage elements
Types of Sequential Circuits
• There are two main types of sequential circuits, and their
classification is a function of the timing of their signals:
• Synchronous Sequential Circuits
All Sequential components get updated at the same time. The
time is usually provided as the Clock. All components have
the same Clock and get updated simultaneously.
The Clock is provided by a Clock Generator which provides a
clock signal having the form of a periodic train of clock pulses.

• Asynchronous Sequential Circuits


The sequential components get updated individually without
any synchronization.
Synchronous
clocked
sequential
circuit
Latches
Storage Element
Latch : A Storage Element
• A storage element in a digital circuit can maintain a
binary state indefinitely (as long as power is
delivered to the circuit), until directed by an input
signal to switch states.
• Storage elements that operate with signal levels
(rather than signal transitions) are referred to as
latches; those controlled by a clock transition are
flip-flops.
• Latches are said to be level sensitive devices; flip-
flops are edge-sensitive devices.
• The two types of storage elements are related
because latches are the basic circuits from which all
flip-flops are constructed.
SR Latch
SR Latch
SR Latch with NAND Gate
SR Latch with Control Input
D Latch
(Transparent Latch)
D Latch (Transparent Latch)

One way to eliminate the


undesirable condition of the
Instead of S and R input this
indeterminate state in the
Latch has just one Input (D),
SR latch is to ensure that
other than Enable.
inputs S and R are never
equal to 1 at the same time
D Latch (Transparent Latch)
Graphic symbols for latches
17/10/2022
• 24
• 35
Flip Flop
Flip Flop
• The D latch with pulses in its control input is essentially a flip-flop that is triggered every time the
pulse goes to the logic-1 level.
• As long as the pulse input remains at this level, any changes in the data input will change the
output and the state of the latch.
• When latches are used for the storage elements, a serious difficulty arises.
• The state transitions of the latches start as soon as the clock pulse changes to the logic-1
level.
• The new state of a latch appears at the output while the pulse is still active.
• This output is connected to the inputs of the latches through the combinational circuit.
• If the inputs applied to the latches change while the clock pulse is still at the logic-1 level, the
latches will respond to new values and a new output state may occur.
• The result is an unpredictable situation, since the state of the latches may keep changing for
as long as the clock pulse stays at the active level.
Latch vs Flip Flop
• The problem with the
latch is that it responds to
a change in the level of a
clock pulse.
• The key to the proper
operation of a flip-flop is
to trigger it only during a
signal transition.
There are two ways to convert a Latch to
a Flip Flop

One way is to employ two Another way is to produce a


latches in a special flip-flop that triggers only
configuration that isolates the during a signal transition (from
output of the flip-flop and 0 to 1 or from 1 to 0) of the
prevents it from being affected synchronizing signal (clock) and
while the input to the flip-flop is is disabled during the rest of
changing. the clock pulse
Method-1 for D
Flip Flop
Method-2
for D Flip
Flop
The timing of the response of a flip-flop to input data
and to the clock must be taken into consideration when
one is using edge-triggered flip-flops.

There is a minimum time called the setup time during


which the D input must be maintained at a constant
value prior to the occurrence of the clock transition.
Flip flop and
Delays Similarly, there is a minimum time called the hold time
during which the D input must not change after the
application of the positive transition of the clock.

The propagation delay time of the flip-flop is defined


as the interval between the trigger edge and the
stabilization of the output to a new state
19/10/2022
• 16
• 21
• 24
• 28
• 20-14
• 20-32

You might also like