際際滷

際際滷Share a Scribd company logo
Government Engineering
college,Bhavnagar
semester: 3
Branch: Computer (2015)
Name:- Paresh Parmar
subject: Digital Electronics
Enrollment No: 140210107040
Topic: Sequential Circuits
Combinational Logic
 Combinational Logic:
 Output depends only on current input
 Has no memory
2016/11/8 22
Sequential Logic
 Sequential Logic:
 Output depends not only on current input but also on
past input values, e.g., design a counter
 Need some type of memory to remember the past input
values
2016/11/8 33
Sequential Circuits
2016/11/8 Sequential Circuits 44
Circuits that we
have learned
so far
Information Storing
Circuits
Timed States
Sequential Logic: Concept
 Sequential Logic circuits remember past inputs and
past circuit state.
 Outputs from the system are
fed back as new inputs
 With gate delay and wire delay
 The storage elements are circuits that are capable of
storing binary information: memory.
2016/11/8 55
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).
2016/11/8 66
Clock Period
2016/11/8 77
FF FFCombinational
Circuit
Smallest clock period = largest combinational
circuit delay between any two directly connected
FF, subjected to impact of FF setup time.
FF
SR Latch (NAND version)
2016/11/8 88
S
R
Q
Q
0 0
0 1
1 0
1 1
S R Q Q0
0
1
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
1 1 Disallowed
2016/11/8 99
SR Latch with Clock signal
Latch is sensitive to input changes ONLY when C=1
2016/11/8 1010
D Latch with Transmission Gates
 C=1 TG1 closes and TG2 opens Q=D and Q=D
 C=0 TG1 opens and TG2 closes Hold Q and Q
2
1
Flip-Flops
 Latches are transparent (= any change on the inputs
is seen at the outputs immediately when C=1).
 This causes synchronization problems.
 Solution: use latches to create flip-flops that can
respond (update) only on specific times (instead of
any time).
 Types: RS flip-flop and D flip-flop
2016/11/8 1111
2016/11/8 1212
S R CLK Q Q
0 0 1 Q0 Q0 Store
0 1 1 0 1 Reset
1 0 1 1 0 Set
1 1 1 1 1 Disallowed
X X 0 Q0 Q0 Store
Master-Slave FF configuration
using SR latches (cont.)
When C=1, master is enabled and
stores new data, slave stores old
data.
When C=0, masters state passes
to enabled slave, master not
sensitive to new data (disabled).
Characteristic Tables
 Defines the logical properties of a flip-flop (such as a
truth table does for a logic gate).
 Q(t)  present state at time t
 Q(t+1)  next state at time t+1
2016/11/8 1313
Characteristic Tables (cont.)
SR Flip-Flop
S R Q(t+1) Operation
0 0 Q(t) No change/Hold
0 1 0 Reset
1 0 1 Set
1 1 ? Undefined/Invalid
2016/11/8 1414
Sequential Circuit Analysis
 Analysis: Consists of obtaining a suitable description that
demonstrates the time sequence of inputs, outputs, and
states.
 Logic diagram: Boolean gates, flip-flops (of any kind), and
appropriate interconnections.
 The logic diagram is derived from any of the following:
 Boolean Equations (FF-Inputs, Outputs)
 State Table
 State Diagram
2016/11/8 1515
Example (continued)
 Boolean equations for the
functions:
 A(t+1) = A(t)x(t) +
B(t)x(t)
 B(t+1) = A(t)x(t)
 y(t) = x(t)(B(t) + A(t))
2016/11/8 1616
C
D Q
Q
C
D Q
Q'
y
x
A
A
B
CP
Next State
Output
State Table Characteristics
 State table  a multiple variable table with the following
four sections:
 Present State  the values of the state variables for each allowed
state.
 Input  the input combinations allowed.
 Next-state  the value of the state at time (t+1) based on the
present state and the input.
 Output  the value of the output as a function of the present
state and (sometimes) the input.
 From the viewpoint of a truth table:
 the inputs are Input, Present State
 and the outputs are Output, Next State
2016/11/8 1717
Example: State Table
 The state table can be filled in using the next state and output
equations:
 A(t+1) = A(t)x(t) + B(t)x(t)
 B(t+1) = A (t)x(t);
 y(t) = x (t)(B(t) + A(t))
2016/11/8 1818
Present State Input Next State Output
A(t) B(t) x(t) A(t+1) B(t+1) y(t)
0 0 0 0 0 0
0 0 1 0 1 0
0 1 0 0 0 1
0 1 1 1 1 0
1 0 0 0 0 1
1 0 1 1 0 0
1 1 0 0 0 1
1 1 1 1 0 0
State Diagrams
 The sequential circuit function can be represented in
graphical form as a state diagram with the following
components:
 A circle with the state name in it for each state
 A directed arc from the Present State to the Next State for each state
transition
 A label on each directed arc with the Input values which causes the
state transition, and
 A label:
 On each circle with the output value produced, or
 On each directed arc with the output value produced.
2016/11/8 1919
Example: State Diagram
 Diagram gets
confusing for
large circuits
 For small circuits,
usually easier to
understand than
the state table
2016/11/8 2020
A B
0 0
0 1 1 1
1 0
x=0/y=1 x=1/y=0
x=1/y=0
x=1/y=0
x=0/y=1
x=0/y=1
x=1/y=0
x=0/y=0
Summary
 Sequential circuit timing analysis
 Flip-Flop
 Transmission gate based flip-flop design
 Setup time
2016/11/8 2121
Thank you.......(属_属)

More Related Content

What's hot (20)

Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
Ramasubbu .P
Counters
CountersCounters
Counters
Revathi Subramaniam
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
Vinoth Loganathan
Counters
CountersCounters
Counters
Abhilash Nair
Logic families
Logic familiesLogic families
Logic families
SARITHA REDDY
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
ISMT College
Race around and master slave flip flop
Race around and master slave flip flopRace around and master slave flip flop
Race around and master slave flip flop
Shubham Singh
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
kumari36
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
ISMT College
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
Jayanshu Gundaniya
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital Electronics
Md Sadequl Islam
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
Krishma Parekh
Latch and flip flop
Latch and flip flopLatch and flip flop
Latch and flip flop
GargiKhanna1
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
Satya P. Joshi
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
sheheryar ahmed
Finite state machines
Finite state machinesFinite state machines
Finite state machines
dennis gookyi
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPMASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
Smit Shah
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
Unsa Shakir
Register in Digital Logic
Register in Digital LogicRegister in Digital Logic
Register in Digital Logic
ISMT College
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
Viraj Shah
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
Ramasubbu .P
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
Vinoth Loganathan
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
ISMT College
Race around and master slave flip flop
Race around and master slave flip flopRace around and master slave flip flop
Race around and master slave flip flop
Shubham Singh
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
kumari36
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
ISMT College
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
Jayanshu Gundaniya
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital Electronics
Md Sadequl Islam
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
Krishma Parekh
Latch and flip flop
Latch and flip flopLatch and flip flop
Latch and flip flop
GargiKhanna1
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
Satya P. Joshi
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
sheheryar ahmed
Finite state machines
Finite state machinesFinite state machines
Finite state machines
dennis gookyi
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPMASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
Smit Shah
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
Unsa Shakir
Register in Digital Logic
Register in Digital LogicRegister in Digital Logic
Register in Digital Logic
ISMT College
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
Viraj Shah

Similar to Sequential circuits (20)

DIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.pptDIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.ppt
Amitpaswan23
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
Heman Pathak
DLD Combinational vs Sequential Circuits
DLD Combinational vs Sequential CircuitsDLD Combinational vs Sequential Circuits
DLD Combinational vs Sequential Circuits
InfoPedia3
PPT 2nd unit course file.ppt
PPT 2nd unit course file.pptPPT 2nd unit course file.ppt
PPT 2nd unit course file.ppt
SILAMBARASANAECEKIOT
Counter Register power point to learn good
Counter Register power point to learn goodCounter Register power point to learn good
Counter Register power point to learn good
6AEntertainment
Unit I_CDA-1 computer design and applications.
Unit I_CDA-1 computer design and applications.Unit I_CDA-1 computer design and applications.
Unit I_CDA-1 computer design and applications.
brijeshgolani77
Lec9
Lec9Lec9
Lec9
SouravRoyElectronics
Analysis sequential circuits
Analysis sequential circuitsAnalysis sequential circuits
Analysis sequential circuits
G Subramaniamg
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
ThanmayiKumar
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptxSequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
AhmedAlAfandi5
Sequential Circuits-ppt_2.pdf
Sequential Circuits-ppt_2.pdfSequential Circuits-ppt_2.pdf
Sequential Circuits-ppt_2.pdf
imadshaheen2
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
School of Design Engineering Fashion & Technology (DEFT), University of Wales, Newport
lec7.ppt
lec7.pptlec7.ppt
lec7.ppt
SalmanHameed26
Lecture 3
Lecture 3Lecture 3
Lecture 3
MunasarAbdirahman
Chapter 3
Chapter 3Chapter 3
Chapter 3
EasyStudy3
Sequential Circuits and flops moore mealy
Sequential Circuits and flops moore mealySequential Circuits and flops moore mealy
Sequential Circuits and flops moore mealy
RameshKoppadi
Lecture 12.pptx
Lecture 12.pptxLecture 12.pptx
Lecture 12.pptx
TimePresents
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Hsien-Hsin Sean Lee, Ph.D.
Sequential logic circuit
Sequential logic circuitSequential logic circuit
Sequential logic circuit
AswiniT3
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
AmrutaMehata
DIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.pptDIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.ppt
Amitpaswan23
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
Heman Pathak
DLD Combinational vs Sequential Circuits
DLD Combinational vs Sequential CircuitsDLD Combinational vs Sequential Circuits
DLD Combinational vs Sequential Circuits
InfoPedia3
Counter Register power point to learn good
Counter Register power point to learn goodCounter Register power point to learn good
Counter Register power point to learn good
6AEntertainment
Unit I_CDA-1 computer design and applications.
Unit I_CDA-1 computer design and applications.Unit I_CDA-1 computer design and applications.
Unit I_CDA-1 computer design and applications.
brijeshgolani77
Analysis sequential circuits
Analysis sequential circuitsAnalysis sequential circuits
Analysis sequential circuits
G Subramaniamg
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
ThanmayiKumar
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptxSequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
AhmedAlAfandi5
Sequential Circuits-ppt_2.pdf
Sequential Circuits-ppt_2.pdfSequential Circuits-ppt_2.pdf
Sequential Circuits-ppt_2.pdf
imadshaheen2
Sequential Circuits and flops moore mealy
Sequential Circuits and flops moore mealySequential Circuits and flops moore mealy
Sequential Circuits and flops moore mealy
RameshKoppadi
Lecture 12.pptx
Lecture 12.pptxLecture 12.pptx
Lecture 12.pptx
TimePresents
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Hsien-Hsin Sean Lee, Ph.D.
Sequential logic circuit
Sequential logic circuitSequential logic circuit
Sequential logic circuit
AswiniT3
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
AmrutaMehata

Recently uploaded (20)

How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷sHow to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
Celine George
N.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity BriefingN.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity Briefing
Mebane Rash
Useful environment methods in Odoo 18 - Odoo 際際滷s
Useful environment methods in Odoo 18 - Odoo 際際滷sUseful environment methods in Odoo 18 - Odoo 際際滷s
Useful environment methods in Odoo 18 - Odoo 際際滷s
Celine George
PUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health SystemsPUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health Systems
Jonathan Hallett
South Hornsey: The Lost Local Authority that Merged with Stoke Newington by T...
South Hornsey: The Lost Local Authority that Merged with Stoke Newington by T...South Hornsey: The Lost Local Authority that Merged with Stoke Newington by T...
South Hornsey: The Lost Local Authority that Merged with Stoke Newington by T...
History of Stoke Newington
TPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategyTPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategy
Henry Tapper
English 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom ObsEnglish 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom Obs
NerissaMendez1
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptxFESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
DanmarieMuli1
QuickBooks Desktop to QuickBooks Online How to Make the Move
QuickBooks Desktop to QuickBooks Online  How to Make the MoveQuickBooks Desktop to QuickBooks Online  How to Make the Move
QuickBooks Desktop to QuickBooks Online How to Make the Move
TechSoup
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Computer Application in Business (commerce)
Computer Application in Business (commerce)Computer Application in Business (commerce)
Computer Application in Business (commerce)
Sudar Sudar
Year 10 The Senior Phase Session 3 Term 1.pptx
Year 10 The Senior Phase Session 3 Term 1.pptxYear 10 The Senior Phase Session 3 Term 1.pptx
Year 10 The Senior Phase Session 3 Term 1.pptx
mansk2
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
Modeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptxModeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptx
maribethlacno2
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
sandynavergas1
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
RizaBedayo
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
A PPT Presentation on The Princess and the God: A tale of ancient India  by A...A PPT Presentation on The Princess and the God: A tale of ancient India  by A...
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
Beena E S
cervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdfcervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdf
SamarHosni3
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷sHow to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
Celine George
N.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity BriefingN.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity Briefing
Mebane Rash
Useful environment methods in Odoo 18 - Odoo 際際滷s
Useful environment methods in Odoo 18 - Odoo 際際滷sUseful environment methods in Odoo 18 - Odoo 際際滷s
Useful environment methods in Odoo 18 - Odoo 際際滷s
Celine George
PUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health SystemsPUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health Systems
Jonathan Hallett
South Hornsey: The Lost Local Authority that Merged with Stoke Newington by T...
South Hornsey: The Lost Local Authority that Merged with Stoke Newington by T...South Hornsey: The Lost Local Authority that Merged with Stoke Newington by T...
South Hornsey: The Lost Local Authority that Merged with Stoke Newington by T...
History of Stoke Newington
TPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategyTPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategy
Henry Tapper
English 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom ObsEnglish 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom Obs
NerissaMendez1
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptxFESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
DanmarieMuli1
QuickBooks Desktop to QuickBooks Online How to Make the Move
QuickBooks Desktop to QuickBooks Online  How to Make the MoveQuickBooks Desktop to QuickBooks Online  How to Make the Move
QuickBooks Desktop to QuickBooks Online How to Make the Move
TechSoup
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Computer Application in Business (commerce)
Computer Application in Business (commerce)Computer Application in Business (commerce)
Computer Application in Business (commerce)
Sudar Sudar
Year 10 The Senior Phase Session 3 Term 1.pptx
Year 10 The Senior Phase Session 3 Term 1.pptxYear 10 The Senior Phase Session 3 Term 1.pptx
Year 10 The Senior Phase Session 3 Term 1.pptx
mansk2
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
Modeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptxModeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptx
maribethlacno2
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
sandynavergas1
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
RizaBedayo
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
A PPT Presentation on The Princess and the God: A tale of ancient India  by A...A PPT Presentation on The Princess and the God: A tale of ancient India  by A...
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
Beena E S
cervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdfcervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdf
SamarHosni3

Sequential circuits

  • 1. Government Engineering college,Bhavnagar semester: 3 Branch: Computer (2015) Name:- Paresh Parmar subject: Digital Electronics Enrollment No: 140210107040 Topic: Sequential Circuits
  • 2. Combinational Logic Combinational Logic: Output depends only on current input Has no memory 2016/11/8 22
  • 3. Sequential Logic Sequential Logic: Output depends not only on current input but also on past input values, e.g., design a counter Need some type of memory to remember the past input values 2016/11/8 33
  • 4. Sequential Circuits 2016/11/8 Sequential Circuits 44 Circuits that we have learned so far Information Storing Circuits Timed States
  • 5. Sequential Logic: Concept Sequential Logic circuits remember past inputs and past circuit state. Outputs from the system are fed back as new inputs With gate delay and wire delay The storage elements are circuits that are capable of storing binary information: memory. 2016/11/8 55
  • 6. 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). 2016/11/8 66
  • 7. Clock Period 2016/11/8 77 FF FFCombinational Circuit Smallest clock period = largest combinational circuit delay between any two directly connected FF, subjected to impact of FF setup time. FF
  • 8. SR Latch (NAND version) 2016/11/8 88 S R Q Q 0 0 0 1 1 0 1 1 S R Q Q0 0 1 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 1 1 Disallowed
  • 9. 2016/11/8 99 SR Latch with Clock signal Latch is sensitive to input changes ONLY when C=1
  • 10. 2016/11/8 1010 D Latch with Transmission Gates C=1 TG1 closes and TG2 opens Q=D and Q=D C=0 TG1 opens and TG2 closes Hold Q and Q 2 1
  • 11. Flip-Flops Latches are transparent (= any change on the inputs is seen at the outputs immediately when C=1). This causes synchronization problems. Solution: use latches to create flip-flops that can respond (update) only on specific times (instead of any time). Types: RS flip-flop and D flip-flop 2016/11/8 1111
  • 12. 2016/11/8 1212 S R CLK Q Q 0 0 1 Q0 Q0 Store 0 1 1 0 1 Reset 1 0 1 1 0 Set 1 1 1 1 1 Disallowed X X 0 Q0 Q0 Store Master-Slave FF configuration using SR latches (cont.) When C=1, master is enabled and stores new data, slave stores old data. When C=0, masters state passes to enabled slave, master not sensitive to new data (disabled).
  • 13. Characteristic Tables Defines the logical properties of a flip-flop (such as a truth table does for a logic gate). Q(t) present state at time t Q(t+1) next state at time t+1 2016/11/8 1313
  • 14. Characteristic Tables (cont.) SR Flip-Flop S R Q(t+1) Operation 0 0 Q(t) No change/Hold 0 1 0 Reset 1 0 1 Set 1 1 ? Undefined/Invalid 2016/11/8 1414
  • 15. Sequential Circuit Analysis Analysis: Consists of obtaining a suitable description that demonstrates the time sequence of inputs, outputs, and states. Logic diagram: Boolean gates, flip-flops (of any kind), and appropriate interconnections. The logic diagram is derived from any of the following: Boolean Equations (FF-Inputs, Outputs) State Table State Diagram 2016/11/8 1515
  • 16. Example (continued) Boolean equations for the functions: A(t+1) = A(t)x(t) + B(t)x(t) B(t+1) = A(t)x(t) y(t) = x(t)(B(t) + A(t)) 2016/11/8 1616 C D Q Q C D Q Q' y x A A B CP Next State Output
  • 17. State Table Characteristics State table a multiple variable table with the following four sections: Present State the values of the state variables for each allowed state. Input the input combinations allowed. Next-state the value of the state at time (t+1) based on the present state and the input. Output the value of the output as a function of the present state and (sometimes) the input. From the viewpoint of a truth table: the inputs are Input, Present State and the outputs are Output, Next State 2016/11/8 1717
  • 18. Example: State Table The state table can be filled in using the next state and output equations: A(t+1) = A(t)x(t) + B(t)x(t) B(t+1) = A (t)x(t); y(t) = x (t)(B(t) + A(t)) 2016/11/8 1818 Present State Input Next State Output A(t) B(t) x(t) A(t+1) B(t+1) y(t) 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 1 0 1 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0
  • 19. State Diagrams The sequential circuit function can be represented in graphical form as a state diagram with the following components: A circle with the state name in it for each state A directed arc from the Present State to the Next State for each state transition A label on each directed arc with the Input values which causes the state transition, and A label: On each circle with the output value produced, or On each directed arc with the output value produced. 2016/11/8 1919
  • 20. Example: State Diagram Diagram gets confusing for large circuits For small circuits, usually easier to understand than the state table 2016/11/8 2020 A B 0 0 0 1 1 1 1 0 x=0/y=1 x=1/y=0 x=1/y=0 x=1/y=0 x=0/y=1 x=0/y=1 x=1/y=0 x=0/y=0
  • 21. Summary Sequential circuit timing analysis Flip-Flop Transmission gate based flip-flop design Setup time 2016/11/8 2121