Professional Documents
Culture Documents
Mod 4 - Part 1
Mod 4 - Part 1
Sequential Circuits
Combinational circuits
• Circuit consisting of only logic gates
• Outputs are at all times dependent on the
combination of inputs
• Adders, Subtractors, MUX, DEMUX, Decoder,
Encoder
Sequential circuits
• Outputs are dependent not only on the present
input conditions, but also depends upon past
outputs.
• Sequential circuits are made of combinational
circuits & memory elements
• The memory elements used are latches and flipflops
Sequential Circuits
Block Diagram
Sequential Circuits
• Latches and Flip-flops are the basic building
blocks of most of the sequential circuits
• Latches watches its inputs continuously and
changes its outputs when input changes
• Flip-flops changes its outputs only when a clocking
signal is changing (triggered)
Latch – non-clocked flipflops
• Circuit which is used to store information.
Information is 0 or 1.
• The information is locked or latched in the circuit,
hence the name latch
• Also known as non-clocked flipflops
Latches
• S-R latch
• D latch
S-R Latch
• Simplest latch
• 2 inputs, S & R
• 2 outputs, Q & Q’, output & its complement.
Logic symbol & Truth table
Active high S-R latch
• Constructed using two cross coupled NOR gates.
• Output of each gate is connected to one of the
inputs of the other gate
Logic diagram of Active high S-R latch
S-R latch
Active low S-R latch
• Constructed using two cross coupled NAND
gates.
• Output of each gate is connected to one of
the inputs of the other gate
Gated SR Latch
Gated D latch
Logic symbol of Gated D Latch
Truth Table
Input Enable Output
D EN Q
0 High 0
1 High 1
Flipflops
Latch – Level triggered
• Latch stores the information until input
conditions changes
• Level triggered
• Asynchronous
D Latch – Level Triggering
Flipflops
• Are synchronous bistable devices, known as
bistable multivibrator
• Synchronous means changes state only at a
specific point on a triggering input called the
clock (CLK), designated as a control input, C
• So changes in the output occur in
synchronization with the clock
• The difference between a latch and a flip-flop
is that a latch is asynchronous, and the
outputs can change as soon as the inputs do
(or at least after a small propagation delay). A
flip-flop, on the other hand, is edge-
triggered and only changes state when a
control signal goes from high to low or low to
high.
Sequential Circuits
Clock
– Negative edge
Clock
• Level Triggered
Clock
Flip-Flops
• S-R FF (Set-Reset)
• J-K FF
• D FF (Data)
• T FF (Toggle)
• Master-Slave FFs
Positive Edge Triggered
S-R Flip-Flop
Characteristic Equation
Q(t + 1) = S + R’ Q
Truth Table/Function Table
Positive Edge Triggered S-R Flip-Flop
Internal circuitry
Positive Edge Triggered
S-R Flip-Flop
Internal circuitry
Truth Table
D (Data) Flip-Flop – Positive edge
triggered
• Timing Diagram
J-K Flip-Flops- Most widely used. Identical to
SR flipflop but no invalid state.
Characteristic Equation
Truth Table
J-K Flip-Flops
J-K Flip-Flops
Clock pulse
Steps to avoid racing condition in
JK Flip flop: