SlideShare a Scribd company logo
MODULE -5
SEQUENTIAL CIRCUITS
Introduction to Sequential Circuits
 In sequential circuits, the present output depends on the present
input as well as previous output/output’s.
 Sequential circuits are very basic required concept for Flip-flop,
Counters and Registers.
Combinational
Circuits
IN OUT
MEMORY
Feedback
Difference Between Combinational Circuit
and Sequential Circuit
Combinational Circuit Sequential Circuit
The output depends on input only The output depends on present
inputs and past outputs
Memory elements are not required Memory elements are required to
store the past outputs.
This circuits are easy to design since
it contains only gates.
Sequential circuits are harder to
design
Combinational circuits are faster in
speed
Sequential circuits are slower than
combinational circuit
Example : Parallel Adder, Half
adder
Example: Counter, Register, Flip
Flop
Flip-Flops
 It is a sequential circuit which has two states( 0 and
1) and it can be used to store state information.
 Types of Flip-Flop
1. SR –Flip-Flop (Set and Reset)
2. D- Flip-Flop (Delay)
3. JK- Flip-Flop (Jack Kilby)
4. T- Flip-Flop(Toggel)
SR Flip-Flops
 It is a SR latch using NAND gates with an additional
enable input.
 Block Diagram
SR Flip-Flops
Circuit Diagram
SR Flip-Flops
Truth Table
CLK S R Qn+1
0 X X Qn
1 0 0 Qn
1 0 1 0
1 1 0 1
1 1 1 Invalid
SR Flip-Flops
Characteritic Table
CLK S R Qn+1
0 X X Qn
1 0 0 Qn
1 0 1 0
1 1 0 1
1 1 1 Invalid
Qn S R Qn+1
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 X
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 X
SR Flip-Flops
Excitation Table
Qn S R Qn+1
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 X
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 X
Qn Qn+1 S R
0 0 0 X
0 1 1 0
1 0 0 1
1 1 X 0
D Flip-Flops
 It is also known as a "data" or "delay" flip-flop. The D flip-
flop captures the value of the D-input at a definite portion of the clock
cycle (such as the rising edge of the clock).
That captured value becomes the Q output. At other times, the output
Q does not change.
CLK S R Qn+1
0 X X Qn
1 0 0 Qn
1 0 1 0
1 1 0 1
1 1 1 Invalid
D Flip-Flops
Block Diagram
Truth Table
CLK D Qn+1
0 X Qn
1 0 0
1 1 1
D Flip-Flops
Characteristic Table
CLK D Qn+1
0 X Qn
1 0 0
1 1 1
Qn D Qn+1
0 0 0
0 1 1
1 0 0
1 1 1
D Flip-Flops
Excitation Table
Qn D Qn+1
0 0 0
0 1 1
1 0 0
1 1 1
Qn Qn+1 D
0 0 0
0 1 1
1 0 0
1 1 1
JK Flip-Flops
The J-K flip-flop is the most versatile of the basic flip-flops.
It has the input- following character of the clocked D flip-flop but has
two inputs, traditionally labeled J and K.
If J and K are different then the output Q takes the value of J at the next
clock edge.
Block Diagram
JK Flip-Flops
Circuit Diagram
JK Flip-Flops
Truth Table
Reference Table
CLK S R Qn+1
0 X X Qn
(Memory)
1 0 0 Qn
(Memory)
1 0 1 0
1 1 0 1
1 1 1 Invalid
CLK J K Qn+1
0 X X Qn
1 0 0 Qn
1 0 1 0
1 1 0 1
1 1 1 ͞Qn
JK Flip-Flops
Characteristic Table
CLK J K Qn+1
0 X X Qn
1 0 0 Qn
1 0 1 0
1 1 0 1
1 1 1 ͞Qn
(Toggle)
Qn J K Qn+1
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
JK Flip-Flops
Excitation Table
Qn J K Qn+1
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
Qn Qn+1 J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
T Flip-Flops
T flip – flop is an edge triggered device i.e. the low to high or high to
low transitions on a clock signal of narrow triggers that is provided as
input will cause the change in output state of flip – flop.
Block Diagram
T Flip-Flops
Circuit Diagram
T Flip-Flops
Truth Table
CLK T Qn+1
0 X Qn (Memory)
1 0 Qn (Memory)
1 1 ͞͞Qn (Toggling)
T Flip-Flops
Characteristic Table
CLK T Qn+1
0 X Qn (Memory)
1 0 Qn (Memory)
1 1 ͞͞Qn (Toggling)
Qn T Qn+1
0 0 0
0 1 1
1 0 1
1 1 0
T Flip-Flops
Excitation Table
Qn T Qn+1
0 0 0
0 1 1
1 0 1
1 1 0
Qn Qn+1 T
0 0 0
0 1 1
1 0 1
1 1 0
LATCH
It is sequential circuit that checks all of its input continuously
and changes its output at anytime.
Latch is a sequential circuit which has two states( 0 and 1) and it
can be used to store state information.
Both Latch and Flip Flop are memory elements/ Storage
element.
Latch is used to design Asynchronous sequential circuit.
Flip Flop is used to design Synchronous sequential circuit.
LATCH
Asynchronous sequential circuits do not use clock
signals as synchronous circuits do
Types of Latch
1. SR –Latch (Set and Reset)
2. D- Latch (Delay)
3. JK- Latch (Jack Kilby)
4. T- Latch (Toggel)
CS1104-11
Memory Elements
26
Memory Elements
 Memory element with clock. Flip-flops are memory
elements that change state on clock signals.
 Clock is usually a square wave.
command
Memory
element stored value
Q
clock
Positive edges Negative edges
Positive pulses
CS1104-11
Memory Elements
27
Memory Elements
 Two types of triggering/activation:
 pulse-triggered
 edge-triggered
 Pulse-triggered
 latches
 ON = 1, OFF = 0
 Edge-triggered
 flip-flops
 positive edge-triggered (ON = from 0 to 1; OFF = other
time)
 negative edge-triggered (ON = from 1 to 0; OFF = other
time)
CS1104-11
S-R Latch
28
S-R Latch
 Complementary outputs: Q and Q'.
 When Q is HIGH, the latch is in SET state.
 When Q is LOW, the latch is in RESET state.
 For active-HIGH input S-R latch (also known as
NOR gate latch),
R=HIGH (and S=LOW) a RESET state
S=HIGH (and R=LOW) a SET state
both inputs LOW a no change
both inputs HIGH a Q and Q' both LOW (invalid)!
CS1104-11
S-R Latch
29
S-R Latch
 Characteristics table for active-high input S-R
latch:
S R Q Q'
0 0 NC NC No change. Latch
remained in present state.
1 0 1 0 Latch SET.
0 1 0 1 Latch RESET.
1 1 0 0 Invalid condition.
S
R
Q
Q'
CS1104-11
S-R Latch
30
S-R Latch
 Active-HIGH input S-R latch
R
S
Q
Q'
S R Q Q'
1 0 1 0 initial
0 0 1 0 (afer S=1, R=0)
0 1 0 1
0 0 0 1 (after S=0, R=1)
1 1 0 0 invalid!
0
1
1
0
0
0
1
0
1
0
0
1
0
0
0
1
1
1
0
0
CS1104-11
Gated D Latch
31
Gated D Latch
 Make R input equal to S'  gated D latch.
 D latch eliminates the undesirable condition of
invalid state in the S-R latch.
D
EN
Q
Q'
D
Q
Q'
EN
CS1104-11
Gated D Latch
32
Gated D Latch
 When EN is HIGH,
 D=HIGH  latch is SET
 D=LOW  latch is RESET
 Hence when EN is HIGH, Q ‘follows’ the D
(data) input.
 Characteristic table:
When EN=1, Q(t+1) = D
EN D Q(t+1)
1 0 0 Reset
1 1 1 Set
0 X Q(t) No change
CS1104-11
Gated D Latch
33
Latch Circuits: Not Suitable
 Latch circuits are not suitable in synchronous
logic circuits.
 When the enable signal is active, the excitation
inputs are gated directly to the output Q. Thus,
any change in the excitation input immediately
causes a change in the latch output.
 The problem is solved by using a special timing
control signal called a clock to restrict the times
at which the states of the memory elements
may change.
 This leads us to the edge-triggered memory
elements called flip-flops.
Steps To Convert from One FlipFlop to
Other :
1. Let there be required flipflop to be constructed
using sub-flipflop:
2. Draw the truth table of required flipflop.
3. Write the corresponding outputs of sub-flipflop
to be used from the excitation table.
4. Draw K-Maps using required flipflop inputs and
obtain excitation functions for sub-flipflop
inputs.
5. Construct logic diagram according to the
functions obtained.
2023/10/17
Sequential Circuits
PJF -
34
Conversion for FlipFlops
2023/10/17
Sequential Circuits
PJF -
35
EXCITATION TABLE:
i) Convert SR To JK FlipFlop
2023/10/17
Sequential Circuits
PJF -
36
Excitation Functions:
2023/10/17
Sequential Circuits
PJF -
37
ii Convert SR To D FlipFlop:
2023/10/17
Sequential Circuits
PJF -
38
Excitation Functions:
S = D
R = D‘
2023/10/17
Sequential Circuits
PJF -
39
SR To D FlipFlop Logic Ckt
2023/10/17
Sequential Circuits
PJF -
40
Applications of Flip-Flops
 These are the various types of flip-flops being used in digital electronic
circuits and the applications of Flip-flops are as specified below.
 Counters
 Frequency Dividers
 Shift Registers
 Storage Registers
 Bounce elimination switch
 Data storage
 Data transfer
 Latch
 Registers
 Memory
2023/10/17
Sequential Circuits
PJF -
41
Registers
 One flip-flop can store one-bit of information. In order to
store multiple bits of information, we require multiple flip-
flops.
 The group of flip-flops, which are used to hold the binary
data is known as register.
 If the register is capable of shifting bits either towards right
hand side or towards left hand side is known as shift
register.
 An ‘N’ bit shift register contains ‘N’ flip-flops
Contd..
The four types of shift registers are.
1. Serial In − Serial Out shift register (SISO)
2. Serial In − Parallel Out shift register(SIPO)
3. Parallel In − Serial Out shift register(PISO)
4. Parallel In − Parallel Out shift register(PIPO)
Shift registers operations:
1. Shift left register
2. Shift right register
Serial In- Serial Out shift register
 It accepts data serially, one bit at a time on a single line,
and produces the sorted information on its output also in
a serial form
 Shift Right Register : The registers which will shift the
bits to Right are called “Shift Right registers”
Contd..
 Truth table
Din CLK Q1 Q2 Q3 Q4 Qout
Initial 0 0 0 0 0
1 1 1 0 0 0 0
1 2 1 1 0 0 0
1 3 1 1 1 0 0
1 4 1 1 1 1 1
Serial In- Serial Out shift register
 Shift Left Register :
The registers which will shift the bits to left are called
“Shift left registers”
Contd..
 Truth table
Din CLK Q4 Q3 Q2 Q1 Qout
Initial 0 0 0 0 0
1 1 1 0 0 0 0
1 2 1 1 0 0 0
1 3 1 1 1 0 0
1 4 1 1 1 1 1
Serial In- Parallel Out shift register(SIPO)
 Data bits are entered serially . Once the data are
stored, the output of each stage is available on its
output line.
Contd..
 Truth table
Input
Din
CLK Output
Q1 Q2 Q3 Q4
1 1 1 0 0 0
1 2 1 1 0 0
1 3 1 1 1 0
1 4 1 1 1 1
Parallel In- Serial Out shift register(PISO)
 The shift register, which allows parallel input (data is
given separately to each flip flop and in a
simultaneous manner) and produces a serial output
is known as Parallel-In Serial-Out shift register.
Parallel In- Serial Out shift register(PISO)
Contd..
 Truth table
Shif
t/Lo
ad
Input CLK Dout
a b c d
0 1 0 1 0 - -
1 X X X X 1 0
1 X X X X 2 1
1 X X X X 3 0
1 X X X X 4 1
Parallel In- Parallel Out shift register(PIPO)
The shift register, which allows parallel input (data is given separately
to each flip flop and in a simultaneous manner) and also produces a
parallel output is known as Parallel-In parallel-Out shift register.
Contd..
 Truth table
Input CL
K
Output
a b c d a b c d
1 0 1 0 1 1 0 1 0
1 0 1 1 2 1 0 1 1
0 1 0 0 3 0 1 0 0
1 1 1 1 4 1 1 1 1
ASYNCHRONOUS COUNTERS(Ripple Counters)
UP Counter
Down counter
SYNCHRONOUS COUNTERS
Synchronous, 4-bit up-down counter
S.NO SYNCHRONOUS COUNTER ASYNCHRONOUS COUNTER
1.
In synchronous counter, all flip flops are triggered
with same clock simultaneously.
In asynchronous counter, different flip flops are
triggered with different clock, not simultaneously.
2.
Synchronous Counter is faster than asynchronous
counter in operation.
Asynchronous Counter is slower than synchronous
counter in operation.
3.
Synchronous Counter does not produce any
decoding errors.
Asynchronous Counter produces decoding error.
4.
Synchronous Counter is also called Parallel
Counter.
Asynchronous Counter is also called Serial Counter.
5.
Synchronous Counter designing as well
implementation are complex due to increasing the
number of states.
Asynchronous Counter designing as well as
implementation is very easy.
6.
Synchronous Counter will operate in any desired
count sequence.
Asynchronous Counter will operate only in fixed
count sequence (UP/DOWN).
7.
Synchronous Counter examples are: Ring
counter, Johnson counter.
Asynchronous Counter examples are: Ripple UP
counter, Ripple DOWN counter.
8. In synchronous counter, propagation delay is less.
In asynchronous counter, there is high propagation
delay.
Application of counters
 Frequency counters
 Digital clock
 Time measurement
 A to D converter
 Frequency divider circuits
 Digital triangular wave generator.
241-208 CH9
62
Johnson counter and Ring counter.
63
 Shift registers can form useful counters by
recirculating a pattern of 0’s and 1’s. Two
important shift register counters are the Johnson
counter and the ring counter.
 The Ring counter and Johnson counter can be
made with a series of either D flip-flops or J-
K flip-flops.
Ring Counter
64
 The ring counter can also be implemented with either
D flip-flops or J-K flip-flops.
 4-bit ring counters are constructed from a series of D
flip-flops J-K flip-flops. Notice the feedback.
Initial status after
clear and Preset
Q0 Q1 Q2 Q3
0 0 0 1
Ring Counter
65
 A common pattern for a ring counter is to load it with a single 1 or a single
0.
 Draw the waveforms for the 4-bit ring counter ( shown in the previous
slide)
Johnson counter
66
 The Johnson counter is useful when you need a sequence that
changes by only one bit at a time but it has a limited number of
states (2n, where n = number of stages).
The first five counts for a 4-bit Johnson counter that is initially
cleared are: CLK Q0 Q1 Q2 Q3
0 0 0 0
1 0 0 0
1 1 0 0
1 1 1 0
1 1 1 1
0 1 1 1
0 0 1 1
0 0 0 1
0
1
2
3
4
5
6
7
What are the remaining 3 states?
A Johnson counter is also known as switch-tail ring counter, twisted
ring counter, walking ring counter, or Möbius counter .
It is is a modified ring counter, where the output from the last stage is
inverted and fed back as input to the first stage.
The register cycles through a sequence of bit-patterns, whose length is
equal to twice the length of the shift register, continuing indefinitely.
These counters are useful in digital-to-analog conversion, generating
control signals etc.
In order to follow an ideal sequence of states both the Ring and the
Johnson counter must initially be forced into a valid state in the count
sequence using preset and clear inputs.
Thank You

More Related Content

What's hot

decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
Unsa Shakir
 
1d-HALF ADDER & FULL ADDER-PPT.pdf
1d-HALF ADDER & FULL ADDER-PPT.pdf1d-HALF ADDER & FULL ADDER-PPT.pdf
1d-HALF ADDER & FULL ADDER-PPT.pdf
ssusera0b94b
 
Encoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexersEncoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexers
pubgalarab
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
SARITHA REDDY
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
Jaipal Dhobale
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
AshishChandrakar12
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
foyez ahammad
 
mealy and moore machines
mealy and moore machinesmealy and moore machines
mealy and moore machines
Unsa Shakir
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
mihir jain
 
Boolean algebra & logic gates
Boolean algebra & logic gatesBoolean algebra & logic gates
Boolean algebra & logic gates
Prof. Dr. K. Adisesha
 
Dsp manual completed2
Dsp manual completed2Dsp manual completed2
Dsp manual completed2bilawalali74
 
Flip flop’s state tables & diagrams
Flip flop’s state tables & diagramsFlip flop’s state tables & diagrams
Flip flop’s state tables & diagramsSunny Khatana
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Debarati Das
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
Unsa Shakir
 
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic CircuitsFYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
Arti Parab Academics
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractor
Unsa Shakir
 
Aljabar boolean(1)
Aljabar boolean(1)Aljabar boolean(1)
Aljabar boolean(1)tafrikan
 
Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
Shuaib Hotak
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
Preet_patel
 

What's hot (20)

decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
 
1d-HALF ADDER & FULL ADDER-PPT.pdf
1d-HALF ADDER & FULL ADDER-PPT.pdf1d-HALF ADDER & FULL ADDER-PPT.pdf
1d-HALF ADDER & FULL ADDER-PPT.pdf
 
Encoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexersEncoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexers
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
 
mealy and moore machines
mealy and moore machinesmealy and moore machines
mealy and moore machines
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
 
Boolean algebra & logic gates
Boolean algebra & logic gatesBoolean algebra & logic gates
Boolean algebra & logic gates
 
Dsp manual completed2
Dsp manual completed2Dsp manual completed2
Dsp manual completed2
 
Flip flop’s state tables & diagrams
Flip flop’s state tables & diagramsFlip flop’s state tables & diagrams
Flip flop’s state tables & diagrams
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic CircuitsFYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractor
 
Aljabar boolean(1)
Aljabar boolean(1)Aljabar boolean(1)
Aljabar boolean(1)
 
Algebra de boole
Algebra de booleAlgebra de boole
Algebra de boole
 
Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 

Similar to SEQUENTIAL CIRCUITS -Module 5 (1).pptx

Flip flop
Flip flopFlip flop
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
amudhak10
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
Heman Pathak
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.
Satya P. Joshi
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
UtsavDas21
 
Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.
msa29cse
 
DIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.pptDIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.ppt
Amitpaswan23
 
Flip flops
Flip flopsFlip flops
Flip flops
Shashi Lata
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuit
Rai University
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
AreebaShoukat4
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
profabhishekranjan
 
De EE unit-3.pptx
De EE unit-3.pptxDe EE unit-3.pptx
De EE unit-3.pptx
MukulThory1
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the student
jainyshah20
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
AmrutaMehata
 
Assignment#5
Assignment#5Assignment#5
Assignment#5
Sunita Milind Dol
 
15CS32 ADE Module 4
15CS32 ADE Module 415CS32 ADE Module 4
15CS32 ADE Module 4
RLJIT
 
Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
Arman Siddqui
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
student
 
ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5
ACE ENGINEERING COLLEGE
 

Similar to SEQUENTIAL CIRCUITS -Module 5 (1).pptx (20)

Flip flop
Flip flopFlip flop
Flip flop
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.
 
DIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.pptDIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.ppt
 
Flip flops
Flip flopsFlip flops
Flip flops
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuit
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
 
De EE unit-3.pptx
De EE unit-3.pptxDe EE unit-3.pptx
De EE unit-3.pptx
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the student
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
 
Assignment#5
Assignment#5Assignment#5
Assignment#5
 
15CS32 ADE Module 4
15CS32 ADE Module 415CS32 ADE Module 4
15CS32 ADE Module 4
 
Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5
 

Recently uploaded

20 slides of research movie and artists .pdf
20 slides of research movie and artists .pdf20 slides of research movie and artists .pdf
20 slides of research movie and artists .pdf
ameli25062005
 
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting ServicesExpert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
ResDraft
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
cy0krjxt
 
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
taqyed
 
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
7sd8fier
 
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
7sd8fier
 
Portfolio.pdf
Portfolio.pdfPortfolio.pdf
Portfolio.pdf
garcese
 
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
7sd8fier
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
cy0krjxt
 
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
h7j5io0
 
RTUYUIJKLDSADAGHBDJNKSMAL,D
RTUYUIJKLDSADAGHBDJNKSMAL,DRTUYUIJKLDSADAGHBDJNKSMAL,D
RTUYUIJKLDSADAGHBDJNKSMAL,D
cy0krjxt
 
Top Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdfTop Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdf
PlanitIsrael
 
Research 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdfResearch 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdf
ameli25062005
 
Borys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior designBorys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior design
boryssutkowski
 
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
h7j5io0
 
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
9a93xvy
 
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
ameli25062005
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
cy0krjxt
 
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting ProfitabilityTransforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
aaryangarg12
 
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
smpc3nvg
 

Recently uploaded (20)

20 slides of research movie and artists .pdf
20 slides of research movie and artists .pdf20 slides of research movie and artists .pdf
20 slides of research movie and artists .pdf
 
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting ServicesExpert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
 
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
 
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
 
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
 
Portfolio.pdf
Portfolio.pdfPortfolio.pdf
Portfolio.pdf
 
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
 
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
 
RTUYUIJKLDSADAGHBDJNKSMAL,D
RTUYUIJKLDSADAGHBDJNKSMAL,DRTUYUIJKLDSADAGHBDJNKSMAL,D
RTUYUIJKLDSADAGHBDJNKSMAL,D
 
Top Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdfTop Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdf
 
Research 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdfResearch 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdf
 
Borys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior designBorys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior design
 
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
 
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
 
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
 
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting ProfitabilityTransforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
 
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
 

SEQUENTIAL CIRCUITS -Module 5 (1).pptx

  • 2. Introduction to Sequential Circuits  In sequential circuits, the present output depends on the present input as well as previous output/output’s.  Sequential circuits are very basic required concept for Flip-flop, Counters and Registers. Combinational Circuits IN OUT MEMORY Feedback
  • 3. Difference Between Combinational Circuit and Sequential Circuit Combinational Circuit Sequential Circuit The output depends on input only The output depends on present inputs and past outputs Memory elements are not required Memory elements are required to store the past outputs. This circuits are easy to design since it contains only gates. Sequential circuits are harder to design Combinational circuits are faster in speed Sequential circuits are slower than combinational circuit Example : Parallel Adder, Half adder Example: Counter, Register, Flip Flop
  • 4. Flip-Flops  It is a sequential circuit which has two states( 0 and 1) and it can be used to store state information.  Types of Flip-Flop 1. SR –Flip-Flop (Set and Reset) 2. D- Flip-Flop (Delay) 3. JK- Flip-Flop (Jack Kilby) 4. T- Flip-Flop(Toggel)
  • 5. SR Flip-Flops  It is a SR latch using NAND gates with an additional enable input.  Block Diagram
  • 7. SR Flip-Flops Truth Table CLK S R Qn+1 0 X X Qn 1 0 0 Qn 1 0 1 0 1 1 0 1 1 1 1 Invalid
  • 8. SR Flip-Flops Characteritic Table CLK S R Qn+1 0 X X Qn 1 0 0 Qn 1 0 1 0 1 1 0 1 1 1 1 Invalid Qn S R Qn+1 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 X 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 X
  • 9. SR Flip-Flops Excitation Table Qn S R Qn+1 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 X 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 X Qn Qn+1 S R 0 0 0 X 0 1 1 0 1 0 0 1 1 1 X 0
  • 10. D Flip-Flops  It is also known as a "data" or "delay" flip-flop. The D flip- flop captures the value of the D-input at a definite portion of the clock cycle (such as the rising edge of the clock). That captured value becomes the Q output. At other times, the output Q does not change. CLK S R Qn+1 0 X X Qn 1 0 0 Qn 1 0 1 0 1 1 0 1 1 1 1 Invalid
  • 11. D Flip-Flops Block Diagram Truth Table CLK D Qn+1 0 X Qn 1 0 0 1 1 1
  • 12. D Flip-Flops Characteristic Table CLK D Qn+1 0 X Qn 1 0 0 1 1 1 Qn D Qn+1 0 0 0 0 1 1 1 0 0 1 1 1
  • 13. D Flip-Flops Excitation Table Qn D Qn+1 0 0 0 0 1 1 1 0 0 1 1 1 Qn Qn+1 D 0 0 0 0 1 1 1 0 0 1 1 1
  • 14. JK Flip-Flops The J-K flip-flop is the most versatile of the basic flip-flops. It has the input- following character of the clocked D flip-flop but has two inputs, traditionally labeled J and K. If J and K are different then the output Q takes the value of J at the next clock edge. Block Diagram
  • 16. JK Flip-Flops Truth Table Reference Table CLK S R Qn+1 0 X X Qn (Memory) 1 0 0 Qn (Memory) 1 0 1 0 1 1 0 1 1 1 1 Invalid CLK J K Qn+1 0 X X Qn 1 0 0 Qn 1 0 1 0 1 1 0 1 1 1 1 ͞Qn
  • 17. JK Flip-Flops Characteristic Table CLK J K Qn+1 0 X X Qn 1 0 0 Qn 1 0 1 0 1 1 0 1 1 1 1 ͞Qn (Toggle) Qn J K Qn+1 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0
  • 18. JK Flip-Flops Excitation Table Qn J K Qn+1 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 Qn Qn+1 J K 0 0 0 X 0 1 1 X 1 0 X 1 1 1 X 0
  • 19. T Flip-Flops T flip – flop is an edge triggered device i.e. the low to high or high to low transitions on a clock signal of narrow triggers that is provided as input will cause the change in output state of flip – flop. Block Diagram
  • 21. T Flip-Flops Truth Table CLK T Qn+1 0 X Qn (Memory) 1 0 Qn (Memory) 1 1 ͞͞Qn (Toggling)
  • 22. T Flip-Flops Characteristic Table CLK T Qn+1 0 X Qn (Memory) 1 0 Qn (Memory) 1 1 ͞͞Qn (Toggling) Qn T Qn+1 0 0 0 0 1 1 1 0 1 1 1 0
  • 23. T Flip-Flops Excitation Table Qn T Qn+1 0 0 0 0 1 1 1 0 1 1 1 0 Qn Qn+1 T 0 0 0 0 1 1 1 0 1 1 1 0
  • 24. LATCH It is sequential circuit that checks all of its input continuously and changes its output at anytime. Latch is a sequential circuit which has two states( 0 and 1) and it can be used to store state information. Both Latch and Flip Flop are memory elements/ Storage element. Latch is used to design Asynchronous sequential circuit. Flip Flop is used to design Synchronous sequential circuit.
  • 25. LATCH Asynchronous sequential circuits do not use clock signals as synchronous circuits do Types of Latch 1. SR –Latch (Set and Reset) 2. D- Latch (Delay) 3. JK- Latch (Jack Kilby) 4. T- Latch (Toggel)
  • 26. CS1104-11 Memory Elements 26 Memory Elements  Memory element with clock. Flip-flops are memory elements that change state on clock signals.  Clock is usually a square wave. command Memory element stored value Q clock Positive edges Negative edges Positive pulses
  • 27. CS1104-11 Memory Elements 27 Memory Elements  Two types of triggering/activation:  pulse-triggered  edge-triggered  Pulse-triggered  latches  ON = 1, OFF = 0  Edge-triggered  flip-flops  positive edge-triggered (ON = from 0 to 1; OFF = other time)  negative edge-triggered (ON = from 1 to 0; OFF = other time)
  • 28. CS1104-11 S-R Latch 28 S-R Latch  Complementary outputs: Q and Q'.  When Q is HIGH, the latch is in SET state.  When Q is LOW, the latch is in RESET state.  For active-HIGH input S-R latch (also known as NOR gate latch), R=HIGH (and S=LOW) a RESET state S=HIGH (and R=LOW) a SET state both inputs LOW a no change both inputs HIGH a Q and Q' both LOW (invalid)!
  • 29. CS1104-11 S-R Latch 29 S-R Latch  Characteristics table for active-high input S-R latch: S R Q Q' 0 0 NC NC No change. Latch remained in present state. 1 0 1 0 Latch SET. 0 1 0 1 Latch RESET. 1 1 0 0 Invalid condition. S R Q Q'
  • 30. CS1104-11 S-R Latch 30 S-R Latch  Active-HIGH input S-R latch R S Q Q' S R Q Q' 1 0 1 0 initial 0 0 1 0 (afer S=1, R=0) 0 1 0 1 0 0 0 1 (after S=0, R=1) 1 1 0 0 invalid! 0 1 1 0 0 0 1 0 1 0 0 1 0 0 0 1 1 1 0 0
  • 31. CS1104-11 Gated D Latch 31 Gated D Latch  Make R input equal to S'  gated D latch.  D latch eliminates the undesirable condition of invalid state in the S-R latch. D EN Q Q' D Q Q' EN
  • 32. CS1104-11 Gated D Latch 32 Gated D Latch  When EN is HIGH,  D=HIGH  latch is SET  D=LOW  latch is RESET  Hence when EN is HIGH, Q ‘follows’ the D (data) input.  Characteristic table: When EN=1, Q(t+1) = D EN D Q(t+1) 1 0 0 Reset 1 1 1 Set 0 X Q(t) No change
  • 33. CS1104-11 Gated D Latch 33 Latch Circuits: Not Suitable  Latch circuits are not suitable in synchronous logic circuits.  When the enable signal is active, the excitation inputs are gated directly to the output Q. Thus, any change in the excitation input immediately causes a change in the latch output.  The problem is solved by using a special timing control signal called a clock to restrict the times at which the states of the memory elements may change.  This leads us to the edge-triggered memory elements called flip-flops.
  • 34. Steps To Convert from One FlipFlop to Other : 1. Let there be required flipflop to be constructed using sub-flipflop: 2. Draw the truth table of required flipflop. 3. Write the corresponding outputs of sub-flipflop to be used from the excitation table. 4. Draw K-Maps using required flipflop inputs and obtain excitation functions for sub-flipflop inputs. 5. Construct logic diagram according to the functions obtained. 2023/10/17 Sequential Circuits PJF - 34
  • 35. Conversion for FlipFlops 2023/10/17 Sequential Circuits PJF - 35 EXCITATION TABLE:
  • 36. i) Convert SR To JK FlipFlop 2023/10/17 Sequential Circuits PJF - 36
  • 38. ii Convert SR To D FlipFlop: 2023/10/17 Sequential Circuits PJF - 38
  • 39. Excitation Functions: S = D R = D‘ 2023/10/17 Sequential Circuits PJF - 39
  • 40. SR To D FlipFlop Logic Ckt 2023/10/17 Sequential Circuits PJF - 40
  • 41. Applications of Flip-Flops  These are the various types of flip-flops being used in digital electronic circuits and the applications of Flip-flops are as specified below.  Counters  Frequency Dividers  Shift Registers  Storage Registers  Bounce elimination switch  Data storage  Data transfer  Latch  Registers  Memory 2023/10/17 Sequential Circuits PJF - 41
  • 42. Registers  One flip-flop can store one-bit of information. In order to store multiple bits of information, we require multiple flip- flops.  The group of flip-flops, which are used to hold the binary data is known as register.  If the register is capable of shifting bits either towards right hand side or towards left hand side is known as shift register.  An ‘N’ bit shift register contains ‘N’ flip-flops
  • 43. Contd.. The four types of shift registers are. 1. Serial In − Serial Out shift register (SISO) 2. Serial In − Parallel Out shift register(SIPO) 3. Parallel In − Serial Out shift register(PISO) 4. Parallel In − Parallel Out shift register(PIPO) Shift registers operations: 1. Shift left register 2. Shift right register
  • 44. Serial In- Serial Out shift register  It accepts data serially, one bit at a time on a single line, and produces the sorted information on its output also in a serial form  Shift Right Register : The registers which will shift the bits to Right are called “Shift Right registers”
  • 45.
  • 46.
  • 47. Contd..  Truth table Din CLK Q1 Q2 Q3 Q4 Qout Initial 0 0 0 0 0 1 1 1 0 0 0 0 1 2 1 1 0 0 0 1 3 1 1 1 0 0 1 4 1 1 1 1 1
  • 48. Serial In- Serial Out shift register  Shift Left Register : The registers which will shift the bits to left are called “Shift left registers”
  • 49. Contd..  Truth table Din CLK Q4 Q3 Q2 Q1 Qout Initial 0 0 0 0 0 1 1 1 0 0 0 0 1 2 1 1 0 0 0 1 3 1 1 1 0 0 1 4 1 1 1 1 1
  • 50. Serial In- Parallel Out shift register(SIPO)  Data bits are entered serially . Once the data are stored, the output of each stage is available on its output line.
  • 51. Contd..  Truth table Input Din CLK Output Q1 Q2 Q3 Q4 1 1 1 0 0 0 1 2 1 1 0 0 1 3 1 1 1 0 1 4 1 1 1 1
  • 52. Parallel In- Serial Out shift register(PISO)  The shift register, which allows parallel input (data is given separately to each flip flop and in a simultaneous manner) and produces a serial output is known as Parallel-In Serial-Out shift register.
  • 53. Parallel In- Serial Out shift register(PISO)
  • 54. Contd..  Truth table Shif t/Lo ad Input CLK Dout a b c d 0 1 0 1 0 - - 1 X X X X 1 0 1 X X X X 2 1 1 X X X X 3 0 1 X X X X 4 1
  • 55. Parallel In- Parallel Out shift register(PIPO) The shift register, which allows parallel input (data is given separately to each flip flop and in a simultaneous manner) and also produces a parallel output is known as Parallel-In parallel-Out shift register.
  • 56. Contd..  Truth table Input CL K Output a b c d a b c d 1 0 1 0 1 1 0 1 0 1 0 1 1 2 1 0 1 1 0 1 0 0 3 0 1 0 0 1 1 1 1 4 1 1 1 1
  • 61. S.NO SYNCHRONOUS COUNTER ASYNCHRONOUS COUNTER 1. In synchronous counter, all flip flops are triggered with same clock simultaneously. In asynchronous counter, different flip flops are triggered with different clock, not simultaneously. 2. Synchronous Counter is faster than asynchronous counter in operation. Asynchronous Counter is slower than synchronous counter in operation. 3. Synchronous Counter does not produce any decoding errors. Asynchronous Counter produces decoding error. 4. Synchronous Counter is also called Parallel Counter. Asynchronous Counter is also called Serial Counter. 5. Synchronous Counter designing as well implementation are complex due to increasing the number of states. Asynchronous Counter designing as well as implementation is very easy. 6. Synchronous Counter will operate in any desired count sequence. Asynchronous Counter will operate only in fixed count sequence (UP/DOWN). 7. Synchronous Counter examples are: Ring counter, Johnson counter. Asynchronous Counter examples are: Ripple UP counter, Ripple DOWN counter. 8. In synchronous counter, propagation delay is less. In asynchronous counter, there is high propagation delay.
  • 62. Application of counters  Frequency counters  Digital clock  Time measurement  A to D converter  Frequency divider circuits  Digital triangular wave generator. 241-208 CH9 62
  • 63. Johnson counter and Ring counter. 63  Shift registers can form useful counters by recirculating a pattern of 0’s and 1’s. Two important shift register counters are the Johnson counter and the ring counter.  The Ring counter and Johnson counter can be made with a series of either D flip-flops or J- K flip-flops.
  • 64. Ring Counter 64  The ring counter can also be implemented with either D flip-flops or J-K flip-flops.  4-bit ring counters are constructed from a series of D flip-flops J-K flip-flops. Notice the feedback. Initial status after clear and Preset Q0 Q1 Q2 Q3 0 0 0 1
  • 65. Ring Counter 65  A common pattern for a ring counter is to load it with a single 1 or a single 0.  Draw the waveforms for the 4-bit ring counter ( shown in the previous slide)
  • 66. Johnson counter 66  The Johnson counter is useful when you need a sequence that changes by only one bit at a time but it has a limited number of states (2n, where n = number of stages). The first five counts for a 4-bit Johnson counter that is initially cleared are: CLK Q0 Q1 Q2 Q3 0 0 0 0 1 0 0 0 1 1 0 0 1 1 1 0 1 1 1 1 0 1 1 1 0 0 1 1 0 0 0 1 0 1 2 3 4 5 6 7 What are the remaining 3 states?
  • 67. A Johnson counter is also known as switch-tail ring counter, twisted ring counter, walking ring counter, or Möbius counter . It is is a modified ring counter, where the output from the last stage is inverted and fed back as input to the first stage. The register cycles through a sequence of bit-patterns, whose length is equal to twice the length of the shift register, continuing indefinitely. These counters are useful in digital-to-analog conversion, generating control signals etc. In order to follow an ideal sequence of states both the Ring and the Johnson counter must initially be forced into a valid state in the count sequence using preset and clear inputs.
  • 68.
  • 69.