際際滷

際際滷Share a Scribd company logo
UNIT 5
Sequential Circuits
Sequential Circuits
Latches,
Flip-flops - SR, JK, D, T, and Master-Slave Characteristic table and
equation
counters and their design,
Synchronous counters  Synchronous Up/Down counters
 Programmable counters  State table and state transition diagram ,
sequential circuits design methodology.
Registers shift registers.
Sequential Circuits
A sequential circuit refers to a special type of circuit.
It consists of a series of various inputs and outputs.
Here, the outputs depend on a combination of both the present
inputs as well as the previous outputs.
This previous output gets treated in the form of the present state.
But sequential circuit has memory so output can vary based on
input.
This type of circuits uses previous input, output, clock and a memory
element.
Sequential Circuits
Flip Flop
Flip flop is a sequential circuit which generally samples
its inputs and changes its outputs only at particular
instants of time and not continuously.
Flip flop is said to be edge sensitive or edge triggered
rather than being level triggered like latches.
S-R Flip Flop
It is basically S-R latch using NAND gates with an
additional enable input.
It is also called as level triggered SR-FF.
For this, circuit in output will take place if and only if the enable input
(E) is made active.
In short this circuit will operate as an S-R latch if E = 1 but there is no
change in the output if E = 0.
characteristics equations for flip flops: Qn+1 = S + R
 Qn
unit 5.pptx
unit 5.pptx
unit 5.pptx
unit 5.pptx
JK Flip Flop
The JK Flip-flop is similar to the SR Flip-flop but there is no change in state
when the J and K inputs are both LOW.
in sequential logic circuits but it suffers from two basic switching problems.
1. the Set = 0 and Reset = 0 condition (S = R = 0) must always be avoided
2. if Set or Reset change state while the enable (EN) input is high the correct
latching action may not occur
Then to overcome these two fundamental design problems with the SR flip-
flop design, the JK flip Flop was developed.
unit 5.pptx
unit 5.pptx
unit 5.pptx
Master-Slave JK Flip-flop
The master-slave flip-flop eliminates all the timing problems by using two
SR flip-flops connected together in a series configuration.
One flip-flop acts as the Master circuit, which triggers on the leading
edge of the clock pulse while the other acts as the Slave circuit, which
triggers on the falling edge of the clock pulse.
This results in the two sections, the master section and the slave section
being enabled during opposite half-cycles of the clock signal.
Master-Slave JK Flip-flop
The Master-Slave Flip-Flop is basically two gated SR flip-flops
connected together in a series configuration with the slave having an
inverted clock pulse.
The outputs from Q and Q from the Slave flip-flop are fed back to
the inputs of the Master with the outputs of the Master flip flop
being connected to the two inputs of the Slave flip flop.
This feedback configuration from the slaves output to the masters
input gives the characteristic toggle as shown below.
Master-Slave JK Flip-flop
Delay Flip Flop / D Flip Flop
Delay Flip Flop or D Flip Flop is the simple gated S-R latch with a NAND
inverter connected between S and R inputs.
It has only one input.
The input data is appearing at the output after some time.
Due to this data delay between i/p and o/p, it is called delay flip flop.
S and R will be the complements of each other due to NAND inverter.
Hence S = R = 0 or S = R = 1, these input condition will never appear. This
problem is avoid by SR = 00 and SR = 1 conditions.
Qn+1 = JQ
 n + K
 Qn
unit 5.pptx
unit 5.pptx
unit 5.pptx
Toggle Flip Flop / T Flip Flop
Toggle flip flop is basically a JK flip flop with J and K
terminals permanently connected together.
It has only input denoted by T as shown in the Symbol
Diagram.
The symbol for positive edge triggered T flip flop is shown
in the Block Diagram.
unit 5.pptx
unit 5.pptx
unit 5.pptx
Counters and their design
Synchronous counters
Synchronous Up/Down counters
 Programmable counters  State table and
state transition diagram ,
sequential circuits design methodology.
Counters and their design :
A special type of sequential circuit used to count the pulse is known as a
counter, or a collection of flip flops where the clock signal is applied is
known as counters.
The counter is one of the widest applications of the flip flop. Based on the
clock pulse, the output of the counter contains a predefined state. The
number of the pulse can be counted using the output of the counter.
unit 5.pptx
It is a group of flip-flops with a clock signal applied.
Counters are of two types.
(1)Asynchronous or ripple counters.
(2)Synchronous counters.
Asynchronous or ripple counters:
The external clock signal is applied to one flip flop and then
output of preceding flip flop is connected to the clock of next flip
flop.
Ripple counter is a special type of Asynchronous counter in which
the clock pulse ripples through the circuit.
The n-MOD ripple counter forms by combining n number of flip-
flops.
The n-MOD ripple counter can count 2n states, and then the
counter resets to its initial value.
unit 5.pptx
The logic diagram of a 2-bit ripple up counter is shown in
figure. The toggle (T) flip-flop are being used.
But we can use the JK flip-flop also with J and K connected
permanently to logic 1.
External clock is applied to the clock input of flip-flop
A and QA output is applied to the clock input of the next flip-
flop i.e. FF-B.
unit 5.pptx
unit 5.pptx
unit 5.pptx
unit 5.pptx
unit 5.pptx
unit 5.pptx
Synchronous counters:
If the "clock" pulses are applied to all the flip-flops in a counter
simultaneously, then such a counter is called as synchronous
counter.
2-bit Synchronous up counter
The JA and KA inputs of FF-A are tied to logic 1. So FF-A will
work as a toggle flip-flop. The JB and KB inputs are connected to
QA.
unit 5.pptx
unit 5.pptx
unit 5.pptx
unit 5.pptx
unit 5.pptx
unit 5.pptx
Classification of counters
Depending on the way in which the counting progresses, the
synchronous or asynchronous counters are classified as follows

1.Up counters
2.Down counters
3.Up/Down counters
UP/DOWN Counter:
Up counter and down counter is combined together to obtain an
UP/DOWN counter.
A mode control (M) input is also provided to select either up or
down mode.
A combinational circuit is required to be designed and used
between each pair of flip-flop in order to achieve the up/down
operation.
Type of up/down counters
UP/DOWN ripple counters
UP/DOWN synchronous counter
UP/DOWN Ripple Counters
In the UP/DOWN ripple counter all the FFs operate in the toggle mode.
So either T flip-flops or JK flip-flops are to be used.
The LSB flip-flop receives clock directly. But the clock to every other
FF is obtained from (Q = Q bar) output of the previous FF.
UP counting mode (M=0)  The Q output of the preceding FF is
connected to the clock of the next stage if up counting is to be
achieved. For this mode, the mode select input M is at logic 0 (M=0).
DOWN counting mode (M=1)  If M = 1, then the Q bar output of the
preceding FF is connected to the next FF. This will operate the counter
in the counting mode.
unit 5.pptx
unit 5.pptx
Registers shift
registers.
Register
 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 ,store 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-flop.
the four types of shift registers based on applying
inputs and accessing of outputs.
1.Serial In  Serial Out shift register
2.Serial In  Parallel Out shift register
3.Parallel In  Serial Out shift register
4.Parallel In  Parallel Out shift register
1.Serial In  Serial Out shift register
(SISO Shift Register)
The shift register, which allows serial input
and produces serial output is known as Serial
In  Serial Out SISOSISO shift register.
The block diagram of 3-bit SISO shift register
is shown in the following figure.
Similarly, the N-bit SISO shift
register requires 2N-1 clock pulses in order to
shift N bit information.
unit 5.pptx
This block diagram consists of three D flip-flops, which are cascaded.
That means, output of one D flip-flop is connected as the input of next D
flip-flop.
All these flip-flops are synchronous with each other since, the same clock
signal is applied to each one.
In this shift register, we can send the bits serially from the input of left most
D flip-flop.
Hence, this input is also called as serial input.
For every positive edge triggering of clock signal, the data shifts from one
stage to the next.
So, we can receive the bits serially from the output of right most D flip-flop.
Hence, this output is also called as serial output.
2.Serial In - Parallel Out SIPO Shift Register
 The shift register, which allows serial input and
produces parallel output is known as Serial In 
Parallel Out SIPOSIPO shift register.
 The block diagram of 3-bit SIPO shift register is
shown in the following figure.
 Similarly, the N-bit SIPO shift register requires N clock
pulses in order to shift N bit information.
unit 5.pptx
This circuit consists of three D flip-flops, which are cascaded.
That means, output of one D flip-flop is connected as the input of next D flip-
flop.
All these flip-flops are synchronous with each other since, the same clock
signal is applied to each one.
In this shift register, we can send the bits serially from the input of left most
D flip-flop. Hence, this input is also called as serial input.
For every positive edge triggering of clock signal, the data shifts from one
stage to the next.
In this case, we can access the outputs of each D flip-flop in parallel. So, we
will get parallel outputs from this shift register.
3.Parallel In  Serial Out PISO Shift Register
 The shift register, which allows parallel input and produces
serial output is known as Parallel In  Serial
Out PISOPISO shift register. The block diagram of 3-bit PISO
shift register is shown in the following figure.
 the N-bit PISO shift register requires N-1 clock pulses in
order to shift N bit information.
unit 5.pptx
This circuit consists of three D flip-flops, which are
cascaded.
That means, output of one D flip-flop is connected as the
input of next D flip-flop.
All these flip-flops are synchronous with each other since,
the same clock signal is applied to each one.
In this shift register, we can apply the parallel inputs to
each D flip-flop by making Preset Enable to 1.
For every positive edge triggering of clock signal, the data
shifts from one stage to the next. So, we will get the serial
output from the right most D flip-flop.
4.Parallel In - Parallel Out PIPO Shift Register
 The shift register, which allows parallel input and produces parallel
output is known as Parallel In  Parallel Out PIPOPIPO shift register.
The block diagram of 3-bit PIPO shift register is shown in the
following figure.
 Similarly, the N-bit PIPO shift register doesnt require any clock pulse
in order to shift N bit information.
unit 5.pptx

More Related Content

Similar to unit 5.pptx (20)

Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
Chattogram Mohila Polytechnic Institute
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
ThanmayiKumar
2105_5_Flip-Flopsssssssssssssssssssss.pptx
2105_5_Flip-Flopsssssssssssssssssssss.pptx2105_5_Flip-Flopsssssssssssssssssssss.pptx
2105_5_Flip-Flopsssssssssssssssssssss.pptx
SajidHossainKhan1
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
AmrutaMehata
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
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
TamiratDejene1
De EE unit-3.pptx
De EE unit-3.pptxDe EE unit-3.pptx
De EE unit-3.pptx
MukulThory1
Flipflop
FlipflopFlipflop
Flipflop
sohamdodia27
BEEE FLIP FLOP & REGISTERS
BEEE FLIP FLOP & REGISTERSBEEE FLIP FLOP & REGISTERS
BEEE FLIP FLOP & REGISTERS
VinithShenoy
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
Jainee Solanki
Flip flop
Flip flopFlip flop
Flip flop
Bhaskar Kumar Jha
Ring counter
Ring counterRing counter
Ring counter
Ghufran Hasan
Ade(unit 4) Counters
Ade(unit 4) CountersAde(unit 4) Counters
Ade(unit 4) Counters
ANKITSURWADE
B sc3 unit 5 sequencial lc
B sc3 unit 5 sequencial lcB sc3 unit 5 sequencial lc
B sc3 unit 5 sequencial lc
MahiboobAliMulla
Unit4_DE.pptx
Unit4_DE.pptxUnit4_DE.pptx
Unit4_DE.pptx
PriyankaJain98423
Introduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docxIntroduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docx
bagotjesusa
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
Thapar Institute
Unit III Sequential Logic Design and circuits flipflops latches types counte...
Unit III  Sequential Logic Design and circuits flipflops latches types counte...Unit III  Sequential Logic Design and circuits flipflops latches types counte...
Unit III Sequential Logic Design and circuits flipflops latches types counte...
JeevaSadhasivam
2105_4_Logic of Latchessssssssssssss.pptx
2105_4_Logic of Latchessssssssssssss.pptx2105_4_Logic of Latchessssssssssssss.pptx
2105_4_Logic of Latchessssssssssssss.pptx
SajidHossainKhan1
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
ThanmayiKumar
2105_5_Flip-Flopsssssssssssssssssssss.pptx
2105_5_Flip-Flopsssssssssssssssssssss.pptx2105_5_Flip-Flopsssssssssssssssssssss.pptx
2105_5_Flip-Flopsssssssssssssssssssss.pptx
SajidHossainKhan1
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
AmrutaMehata
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
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
TamiratDejene1
De EE unit-3.pptx
De EE unit-3.pptxDe EE unit-3.pptx
De EE unit-3.pptx
MukulThory1
BEEE FLIP FLOP & REGISTERS
BEEE FLIP FLOP & REGISTERSBEEE FLIP FLOP & REGISTERS
BEEE FLIP FLOP & REGISTERS
VinithShenoy
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
Jainee Solanki
Ade(unit 4) Counters
Ade(unit 4) CountersAde(unit 4) Counters
Ade(unit 4) Counters
ANKITSURWADE
B sc3 unit 5 sequencial lc
B sc3 unit 5 sequencial lcB sc3 unit 5 sequencial lc
B sc3 unit 5 sequencial lc
MahiboobAliMulla
Introduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docxIntroduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docx
bagotjesusa
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
Thapar Institute
Unit III Sequential Logic Design and circuits flipflops latches types counte...
Unit III  Sequential Logic Design and circuits flipflops latches types counte...Unit III  Sequential Logic Design and circuits flipflops latches types counte...
Unit III Sequential Logic Design and circuits flipflops latches types counte...
JeevaSadhasivam
2105_4_Logic of Latchessssssssssssss.pptx
2105_4_Logic of Latchessssssssssssss.pptx2105_4_Logic of Latchessssssssssssss.pptx
2105_4_Logic of Latchessssssssssssss.pptx
SajidHossainKhan1

Recently uploaded (20)

GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptxGROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
meneememoo
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
NgocThang9
Lecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptxLecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptx
rabiaatif2
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
J. Agricultural Machinery
Best KNow Hydrogen Fuel Production in the World The cost in USD kwh for H2
Best KNow  Hydrogen Fuel Production in the World The cost in USD kwh for H2Best KNow  Hydrogen Fuel Production in the World The cost in USD kwh for H2
Best KNow Hydrogen Fuel Production in the World The cost in USD kwh for H2
Daniel Donatelli
TM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdfTM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdf
ChungLe60
Syntax Directed Definitions Synthesized Attributes and Inherited Attributes
Syntax Directed Definitions  Synthesized Attributes  and  Inherited AttributesSyntax Directed Definitions  Synthesized Attributes  and  Inherited Attributes
Syntax Directed Definitions Synthesized Attributes and Inherited Attributes
GunjalSanjay
autonomous vehicle project for engineering.pdf
autonomous vehicle project for engineering.pdfautonomous vehicle project for engineering.pdf
autonomous vehicle project for engineering.pdf
JyotiLohar6
US Patented ReGenX Generator, ReGen-X Quatum Motor EV Regenerative Accelerati...
US Patented ReGenX Generator, ReGen-X Quatum Motor EV Regenerative Accelerati...US Patented ReGenX Generator, ReGen-X Quatum Motor EV Regenerative Accelerati...
US Patented ReGenX Generator, ReGen-X Quatum Motor EV Regenerative Accelerati...
Thane Heins NOBEL PRIZE WINNING ENERGY RESEARCHER
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptxMathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
ppkmurthy2006
Industrial Construction shed PEB MFG.pdf
Industrial Construction shed PEB MFG.pdfIndustrial Construction shed PEB MFG.pdf
Industrial Construction shed PEB MFG.pdf
PLINTH & ROOFS
Equipment for Gas Metal Arc Welding Process
Equipment for Gas Metal Arc Welding ProcessEquipment for Gas Metal Arc Welding Process
Equipment for Gas Metal Arc Welding Process
AhmadKamil87
Multi objective genetic approach with Ranking
Multi objective genetic approach with RankingMulti objective genetic approach with Ranking
Multi objective genetic approach with Ranking
namisha18
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptxRAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
JenTeruel1
Piping-and-pipeline-calculations-manual.pdf
Piping-and-pipeline-calculations-manual.pdfPiping-and-pipeline-calculations-manual.pdf
Piping-and-pipeline-calculations-manual.pdf
OMI0721
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdfCS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
PonniS7
Engineering at Lovely Professional University (LPU).pdf
Engineering at Lovely Professional University (LPU).pdfEngineering at Lovely Professional University (LPU).pdf
Engineering at Lovely Professional University (LPU).pdf
Sona
Taykon-Kalite belgeleri
Taykon-Kalite belgeleriTaykon-Kalite belgeleri
Taykon-Kalite belgeleri
TAYKON
Lectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).pptLectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).ppt
SherifElGohary7
Turbocor Product and Technology Review.pdf
Turbocor Product and Technology Review.pdfTurbocor Product and Technology Review.pdf
Turbocor Product and Technology Review.pdf
Totok Sulistiyanto
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptxGROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
meneememoo
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
NgocThang9
Lecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptxLecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptx
rabiaatif2
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
J. Agricultural Machinery
Best KNow Hydrogen Fuel Production in the World The cost in USD kwh for H2
Best KNow  Hydrogen Fuel Production in the World The cost in USD kwh for H2Best KNow  Hydrogen Fuel Production in the World The cost in USD kwh for H2
Best KNow Hydrogen Fuel Production in the World The cost in USD kwh for H2
Daniel Donatelli
TM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdfTM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdf
ChungLe60
Syntax Directed Definitions Synthesized Attributes and Inherited Attributes
Syntax Directed Definitions  Synthesized Attributes  and  Inherited AttributesSyntax Directed Definitions  Synthesized Attributes  and  Inherited Attributes
Syntax Directed Definitions Synthesized Attributes and Inherited Attributes
GunjalSanjay
autonomous vehicle project for engineering.pdf
autonomous vehicle project for engineering.pdfautonomous vehicle project for engineering.pdf
autonomous vehicle project for engineering.pdf
JyotiLohar6
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptxMathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
ppkmurthy2006
Industrial Construction shed PEB MFG.pdf
Industrial Construction shed PEB MFG.pdfIndustrial Construction shed PEB MFG.pdf
Industrial Construction shed PEB MFG.pdf
PLINTH & ROOFS
Equipment for Gas Metal Arc Welding Process
Equipment for Gas Metal Arc Welding ProcessEquipment for Gas Metal Arc Welding Process
Equipment for Gas Metal Arc Welding Process
AhmadKamil87
Multi objective genetic approach with Ranking
Multi objective genetic approach with RankingMulti objective genetic approach with Ranking
Multi objective genetic approach with Ranking
namisha18
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptxRAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
JenTeruel1
Piping-and-pipeline-calculations-manual.pdf
Piping-and-pipeline-calculations-manual.pdfPiping-and-pipeline-calculations-manual.pdf
Piping-and-pipeline-calculations-manual.pdf
OMI0721
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdfCS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
PonniS7
Engineering at Lovely Professional University (LPU).pdf
Engineering at Lovely Professional University (LPU).pdfEngineering at Lovely Professional University (LPU).pdf
Engineering at Lovely Professional University (LPU).pdf
Sona
Taykon-Kalite belgeleri
Taykon-Kalite belgeleriTaykon-Kalite belgeleri
Taykon-Kalite belgeleri
TAYKON
Lectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).pptLectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).ppt
SherifElGohary7
Turbocor Product and Technology Review.pdf
Turbocor Product and Technology Review.pdfTurbocor Product and Technology Review.pdf
Turbocor Product and Technology Review.pdf
Totok Sulistiyanto

unit 5.pptx

  • 2. Sequential Circuits Latches, Flip-flops - SR, JK, D, T, and Master-Slave Characteristic table and equation counters and their design, Synchronous counters Synchronous Up/Down counters Programmable counters State table and state transition diagram , sequential circuits design methodology. Registers shift registers.
  • 3. Sequential Circuits A sequential circuit refers to a special type of circuit. It consists of a series of various inputs and outputs. Here, the outputs depend on a combination of both the present inputs as well as the previous outputs. This previous output gets treated in the form of the present state. But sequential circuit has memory so output can vary based on input. This type of circuits uses previous input, output, clock and a memory element.
  • 5. Flip Flop Flip flop is a sequential circuit which generally samples its inputs and changes its outputs only at particular instants of time and not continuously. Flip flop is said to be edge sensitive or edge triggered rather than being level triggered like latches.
  • 6. S-R Flip Flop It is basically S-R latch using NAND gates with an additional enable input. It is also called as level triggered SR-FF. For this, circuit in output will take place if and only if the enable input (E) is made active. In short this circuit will operate as an S-R latch if E = 1 but there is no change in the output if E = 0. characteristics equations for flip flops: Qn+1 = S + R Qn
  • 11. JK Flip Flop The JK Flip-flop is similar to the SR Flip-flop but there is no change in state when the J and K inputs are both LOW. in sequential logic circuits but it suffers from two basic switching problems. 1. the Set = 0 and Reset = 0 condition (S = R = 0) must always be avoided 2. if Set or Reset change state while the enable (EN) input is high the correct latching action may not occur Then to overcome these two fundamental design problems with the SR flip- flop design, the JK flip Flop was developed.
  • 15. Master-Slave JK Flip-flop The master-slave flip-flop eliminates all the timing problems by using two SR flip-flops connected together in a series configuration. One flip-flop acts as the Master circuit, which triggers on the leading edge of the clock pulse while the other acts as the Slave circuit, which triggers on the falling edge of the clock pulse. This results in the two sections, the master section and the slave section being enabled during opposite half-cycles of the clock signal.
  • 16. Master-Slave JK Flip-flop The Master-Slave Flip-Flop is basically two gated SR flip-flops connected together in a series configuration with the slave having an inverted clock pulse. The outputs from Q and Q from the Slave flip-flop are fed back to the inputs of the Master with the outputs of the Master flip flop being connected to the two inputs of the Slave flip flop. This feedback configuration from the slaves output to the masters input gives the characteristic toggle as shown below.
  • 18. Delay Flip Flop / D Flip Flop Delay Flip Flop or D Flip Flop is the simple gated S-R latch with a NAND inverter connected between S and R inputs. It has only one input. The input data is appearing at the output after some time. Due to this data delay between i/p and o/p, it is called delay flip flop. S and R will be the complements of each other due to NAND inverter. Hence S = R = 0 or S = R = 1, these input condition will never appear. This problem is avoid by SR = 00 and SR = 1 conditions. Qn+1 = JQ n + K Qn
  • 22. Toggle Flip Flop / T Flip Flop Toggle flip flop is basically a JK flip flop with J and K terminals permanently connected together. It has only input denoted by T as shown in the Symbol Diagram. The symbol for positive edge triggered T flip flop is shown in the Block Diagram.
  • 26. Counters and their design Synchronous counters Synchronous Up/Down counters Programmable counters State table and state transition diagram , sequential circuits design methodology.
  • 27. Counters and their design : A special type of sequential circuit used to count the pulse is known as a counter, or a collection of flip flops where the clock signal is applied is known as counters. The counter is one of the widest applications of the flip flop. Based on the clock pulse, the output of the counter contains a predefined state. The number of the pulse can be counted using the output of the counter.
  • 29. It is a group of flip-flops with a clock signal applied. Counters are of two types. (1)Asynchronous or ripple counters. (2)Synchronous counters.
  • 30. Asynchronous or ripple counters: The external clock signal is applied to one flip flop and then output of preceding flip flop is connected to the clock of next flip flop. Ripple counter is a special type of Asynchronous counter in which the clock pulse ripples through the circuit. The n-MOD ripple counter forms by combining n number of flip- flops. The n-MOD ripple counter can count 2n states, and then the counter resets to its initial value.
  • 32. The logic diagram of a 2-bit ripple up counter is shown in figure. The toggle (T) flip-flop are being used. But we can use the JK flip-flop also with J and K connected permanently to logic 1. External clock is applied to the clock input of flip-flop A and QA output is applied to the clock input of the next flip- flop i.e. FF-B.
  • 39. Synchronous counters: If the "clock" pulses are applied to all the flip-flops in a counter simultaneously, then such a counter is called as synchronous counter. 2-bit Synchronous up counter The JA and KA inputs of FF-A are tied to logic 1. So FF-A will work as a toggle flip-flop. The JB and KB inputs are connected to QA.
  • 46. Classification of counters Depending on the way in which the counting progresses, the synchronous or asynchronous counters are classified as follows 1.Up counters 2.Down counters 3.Up/Down counters
  • 47. UP/DOWN Counter: Up counter and down counter is combined together to obtain an UP/DOWN counter. A mode control (M) input is also provided to select either up or down mode. A combinational circuit is required to be designed and used between each pair of flip-flop in order to achieve the up/down operation. Type of up/down counters UP/DOWN ripple counters UP/DOWN synchronous counter
  • 48. UP/DOWN Ripple Counters In the UP/DOWN ripple counter all the FFs operate in the toggle mode. So either T flip-flops or JK flip-flops are to be used. The LSB flip-flop receives clock directly. But the clock to every other FF is obtained from (Q = Q bar) output of the previous FF. UP counting mode (M=0) The Q output of the preceding FF is connected to the clock of the next stage if up counting is to be achieved. For this mode, the mode select input M is at logic 0 (M=0). DOWN counting mode (M=1) If M = 1, then the Q bar output of the preceding FF is connected to the next FF. This will operate the counter in the counting mode.
  • 52. Register 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 ,store 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-flop.
  • 53. the four types of shift registers based on applying inputs and accessing of outputs. 1.Serial In Serial Out shift register 2.Serial In Parallel Out shift register 3.Parallel In Serial Out shift register 4.Parallel In Parallel Out shift register
  • 54. 1.Serial In Serial Out shift register (SISO Shift Register) The shift register, which allows serial input and produces serial output is known as Serial In Serial Out SISOSISO shift register. The block diagram of 3-bit SISO shift register is shown in the following figure. Similarly, the N-bit SISO shift register requires 2N-1 clock pulses in order to shift N bit information.
  • 56. This block diagram consists of three D flip-flops, which are cascaded. That means, output of one D flip-flop is connected as the input of next D flip-flop. All these flip-flops are synchronous with each other since, the same clock signal is applied to each one. In this shift register, we can send the bits serially from the input of left most D flip-flop. Hence, this input is also called as serial input. For every positive edge triggering of clock signal, the data shifts from one stage to the next. So, we can receive the bits serially from the output of right most D flip-flop. Hence, this output is also called as serial output.
  • 57. 2.Serial In - Parallel Out SIPO Shift Register The shift register, which allows serial input and produces parallel output is known as Serial In Parallel Out SIPOSIPO shift register. The block diagram of 3-bit SIPO shift register is shown in the following figure. Similarly, the N-bit SIPO shift register requires N clock pulses in order to shift N bit information.
  • 59. This circuit consists of three D flip-flops, which are cascaded. That means, output of one D flip-flop is connected as the input of next D flip- flop. All these flip-flops are synchronous with each other since, the same clock signal is applied to each one. In this shift register, we can send the bits serially from the input of left most D flip-flop. Hence, this input is also called as serial input. For every positive edge triggering of clock signal, the data shifts from one stage to the next. In this case, we can access the outputs of each D flip-flop in parallel. So, we will get parallel outputs from this shift register.
  • 60. 3.Parallel In Serial Out PISO Shift Register The shift register, which allows parallel input and produces serial output is known as Parallel In Serial Out PISOPISO shift register. The block diagram of 3-bit PISO shift register is shown in the following figure. the N-bit PISO shift register requires N-1 clock pulses in order to shift N bit information.
  • 62. This circuit consists of three D flip-flops, which are cascaded. That means, output of one D flip-flop is connected as the input of next D flip-flop. All these flip-flops are synchronous with each other since, the same clock signal is applied to each one. In this shift register, we can apply the parallel inputs to each D flip-flop by making Preset Enable to 1. For every positive edge triggering of clock signal, the data shifts from one stage to the next. So, we will get the serial output from the right most D flip-flop.
  • 63. 4.Parallel In - Parallel Out PIPO Shift Register The shift register, which allows parallel input and produces parallel output is known as Parallel In Parallel Out PIPOPIPO shift register. The block diagram of 3-bit PIPO shift register is shown in the following figure. Similarly, the N-bit PIPO shift register doesnt require any clock pulse in order to shift N bit information.