SlideShare a Scribd company logo
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

More Related Content

What's hot

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
 
Digital e chap 4
Digital e   chap 4Digital e   chap 4
Digital e chap 4
Mohammad Bappy
 
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
Nt Arvind
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
Nousheen Arshad
 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
Muhammad Anas Mustafvi
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
Nallapati Anindra
 
latches
 latches latches
latches
Unsa Shakir
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
Raghu Vamsi
 
Flip flops
Flip flopsFlip flops
Flip flops
jyoti_lakhani
 
Flip flop
Flip flopFlip flop
Flip flop
Moni Adhikary
 
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
Arti Parab Academics
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuit
Rai University
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
Ramasubbu .P
 
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
Sarah Sue Calbio
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
Vinoth Loganathan
 
Flipflop
FlipflopFlipflop
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
Electronics for Biomedical
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flops
gavhays
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
sheheryar ahmed
 

What's hot (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
 

Viewers also liked

IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3
wajanga
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2
wajanga
 
DIGITAL ELECTRONICS- Boolean Algebra
DIGITAL ELECTRONICS- Boolean AlgebraDIGITAL ELECTRONICS- Boolean Algebra
DIGITAL ELECTRONICS- Boolean Algebra
Trinity Dwarka
 
COMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPSCOMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPS
Starlee Lathong
 
Flip flops
Flip flopsFlip flops
Flip flops
Shashi Lata
 
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
SITI SABARIAH SALIHIN
 
Sequential circuit-Digital Electronics
Sequential circuit-Digital ElectronicsSequential circuit-Digital Electronics
Sequential circuit-Digital Electronics
Bipul Roy Bpl
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
Tamim Tanvir
 
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
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
Shaik Aman
 
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
Rai University
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
gourav kottawar
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
Dharit Unadkat
 
Combinational Circuits
Combinational CircuitsCombinational Circuits
Combinational Circuits
Dilum Bandara
 
8.flip flops and registers
8.flip flops and registers8.flip flops and registers
8.flip flops and registers
Deepak Sharma
 
Multiplexer & de multiplexer
Multiplexer & de multiplexerMultiplexer & de multiplexer
Multiplexer & de multiplexer
vishalgohel12195
 
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, EncoderCOMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
Vanitha Chandru
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
Satya P. Joshi
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebra
mayannpolisticoLNU
 

Viewers also liked (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
 

Similar to IS 151 Lecture 10

Sequential
SequentialSequential
Sequential
Zain Ul Abedeen
 
Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptx
ramkumarraja7
 
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 circuit
Sequential circuitSequential circuit
Sequential circuit
Brenda Debra
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11
wajanga
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
DrSonali Vyas
 
Unit IV version I.ppt
Unit IV version I.pptUnit IV version I.ppt
Unit IV version I.ppt
SARVESHWARANPR
 
S-R Latch
S-R LatchS-R Latch
S-R Latch
Prateek2530
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
UtsavDas21
 
Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuits
Sakshi Bhargava
 
latchesflip-flop DLD
latchesflip-flop DLDlatchesflip-flop DLD
latchesflip-flop DLD
MuhammadSheraz836877
 
CLOCKED RESET DOMINANT SR-LATCH
CLOCKED RESET DOMINANT SR-LATCHCLOCKED RESET DOMINANT SR-LATCH
CLOCKED RESET DOMINANT SR-LATCH
GKGanesh2
 
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
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
AreebaShoukat4
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
Thapar Institute
 
Logic Gate
Logic GateLogic Gate
Logic Gate
Công Mai Văn
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the student
jainyshah20
 

Similar to 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
 

More from wajanga

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

More from 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
 

Recently uploaded

Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 

Recently uploaded (20)

Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 

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