unit 5 dld
unit 5 dld
TOPICS:
• DEFINITION OF SEQUENTIAL CIRCUIT
• ADVANTAGES OF SEQUENTIAL CIRCUIT
• DISADVANTAGES OF SEQUENTIAL CIRCUIT
• TYPES
• CLOCK AND TRIGGER
• LATCHES
• TYPES
• FLIP PLOPS
• TYPES
• CONVERSION OF FLIP FLOPS
• REGISTERS
• TYPES
• COUNTERS
Sequential Circuit :
• Sequential circuits are digital circuits that store and use
previous state information to determine their next state.
• They are commonly used in digital systems to implement state
machines, timers, counters, and memory elements and are
essential components in digital systems design.
• The memory elements in sequential circuits can be
implemented using flip-flops, which are circuits that store
binary values and maintain their state even when the inputs
change.
• Sequential circuit is a combinational logic circuit
that consists of inputs variable (X), logic gates
(Computational circuit), and output variable (Z).
• A combinational circuit produces an output based on input
variables only, but a sequential circuit produces an output
based on current input and previous output variables.
• That means sequential circuits include memory elements that
are capable of storing binary information.
• That binary information defines the state of the sequential
circuit at that time.
• A latch capable of storing one bit of information.
As shown in the figure, there are two types of input to the combinational logic :
1.External inputs which are not controlled by the circuit.
Following are the two possible types of triggering that are used in
sequential circuits.
•Level Triggering
•Edge Triggering
Level Triggering:
There are two levels, namely logic High and logic Low in clock
signal. Following are the two types of level triggering.
•Positive Level Triggering
•Negative Level Triggering
•2 output Q, Q’.
The below logic diagram represents the SR latch using NAND gate.
2.Low Power Consumption: Latches consume less power compared to other sequential circuits such
as flip-flops.
3.High Speed: Latches can operate at high speeds, making them suitable for use in high-speed digital
systems.
4.Low Cost: Latches are inexpensive to manufacture and can be used in low-cost digital systems.
5.Versatility: Latches can be used for various applications, such as data storage, control circuits, and
flip-flop circuits.
Disadvantages of Latches
Some of the disadvantages of latches are listed below.
6.No Clock: Latches do not have a clock signal to synchronize their operations, making their behavior
unpredictable.
2.Unstable State: Latches can sometimes enter into an unstable state when both inputs are at 1. This
can result in unexpected behavior in the digital system.
Flip-Flop:
• The flip-flop is a circuit that maintains a state until directed by input to
change the state.
• A basic flip-flop can be constructed using four-NAND or four-NOR gates.
Flip-flop is popularly known as the basic digital memory circuit.
• It has its two states as logic 1(High) and logic 0(low) states.
• A flip flop is a sequential circuit which consist of single binary state of
information or data.
• The digital circuit is a flip flop which has two outputs and are of
opposite states. It is also known as a Bistable Multivibrator.
Types of Flip-Flops
Given Below are the Types of Flip-Flop
•SR Flip Flop
•JK Flip Flop
•D Flip Flop
•T Flip Flop
Logic diagrams and truth tables of the different
types of flip-flops are as follows:
S-R Flip Flop
• In the flip flop, with the help of preset and clear when the power is switched
ON, the states of the circuit keeps on changing, that is it is uncertain.
• It may come to set(Q=1) or reset(Q’=0) state. In many applications, it is
desired to initially set or reset the flip flop that is the initial state of the flip
flop that needs to be assigned. This thing is accomplished by the preset(PR)
and the clear(CLR).
Given Below is the Diagram of J-K Flip Flop with its Truth Table
Operations of J-K Flip Flop
Given Below is the Operations of J-K Flip Flop
•Case 1 (PR=CLR=0 ):This condition is in its invalid state.
•Case 2 (PR=0 and CLR=1):The PR is activated which means the
output in the Q is set to 1. Therefore, the flip flop is in the set state.
•Case 3 (PR=1 and CLR=0):The CLR is activated which means
the output in the Q’ is set to 1. Therefore, the flip flop is in the reset
state.
•Case 4 (PR=CLR=1):In this condition the flip flop works in its
normal way whereas the PR and CLR gets deactivated.
Race Around Condition in J-K Flip Flop
When the J and K both are set to 1, the input remains high for a
longer duration of time, then the output keeps on toggling. Toggle
means that switching in the output instantly i.e. Q=0, Q’=1 will
immediately change to Q=1 and Q’=0 and this continuation keeps
on changing. This change in output leads to race around condition.
D Flip Flop
The D Flip Flop Consists a single data input(D), a clock input(CLK),and
two outputs: Q and Q’ (the complement of Q).