SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Flip-flops and Related Devices
• Multivibrators are electronic circuits used to
implement a variety of simple two-state systems
such as oscillators, timers and flip-flops.
• Multivibrators are applied in a variety of systems
where square waves or timed intervals are required
• Oscillators – systems that provide a repetitive
variation (in time) of some measure about a central
value. E.g. AC power, a swinging pendulum

IS 151 Digital Circuitry

1
Flip-flops and Related Devices
• Multivibrator logic devices are of three
categories:
• Bistables – 2 stables states
• Monostables – 1 stable state
• Astables – no stable state

IS 151 Digital Circuitry

2
Flip-flops and Related Devices
• Astable – the circuit is not stable in either state
– it continuously oscillates from one state to the
other.
• Monostable – one of the states is stable, but the
other is not – the circuit will flip into the unstable
state for a determined period, but will eventually
return to the stable state
• Bistable – the circuit will remain in either state
(stable or unstable) indefinitely. The circuit can
be flipped from one state to the other by an
external event or trigger.
IS 151 Digital Circuitry

3
Bistables
• Bistables are of two types
– The latch
– The flip-flop

• Bistables have two stable states
– SET
– RESET
– They can retain either of these states indefinitely,
which makes them useful for storage purposes

• Latches and flip-flops differ in the way in which
they change from one state to another
IS 151 Digital Circuitry

4
Latches
• A type of bistable storage device, can be in either of two
states (SET, RESET)
• The S-R (SET-RESET) latch
– An active-HIGH input S-R latch is formed with 2
cross-coupled NOR gates

IS 151 Digital Circuitry

5
Latches
• An active-LOW input S-R latch
– Is formed with two cross-couples NAND gates
– The output of each gate is connected to an input of
the opposite gate
– Produces the regenerative feedback – characteristic
of all multivibrators

IS 151 Digital Circuitry

6
Latches
• The S’-R’ latch (with negative OR equivalents
used for the NAND gates)

IS 151 Digital Circuitry

7
Latches
• Assumption:
– Both inputs and the Q output are HIGH
– Q is connected as input to G2, and when R’ input it
HIGH, the output of G2 (Q’) is LOW; which is input to
G1, ensuring that its output (Q) is HIGH
– When Q is HIGH, the latch is in the SET state
– When R’ input is LOW and S’ is HIGH, the output of
G2 is HIGH
– Q’ output (HIGH) is coupled back to the input of G1,
since S’ is HIGH, the output of G1 is LOW
– When the Q output is LOW, the latch is in the
RESET state, and the latch remains there until a
LOW is applied to the S’ input
IS 151 Digital Circuitry

8
Latches
• The outputs of a latch are always complements
of each other; when Q = HIGH, Q’ = LOW and
vice versa
• Invalid condition: occurs when LOWs are
applied to both S’ and R’ at the same time
• As long as the LOW levels are simultaneously
held in the inputs, both Q and Q’ outputs are
forced HIGH, violating the basic complementary
operation of the output
IS 151 Digital Circuitry

9
Latches
• Modes of the S-R latch (SET, RESET, No
Change, Invalid Condition)
Inputs

Outputs

Comments

S’

R’

Q

Q’

1

1

NC

NC

No change

0

1

1

0

Latch SET

1

0

0

1

Latch RESET

0

0

1

1

Invalid condition

IS 151 Digital Circuitry

10
Latches
• Logic symbols for the S-R latch
S

Q

S’

S

Q

R

Q’

R’

R

Q’

Active-HIGH input
S-R Latch

Active-LOW input
S’-R’ Latch

IS 151 Digital Circuitry

11
Latches – Examples
• If the S’-R’ waveforms are applied to the inputs of the
latch, determine the waveform that will be observed on
the Q output. Assume that Q is initially LOW
S’
R’
Q

IS 151 Digital Circuitry

12
Latches – Examples
• How to obtain the output (Q) waveform – use the
latch’s truth table to obtain Q for the given S’ and R’
inputs
• Initially, Q is 0
• S’R’
• 11 = No change
• 10 = Reset
• 01 = Set

R’

Q

0

1

1

1

1

1

1

0

0

0

1

1

1

1

1

1

0

0

1

1

0

1

0

0

1

1

0

0

1

1

1

1

1

0

1

1

1
IS 151 Digital Circuitry

S’

1

1
13
The Gated S-R latch
• Requires an ENABLE, EN, input
• The S and R inputs control the state to which the
latch will go when a HIGH level is applied to
the EN input
• The latch will not change until EN is HIGH, but
as long as it remains HIGH, the output is
controlled by the state of S and R inputs
• Invalid state occurs when both S and R are
simultaneously HIGH
– as opposed to the normal S-R where invalid state
occurs when both S and R inputs are LOW at the
same time
IS 151 Digital Circuitry

14
The Gated S-R latch
• Logic diagram

• Logic symbol

S

Q

EN
Q’

R

IS 151 Digital Circuitry

15
The Gated S-R latch
• Example: determine the Q output waveform if the inputs
shown are applied to the gated S-R latch that is initially
RESET (Q = 0)
S

R

EN
Q

IS 151 Digital Circuitry

16
The Gated S-R latch
• Anytime S is HIGH and R is LOW, a HIGH
on the EN SETS the latch (Q = 1)
• Anytime S is LOW and R is HIGH, a HIGH
on the EN RESETS the latch (Q = 0)
– S R Q
– 1 1 Invalid
– 0 1 Reset (0)
– 1 0 Set (1)
– 0 0 No Change

R

EN

Q

1

0

1

1

1

0

0

1

1

0

0

1

0

1

0

1

0

1

0

1

0

1

1

0

0

1

0

0

1

0

0

0

1

0

0

0

1

0

1

1

1

0

1

1

0

1

1

0

0

1

1

0

1
IS 151 Digital Circuitry

S

0

1

1
17
The Gated S-R latch
• Exercise
– Determine the Q output of the gated S-R latch
if the S and R inputs are inverted. The latch is
initially RESET

IS 151 Digital Circuitry

18
• End of lecture

IS 151 Digital Circuitry

19

Weitere ähnliche Inhalte

Was ist angesagt?

BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
DHANESHRKNAIR01
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
James Evangelos
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flops
gavhays
 

Was ist angesagt? (20)

BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
Digital e chap 4
Digital e   chap 4Digital e   chap 4
Digital e chap 4
 
Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
 
latches
 latches latches
latches
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
 
Flip flops
Flip flopsFlip flops
Flip flops
 
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
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuit
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
Sequential logic circuits flip-flop pt 3
Sequential logic circuits   flip-flop pt 3Sequential logic circuits   flip-flop pt 3
Sequential logic circuits flip-flop pt 3
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Flipflop
FlipflopFlipflop
Flipflop
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flops
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 

Andere mochten auch

IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3
wajanga
 
COMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPSCOMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPS
Starlee Lathong
 
Flip flop& RAM ROM
Flip flop& RAM ROMFlip flop& RAM ROM
Flip flop& RAM ROM
Bala Ganesh
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
Sudheesh S Madhav
 
8.flip flops and registers
8.flip flops and registers8.flip flops and registers
8.flip flops and registers
Deepak Sharma
 
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, EncoderCOMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
Vanitha Chandru
 

Andere mochten auch (20)

IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2
 
DIGITAL ELECTRONICS- Boolean Algebra
DIGITAL ELECTRONICS- Boolean AlgebraDIGITAL ELECTRONICS- Boolean Algebra
DIGITAL ELECTRONICS- Boolean Algebra
 
COMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPSCOMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPS
 
Flip flops
Flip flopsFlip flops
Flip flops
 
Dee2034 chapter 4 flip flop for students part
Dee2034 chapter 4 flip flop  for students partDee2034 chapter 4 flip flop  for students part
Dee2034 chapter 4 flip flop for students part
 
Sequential circuit-Digital Electronics
Sequential circuit-Digital ElectronicsSequential circuit-Digital Electronics
Sequential circuit-Digital Electronics
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
Flip flop& RAM ROM
Flip flop& RAM ROMFlip flop& RAM ROM
Flip flop& RAM ROM
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
Combinational Circuits
Combinational CircuitsCombinational Circuits
Combinational Circuits
 
8.flip flops and registers
8.flip flops and registers8.flip flops and registers
8.flip flops and registers
 
Multiplexer & de multiplexer
Multiplexer & de multiplexerMultiplexer & de multiplexer
Multiplexer & de multiplexer
 
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, EncoderCOMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebra
 

Ähnlich wie IS 151 Lecture 10

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
 
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docxLab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
DIPESH30
 
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
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
DSOOP
 

Ähnlich wie IS 151 Lecture 10 (20)

Sequential
SequentialSequential
Sequential
 
Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptx
 
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)
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Unit IV version I.ppt
Unit IV version I.pptUnit IV version I.ppt
Unit IV version I.ppt
 
S-R Latch
S-R LatchS-R Latch
S-R Latch
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuits
 
latchesflip-flop DLD
latchesflip-flop DLDlatchesflip-flop DLD
latchesflip-flop DLD
 
CLOCKED RESET DOMINANT SR-LATCH
CLOCKED RESET DOMINANT SR-LATCHCLOCKED RESET DOMINANT SR-LATCH
CLOCKED RESET DOMINANT SR-LATCH
 
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docxLab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
 
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
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
 
Logic Gate
Logic GateLogic Gate
Logic Gate
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the student
 

Mehr von wajanga (20)

IS 151 Lecture 3
IS 151 Lecture 3IS 151 Lecture 3
IS 151 Lecture 3
 
IS 151 Lecture 2
IS 151 Lecture 2IS 151 Lecture 2
IS 151 Lecture 2
 
IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1
 
IS 151 Outline 2014
IS 151 Outline 2014IS 151 Outline 2014
IS 151 Outline 2014
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
 
IS 139 Assignment 1
IS 139 Assignment 1IS 139 Assignment 1
IS 139 Assignment 1
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
 
IS 139 Lecture 1
IS 139 Lecture 1IS 139 Lecture 1
IS 139 Lecture 1
 
IS 139 Lecture 2
IS 139 Lecture 2IS 139 Lecture 2
IS 139 Lecture 2
 
IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
 
IS 151 Lecture 7
IS 151 Lecture 7IS 151 Lecture 7
IS 151 Lecture 7
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
IS 151 Lecture 5
IS 151 Lecture 5IS 151 Lecture 5
IS 151 Lecture 5
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4
 
IS 151 - Lecture 3
IS 151 - Lecture 3IS 151 - Lecture 3
IS 151 - Lecture 3
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

IS 151 Lecture 10

  • 1. Flip-flops and Related Devices • Multivibrators are electronic circuits used to implement a variety of simple two-state systems such as oscillators, timers and flip-flops. • Multivibrators are applied in a variety of systems where square waves or timed intervals are required • Oscillators – systems that provide a repetitive variation (in time) of some measure about a central value. E.g. AC power, a swinging pendulum IS 151 Digital Circuitry 1
  • 2. Flip-flops and Related Devices • Multivibrator logic devices are of three categories: • Bistables – 2 stables states • Monostables – 1 stable state • Astables – no stable state IS 151 Digital Circuitry 2
  • 3. Flip-flops and Related Devices • Astable – the circuit is not stable in either state – it continuously oscillates from one state to the other. • Monostable – one of the states is stable, but the other is not – the circuit will flip into the unstable state for a determined period, but will eventually return to the stable state • Bistable – the circuit will remain in either state (stable or unstable) indefinitely. The circuit can be flipped from one state to the other by an external event or trigger. IS 151 Digital Circuitry 3
  • 4. Bistables • Bistables are of two types – The latch – The flip-flop • Bistables have two stable states – SET – RESET – They can retain either of these states indefinitely, which makes them useful for storage purposes • Latches and flip-flops differ in the way in which they change from one state to another IS 151 Digital Circuitry 4
  • 5. Latches • A type of bistable storage device, can be in either of two states (SET, RESET) • The S-R (SET-RESET) latch – An active-HIGH input S-R latch is formed with 2 cross-coupled NOR gates IS 151 Digital Circuitry 5
  • 6. Latches • An active-LOW input S-R latch – Is formed with two cross-couples NAND gates – The output of each gate is connected to an input of the opposite gate – Produces the regenerative feedback – characteristic of all multivibrators IS 151 Digital Circuitry 6
  • 7. Latches • The S’-R’ latch (with negative OR equivalents used for the NAND gates) IS 151 Digital Circuitry 7
  • 8. Latches • Assumption: – Both inputs and the Q output are HIGH – Q is connected as input to G2, and when R’ input it HIGH, the output of G2 (Q’) is LOW; which is input to G1, ensuring that its output (Q) is HIGH – When Q is HIGH, the latch is in the SET state – When R’ input is LOW and S’ is HIGH, the output of G2 is HIGH – Q’ output (HIGH) is coupled back to the input of G1, since S’ is HIGH, the output of G1 is LOW – When the Q output is LOW, the latch is in the RESET state, and the latch remains there until a LOW is applied to the S’ input IS 151 Digital Circuitry 8
  • 9. Latches • The outputs of a latch are always complements of each other; when Q = HIGH, Q’ = LOW and vice versa • Invalid condition: occurs when LOWs are applied to both S’ and R’ at the same time • As long as the LOW levels are simultaneously held in the inputs, both Q and Q’ outputs are forced HIGH, violating the basic complementary operation of the output IS 151 Digital Circuitry 9
  • 10. Latches • Modes of the S-R latch (SET, RESET, No Change, Invalid Condition) Inputs Outputs Comments S’ R’ Q Q’ 1 1 NC NC No change 0 1 1 0 Latch SET 1 0 0 1 Latch RESET 0 0 1 1 Invalid condition IS 151 Digital Circuitry 10
  • 11. Latches • Logic symbols for the S-R latch S Q S’ S Q R Q’ R’ R Q’ Active-HIGH input S-R Latch Active-LOW input S’-R’ Latch IS 151 Digital Circuitry 11
  • 12. Latches – Examples • If the S’-R’ waveforms are applied to the inputs of the latch, determine the waveform that will be observed on the Q output. Assume that Q is initially LOW S’ R’ Q IS 151 Digital Circuitry 12
  • 13. Latches – Examples • How to obtain the output (Q) waveform – use the latch’s truth table to obtain Q for the given S’ and R’ inputs • Initially, Q is 0 • S’R’ • 11 = No change • 10 = Reset • 01 = Set R’ Q 0 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 0 0 1 1 0 1 0 0 1 1 0 0 1 1 1 1 1 0 1 1 1 IS 151 Digital Circuitry S’ 1 1 13
  • 14. The Gated S-R latch • Requires an ENABLE, EN, input • The S and R inputs control the state to which the latch will go when a HIGH level is applied to the EN input • The latch will not change until EN is HIGH, but as long as it remains HIGH, the output is controlled by the state of S and R inputs • Invalid state occurs when both S and R are simultaneously HIGH – as opposed to the normal S-R where invalid state occurs when both S and R inputs are LOW at the same time IS 151 Digital Circuitry 14
  • 15. The Gated S-R latch • Logic diagram • Logic symbol S Q EN Q’ R IS 151 Digital Circuitry 15
  • 16. The Gated S-R latch • Example: determine the Q output waveform if the inputs shown are applied to the gated S-R latch that is initially RESET (Q = 0) S R EN Q IS 151 Digital Circuitry 16
  • 17. The Gated S-R latch • Anytime S is HIGH and R is LOW, a HIGH on the EN SETS the latch (Q = 1) • Anytime S is LOW and R is HIGH, a HIGH on the EN RESETS the latch (Q = 0) – S R Q – 1 1 Invalid – 0 1 Reset (0) – 1 0 Set (1) – 0 0 No Change R EN Q 1 0 1 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 1 1 1 0 1 1 0 1 1 0 0 1 1 0 1 IS 151 Digital Circuitry S 0 1 1 17
  • 18. The Gated S-R latch • Exercise – Determine the Q output of the gated S-R latch if the S and R inputs are inverted. The latch is initially RESET IS 151 Digital Circuitry 18
  • 19. • End of lecture IS 151 Digital Circuitry 19