SlideShare une entreprise Scribd logo
1  sur  21
Er. Nawaraj Bhandari
Digital Logic
Chapter 6:
Sequential Logic
INTRODUCTION
 In sequential circuit the present output is depend upon
present input as well as past output/outputs.
 Half of sequential circuit used the concept of
combinational circuit
 Its contain both flip flop and counter.
 Block diagram shows external outputs in a sequential
circuit are a function not only of external inputs, but also
of the present state of the memory elements
Synchronous vs. Asynchronous
There are two types of sequential circuits:
 Synchronous sequential circuit: circuit output changes only
at some discrete instants of time. This type of circuits
achieves synchronization by using a timing signal called the
clock.
 Asynchronous sequential circuit: circuit output can change
at any time (clockless).
2019/2/27 Sequential Circuits PJF - 3
Synchronous Sequential Circuits:
Flip flops as state memory
2019/2/27 Sequential Circuits PJF - 4
 The flip-flops receive their inputs from the
combinational circuit and also from a clock signal
with pulses that occur at fixed intervals of time,
as shown in the timing diagram.
 Synchronous
 1. it is easy to design
 2. a clock flip flop is used as
a memory design
 3. they are slower
 The status of memory is
changed when clock is
triggering and input is
changed
• Asynchronous
• it is not easy to
design
• Clock is not used
• They are fast
because clock is not
use
• The status of output
or memory can be
changed any time
Flip-Flops
 It is an electronic circuit which show Bi-stable operation
 There are status-on/off, like-switch of fan
 It is changing of one state from another state
 Flip flop is a memory which store the post output and we use
post output as input in sequential circuit.
 Types:-
 RS flip flop or Latch
 D flip flop- used for memory creation
 JK flip flop – used for multiple function, memory and counter
creation.
 T flip flop
Basic flip-flop circuit (direct-coupled RS flip-
flop or SR latch)
 A flip-flop circuit can be constructed from two NAND gates or two
NOR gates.
 The cross-coupled connection from the output of one gate to the
input of the other gate constitutes a feedback path
 Each flip-flop has two outputs, Q and Q', and two inputs, set and reset
case
SR Latch (NAND version)
2019/2/27 Sequential Circuits PJF - 8
S’
R’
Q
Q’
0 0
0 1
1 0
1 1
S’ R’ Q Q’0
1
1
0
1 0 Set
0 0 1
0 1 1
1 0 1
1 1 0
X Y NAND
SR Latch (NAND version)
2019/2/27 Sequential Circuits PJF - 9
S’
R’
Q
Q’
0 0
0 1
1 0
1 1
S’ R’ Q Q’1
1
1
0
1 0 Hold
0 0 1
0 1 1
1 0 1
1 1 0
X Y NAND
1 0 Set
SR Latch (NAND version)
2019/2/27 Sequential Circuits PJF - 10
S’
R’
Q
Q’
0 0
0 1
1 0
1 1
S’ R’ Q Q’1
0
0
1
0 0 1
0 1 1
1 0 1
1 1 0
X Y NAND
1 0 Hold
1 0 Set
0 1 Reset
SR Latch (NAND version)
2019/2/27 Sequential Circuits PJF - 11
S’
R’
Q
Q’
0 0
0 1
1 0
1 1
S’ R’ Q Q’1
1
0
1
0 0 1
0 1 1
1 0 1
1 1 0
X Y NAND
0 1 Hold
1 0 Set
0 1 Reset
1 0 Hold
SR Latch (NAND version)
2019/2/27 Sequential Circuits PJF - 12
S’
R’
Q
Q’
0
0
1
1
0 0 1
0 1 1
1 0 1
1 1 0
X Y NAND
0 1 Hold
0 1 Reset
0 0
0 1
1 0
1 1
S’ R’ Q Q’
1 0 Set
1 0 Hold
1 1 Disallowed
For NOR gate
Case 1:
S=0,R=1,Q=0,Q’=1
S=0,R=0,Q=0,Q’=1
CASE 2:
S=1,R=0,Q=1,Q’=0
S=0,R=0,Q=1,Q’=0
CASE 3:
S=1, R=1 Q=0,Q’=1
0 0
0 1
1 0
1 1
S R Q Q’
MEMORY
0 1
1 0
NA
0 0 1
0 1 0
1 0 0
1 1 0
X Y NOR
RS Flip-Flop
It consists of a basic flip-flop circuit and two
additional NAND gates along with clock pulse
(CP) input. The pulse input acts as an enable
signal for the other two inputs.
When the pulse input goes to 1, information from
the S or R input is allowed to reach the output.
Set state: S = 1, R = 0, and CP = 1.
Reset state: S = 0, R = 1, and CP = 1.
In either case, when CP returns to 0, the circuit
remains in its previous state. When CP = 1 and
both the S and R inputs are equal to 0, the state
of the circuit does not change.
0 0
0 1
1 0
1 1
S’ R’ Q Q’
0 1
1 0
1 1 Disallowed
MEMORY
Characteristic Table and excitation table
• Qn is referred to as the present state i.e. binary
state of the flip-flop before the application of a
clock pulse.
• Given the present state Q and the inputs S and
R, the application of a single pulse in the CP
input causes the flip-flop to go to the next
state, Qn + 1.
CK S R Qn+1
0 x x Qn
1 0 0 Qn
1 0 1 0
1 1 0 1
1 1 1 na
Qn S R Qn+1
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 na
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 na
Qn Qn+1 S R
0 0 0 x
0 1 1 0
1 0 0 1
1 1 x 0
D Flip-Flop
• One way to eliminate the undesirable condition of the
indeterminate state in the RS flip-flop is to ensure that
inputs S and R are never equal to 1 at the same time.
• The D flip-flop has only two inputs: D and CP.
• The D input goes directly to the S input and its
complement is applied to the R input.
• As long as CP is 0, the outputs of gates 3 and 4 are at the
1 level and the circuit cannot change state regardless of
the value of D. The D input is sampled when CP = 1.
• If D is 1, the Q output goes to 1, placing the circuit in the
set state.
• If D is 0, output Q goes to 0 and the circuit switches to the
clear state
• In every state D is equal to output
Jk flip flop
A JK flip-flop is a refinement of the RS flip-flop in that the
indeterminate state of the RS type is defined in the JK type.
Inputs J and K behave like inputs S and R to set and clear
the flip-flop, respectively.
The input marked J is for set and the input marked K is for
reset.
When both inputs J and K are equal to 1, the flip-flop
switches to its complement state, that is, if Q = 1, it
switches to Q = 0, and vice versa.
T flip flop
The T or "toggle" flip-flop changes its output on each
clock edge, giving an output which is half the frequency of
the signal to the T input.
It is useful for constructing binary counters, frequency
dividers, and general binary addition devices.
It can be made from a J-K flip-flop by tying both of its
inputs high.
The T or "toggle" flip-flopchanges its output on eachclock
edge, giving an output which is half the frequency of the
signal to the T input.
In this j and k is always same
Master-slave 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 slave’s output to the
master’s input gives the characteristic toggle of the JK flip
flop
When the clock is “LOW”, the outputs from the “master”
flip flop are latched and any additional changes to its
inputs are ignored. The gated “slave” flip flop now
Analysis of clock using D flip flop
Step 1
Calculate DA,DB,Y
DA=QA.X+QB
DB=QB.QA’
Y=X’QB’+X.QA
STEP 2
MAKE STATE TABLE
QA+=DA
QB+=DB
QA QB X QA+ QB+ Y
0 0 0 0 0 1
0 0 1 0 0 0
0 1 0 1 1 0
0 1 1 1 1 0
1 0 0 0 0 1
1 0 1 1 0 1
1 1 0 1 0 0
1 1 1 1 0 1
STATE DIAGRAM

Contenu connexe

Tendances

Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicJames Evangelos
 
Registers-shift register
Registers-shift registerRegisters-shift register
Registers-shift registerBilawal Fiaz
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registersDharit Unadkat
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1Sarah Sue Calbio
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to CountersISMT College
 
sequential circuits
sequential circuitssequential circuits
sequential circuitsUnsa Shakir
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 
Registers and counters
Registers and counters Registers and counters
Registers and counters Deepak John
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SUBHA SHREE
 
Ripple counter
Ripple counterRipple counter
Ripple counterchandkec
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnan J
 
JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronicsEasy n Inspire L
 

Tendances (20)

Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
Registers-shift register
Registers-shift registerRegisters-shift register
Registers-shift register
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
Flipflop
FlipflopFlipflop
Flipflop
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
Registers and counters
Registers and counters Registers and counters
Registers and counters
 
Conversion of flip flop
Conversion of flip flopConversion of flip flop
Conversion of flip flop
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
 
Ripple counter
Ripple counterRipple counter
Ripple counter
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
D and T Flip Flop
D and T Flip FlopD and T Flip Flop
D and T Flip Flop
 
full subtractor
full subtractorfull subtractor
full subtractor
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronics
 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
 

Similaire à Chapter 6: Sequential Logic

B sc3 unit 5 sequencial lc
B sc3 unit 5 sequencial lcB sc3 unit 5 sequencial lc
B sc3 unit 5 sequencial lcMahiboobAliMulla
 
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.pptxUtsavDas21
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsstudent
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptxamudhak10
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuitBrenda Debra
 
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsFYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsArti Parab Academics
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxThapar Institute
 
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.docxbagotjesusa
 
Sr jk flip flop by AMAN GOYAT
Sr jk flip flop by AMAN GOYATSr jk flip flop by AMAN GOYAT
Sr jk flip flop by AMAN GOYATAmanGoyat2
 
Computer Oragnization Flipflops
Computer Oragnization FlipflopsComputer Oragnization Flipflops
Computer Oragnization FlipflopsVanitha Chandru
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)Sairam Adithya
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxThanmayiKumar
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdfAreebaShoukat4
 
Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptxramkumarraja7
 

Similaire à Chapter 6: Sequential Logic (20)

Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
 
B sc3 unit 5 sequencial lc
B sc3 unit 5 sequencial lcB sc3 unit 5 sequencial lc
B sc3 unit 5 sequencial lc
 
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
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
Flip flop
Flip flopFlip flop
Flip flop
 
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsFYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
 
Flip flops
Flip flopsFlip flops
Flip flops
 
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
 
Sr jk flip flop by AMAN GOYAT
Sr jk flip flop by AMAN GOYATSr jk flip flop by AMAN GOYAT
Sr jk flip flop by AMAN GOYAT
 
Computer Oragnization Flipflops
Computer Oragnization FlipflopsComputer Oragnization Flipflops
Computer Oragnization Flipflops
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
 
Flip flop
Flip flopFlip flop
Flip flop
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptx
 

Plus de Er. Nawaraj Bhandari

Data mining approaches and methods
Data mining approaches and methodsData mining approaches and methods
Data mining approaches and methodsEr. Nawaraj Bhandari
 
Research trends in data warehousing and data mining
Research trends in data warehousing and data miningResearch trends in data warehousing and data mining
Research trends in data warehousing and data miningEr. Nawaraj Bhandari
 
Mining Association Rules in Large Database
Mining Association Rules in Large DatabaseMining Association Rules in Large Database
Mining Association Rules in Large DatabaseEr. Nawaraj Bhandari
 
Introduction to data mining and data warehousing
Introduction to data mining and data warehousingIntroduction to data mining and data warehousing
Introduction to data mining and data warehousingEr. Nawaraj Bhandari
 
Classification and prediction in data mining
Classification and prediction in data miningClassification and prediction in data mining
Classification and prediction in data miningEr. Nawaraj Bhandari
 
Chapter 3: Simplification of Boolean Function
Chapter 3: Simplification of Boolean FunctionChapter 3: Simplification of Boolean Function
Chapter 3: Simplification of Boolean FunctionEr. Nawaraj Bhandari
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIEr. Nawaraj Bhandari
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesEr. Nawaraj Bhandari
 
Introduction to Electronic Commerce
Introduction to Electronic CommerceIntroduction to Electronic Commerce
Introduction to Electronic CommerceEr. Nawaraj Bhandari
 
Using macros in microsoft excel part 2
Using macros in microsoft excel   part 2Using macros in microsoft excel   part 2
Using macros in microsoft excel part 2Er. Nawaraj Bhandari
 
Using macros in microsoft excel part 1
Using macros in microsoft excel   part 1Using macros in microsoft excel   part 1
Using macros in microsoft excel part 1Er. Nawaraj Bhandari
 
Application software and business processes
Application software and business processesApplication software and business processes
Application software and business processesEr. Nawaraj Bhandari
 

Plus de Er. Nawaraj Bhandari (20)

Data mining approaches and methods
Data mining approaches and methodsData mining approaches and methods
Data mining approaches and methods
 
Research trends in data warehousing and data mining
Research trends in data warehousing and data miningResearch trends in data warehousing and data mining
Research trends in data warehousing and data mining
 
Mining Association Rules in Large Database
Mining Association Rules in Large DatabaseMining Association Rules in Large Database
Mining Association Rules in Large Database
 
Introduction to data mining and data warehousing
Introduction to data mining and data warehousingIntroduction to data mining and data warehousing
Introduction to data mining and data warehousing
 
Data warehouse testing
Data warehouse testingData warehouse testing
Data warehouse testing
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
 
Data warehouse logical design
Data warehouse logical designData warehouse logical design
Data warehouse logical design
 
Classification and prediction in data mining
Classification and prediction in data miningClassification and prediction in data mining
Classification and prediction in data mining
 
Chapter 3: Simplification of Boolean Function
Chapter 3: Simplification of Boolean FunctionChapter 3: Simplification of Boolean Function
Chapter 3: Simplification of Boolean Function
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSI
 
Chapter 4: Combinational Logic
Chapter 4: Combinational LogicChapter 4: Combinational Logic
Chapter 4: Combinational Logic
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
 
Introduction to Electronic Commerce
Introduction to Electronic CommerceIntroduction to Electronic Commerce
Introduction to Electronic Commerce
 
Evaluating software development
Evaluating software developmentEvaluating software development
Evaluating software development
 
Using macros in microsoft excel part 2
Using macros in microsoft excel   part 2Using macros in microsoft excel   part 2
Using macros in microsoft excel part 2
 
Using macros in microsoft excel part 1
Using macros in microsoft excel   part 1Using macros in microsoft excel   part 1
Using macros in microsoft excel part 1
 
Using macros in microsoft access
Using macros in microsoft accessUsing macros in microsoft access
Using macros in microsoft access
 
Testing software development
Testing software developmentTesting software development
Testing software development
 
Application software and business processes
Application software and business processesApplication software and business processes
Application software and business processes
 

Dernier

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 

Dernier (20)

Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 

Chapter 6: Sequential Logic

  • 1. Er. Nawaraj Bhandari Digital Logic Chapter 6: Sequential Logic
  • 2. INTRODUCTION  In sequential circuit the present output is depend upon present input as well as past output/outputs.  Half of sequential circuit used the concept of combinational circuit  Its contain both flip flop and counter.  Block diagram shows external outputs in a sequential circuit are a function not only of external inputs, but also of the present state of the memory elements
  • 3. Synchronous vs. Asynchronous There are two types of sequential circuits:  Synchronous sequential circuit: circuit output changes only at some discrete instants of time. This type of circuits achieves synchronization by using a timing signal called the clock.  Asynchronous sequential circuit: circuit output can change at any time (clockless). 2019/2/27 Sequential Circuits PJF - 3
  • 4. Synchronous Sequential Circuits: Flip flops as state memory 2019/2/27 Sequential Circuits PJF - 4  The flip-flops receive their inputs from the combinational circuit and also from a clock signal with pulses that occur at fixed intervals of time, as shown in the timing diagram.
  • 5.  Synchronous  1. it is easy to design  2. a clock flip flop is used as a memory design  3. they are slower  The status of memory is changed when clock is triggering and input is changed • Asynchronous • it is not easy to design • Clock is not used • They are fast because clock is not use • The status of output or memory can be changed any time
  • 6. Flip-Flops  It is an electronic circuit which show Bi-stable operation  There are status-on/off, like-switch of fan  It is changing of one state from another state  Flip flop is a memory which store the post output and we use post output as input in sequential circuit.  Types:-  RS flip flop or Latch  D flip flop- used for memory creation  JK flip flop – used for multiple function, memory and counter creation.  T flip flop
  • 7. Basic flip-flop circuit (direct-coupled RS flip- flop or SR latch)  A flip-flop circuit can be constructed from two NAND gates or two NOR gates.  The cross-coupled connection from the output of one gate to the input of the other gate constitutes a feedback path  Each flip-flop has two outputs, Q and Q', and two inputs, set and reset case
  • 8. SR Latch (NAND version) 2019/2/27 Sequential Circuits PJF - 8 S’ R’ Q Q’ 0 0 0 1 1 0 1 1 S’ R’ Q Q’0 1 1 0 1 0 Set 0 0 1 0 1 1 1 0 1 1 1 0 X Y NAND
  • 9. SR Latch (NAND version) 2019/2/27 Sequential Circuits PJF - 9 S’ R’ Q Q’ 0 0 0 1 1 0 1 1 S’ R’ Q Q’1 1 1 0 1 0 Hold 0 0 1 0 1 1 1 0 1 1 1 0 X Y NAND 1 0 Set
  • 10. SR Latch (NAND version) 2019/2/27 Sequential Circuits PJF - 10 S’ R’ Q Q’ 0 0 0 1 1 0 1 1 S’ R’ Q Q’1 0 0 1 0 0 1 0 1 1 1 0 1 1 1 0 X Y NAND 1 0 Hold 1 0 Set 0 1 Reset
  • 11. SR Latch (NAND version) 2019/2/27 Sequential Circuits PJF - 11 S’ R’ Q Q’ 0 0 0 1 1 0 1 1 S’ R’ Q Q’1 1 0 1 0 0 1 0 1 1 1 0 1 1 1 0 X Y NAND 0 1 Hold 1 0 Set 0 1 Reset 1 0 Hold
  • 12. SR Latch (NAND version) 2019/2/27 Sequential Circuits PJF - 12 S’ R’ Q Q’ 0 0 1 1 0 0 1 0 1 1 1 0 1 1 1 0 X Y NAND 0 1 Hold 0 1 Reset 0 0 0 1 1 0 1 1 S’ R’ Q Q’ 1 0 Set 1 0 Hold 1 1 Disallowed
  • 13. For NOR gate Case 1: S=0,R=1,Q=0,Q’=1 S=0,R=0,Q=0,Q’=1 CASE 2: S=1,R=0,Q=1,Q’=0 S=0,R=0,Q=1,Q’=0 CASE 3: S=1, R=1 Q=0,Q’=1 0 0 0 1 1 0 1 1 S R Q Q’ MEMORY 0 1 1 0 NA 0 0 1 0 1 0 1 0 0 1 1 0 X Y NOR
  • 14. RS Flip-Flop It consists of a basic flip-flop circuit and two additional NAND gates along with clock pulse (CP) input. The pulse input acts as an enable signal for the other two inputs. When the pulse input goes to 1, information from the S or R input is allowed to reach the output. Set state: S = 1, R = 0, and CP = 1. Reset state: S = 0, R = 1, and CP = 1. In either case, when CP returns to 0, the circuit remains in its previous state. When CP = 1 and both the S and R inputs are equal to 0, the state of the circuit does not change. 0 0 0 1 1 0 1 1 S’ R’ Q Q’ 0 1 1 0 1 1 Disallowed MEMORY
  • 15. Characteristic Table and excitation table • Qn is referred to as the present state i.e. binary state of the flip-flop before the application of a clock pulse. • Given the present state Q and the inputs S and R, the application of a single pulse in the CP input causes the flip-flop to go to the next state, Qn + 1. CK S R Qn+1 0 x x Qn 1 0 0 Qn 1 0 1 0 1 1 0 1 1 1 1 na Qn S R Qn+1 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 na 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 na Qn Qn+1 S R 0 0 0 x 0 1 1 0 1 0 0 1 1 1 x 0
  • 16. D Flip-Flop • One way to eliminate the undesirable condition of the indeterminate state in the RS flip-flop is to ensure that inputs S and R are never equal to 1 at the same time. • The D flip-flop has only two inputs: D and CP. • The D input goes directly to the S input and its complement is applied to the R input. • As long as CP is 0, the outputs of gates 3 and 4 are at the 1 level and the circuit cannot change state regardless of the value of D. The D input is sampled when CP = 1. • If D is 1, the Q output goes to 1, placing the circuit in the set state. • If D is 0, output Q goes to 0 and the circuit switches to the clear state • In every state D is equal to output
  • 17. Jk flip flop A JK flip-flop is a refinement of the RS flip-flop in that the indeterminate state of the RS type is defined in the JK type. Inputs J and K behave like inputs S and R to set and clear the flip-flop, respectively. The input marked J is for set and the input marked K is for reset. When both inputs J and K are equal to 1, the flip-flop switches to its complement state, that is, if Q = 1, it switches to Q = 0, and vice versa.
  • 18. T flip flop The T or "toggle" flip-flop changes its output on each clock edge, giving an output which is half the frequency of the signal to the T input. It is useful for constructing binary counters, frequency dividers, and general binary addition devices. It can be made from a J-K flip-flop by tying both of its inputs high. The T or "toggle" flip-flopchanges its output on eachclock edge, giving an output which is half the frequency of the signal to the T input. In this j and k is always same
  • 19. Master-slave 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 slave’s output to the master’s input gives the characteristic toggle of the JK flip flop When the clock is “LOW”, the outputs from the “master” flip flop are latched and any additional changes to its inputs are ignored. The gated “slave” flip flop now
  • 20. Analysis of clock using D flip flop Step 1 Calculate DA,DB,Y DA=QA.X+QB DB=QB.QA’ Y=X’QB’+X.QA STEP 2 MAKE STATE TABLE QA+=DA QB+=DB QA QB X QA+ QB+ Y 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0 1 0 0 0 0 1 1 0 1 1 0 1 1 1 0 1 0 0 1 1 1 1 0 1

Notes de l'éditeur

  1. 3
  2. 4
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12