SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Presentation Topic:
Latches and Flip-Flops...
… Nousheen Arshad...
R1F15BSCS0040
Punjab University (UCP CAmpus)
: Sequential Circuits :
• Sequential Circuits are those whose outputs are also dependent upon
past inputs, and hence outputs.
• In other words, the output of the sequential circuits may depend upon its
previous outputs.
• The two most popular varieties of storage cells used to build sequential
circuits are:
• Latches.
• Flip-Flop.
: Latches :
• Latches are the building blocks of sequential circuits and these can be built
from logical gates.
• It is a level sensitive storage element.
• Latch does not have a clock signal.
• Some examples of latches are:
• SR Latch.
• S'R' Latch.
• D Latch (gated D latch).
:SR Latch: :S'R' Latch:
• The simple bi-stable device is called SR
Latch.
• To create an SR Latch, we can wire two
NOR gates in such a way that the output of
one feeds back to the input of another,
and vice versa, like this:
• "Cross- coupling" two NAND gates gives
the S'R' Latch.
• Which has the time sequence behavior.
• S=0, R=0 is forbidden as input pattern.
: D Latch (Gated Latch) :
• The name "data type latch" refers to a D-type flip-flop that is level-
triggered, as the data (1 or 0) appearing at D can be held or 'latched' at
any time whilst the Clk input is at a high level (logic 1).
• For the D Latch, Q+ represents the state of flip-flop a short time after the
active clock-edge.
: Flip-Flop :
• Flip-flop are also the building blocks of sequential circuits.
• But, these can be built from the latches.
• It works on the basis of clock pulses.
• They are used as a registers.
• Flip flops are edge-triggered.
• Flip flop is sensitive to a signal change.They can transfer only at single
instant, and data cannot be changed until next signal change.
: Edge-Triggered Flip-Flop :
• An edge-triggered flip-flop changes states either at the positive edge
(rising edge) or at the negative edge (falling edge) of the clock pulse out
the control input.
• A rising edge-triggered flip-flop can be constructed from two gated D
latches and an inverter.
• These flip-flop are very useful, as they form for shift registers, which are
an essential part of many electronic devices.
: Flip-Flop with Additional Inputs :
• Flip-flops often have additional inputs which can be used to set the flip-flop to an initial state
independent of the clock.
• When designing a synchronous system, we frequently encounter situations when we want
some flip-flops to hold existing data even if the data input may be changing.
• There are two approaches:
• Gating the clock = may results in the loss of synchronization.
• A Flip-flop with clock enable = cost extra power.
• Flip-flop with clear and present inputs :
• A logic 0 applied to ClrN will reset Q to 0.
• A logic 0 applied to PreN will set Q to 1.
• ClrN and PreN are often referred to as asynchronous clear and present inputs.
: Asynchronous Sequential Circuits :
• Asynchronous inputs on a flip-flop have control over the outputs (Q and
Not-Q) regardless of clock input status.
• These inputs are called preset (PRE) and clear (CLR).
• The preset input drives the flip-flop to a set state while the clear input
drives it to a reset state.
• It is possible to drive the outputs of a J-K flip-flop to an invalid condition
using the asynchronous inputs, because all feedback within the
multivibrator circuit is overridden.
Latches & flip flop

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for students
CT Sabariah Salihin
 

Was ist angesagt? (20)

Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
 
Counters
CountersCounters
Counters
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
Flipflop
FlipflopFlipflop
Flipflop
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
Flip Flop
Flip FlopFlip Flop
Flip Flop
 
Flip Flop & RS Latch
Flip Flop & RS LatchFlip Flop & RS Latch
Flip Flop & RS Latch
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for students
 
Counters
CountersCounters
Counters
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronics
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
Flipflop
FlipflopFlipflop
Flipflop
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
D latch
D latchD latch
D latch
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
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)
 
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
 

Andere mochten auch

2.3 sequantial logic circuit
2.3 sequantial logic circuit2.3 sequantial logic circuit
2.3 sequantial logic circuit
Wan Afirah
 
Conversión entre los distintos sistemas de numeración
Conversión entre los distintos sistemas de numeraciónConversión entre los distintos sistemas de numeración
Conversión entre los distintos sistemas de numeración
bladimirmora
 

Andere mochten auch (16)

sumadores, codificadores, decodificadores,multiplexores, demultiplexores
sumadores, codificadores, decodificadores,multiplexores, demultiplexoressumadores, codificadores, decodificadores,multiplexores, demultiplexores
sumadores, codificadores, decodificadores,multiplexores, demultiplexores
 
Latch and Flip flop
Latch and Flip flopLatch and Flip flop
Latch and Flip flop
 
Latch y Flip-Flops
Latch y Flip-FlopsLatch y Flip-Flops
Latch y Flip-Flops
 
Algebra de Boole
Algebra de BooleAlgebra de Boole
Algebra de Boole
 
Sumadores,codificadores, decodificadores,multiplexores y demultiplexores
Sumadores,codificadores, decodificadores,multiplexores y demultiplexoresSumadores,codificadores, decodificadores,multiplexores y demultiplexores
Sumadores,codificadores, decodificadores,multiplexores y demultiplexores
 
Flip flop
Flip flopFlip flop
Flip flop
 
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
 
Multivibradores, Temporizadores y aplicaciones de los Flip-Flops
Multivibradores, Temporizadores y aplicaciones de los Flip-FlopsMultivibradores, Temporizadores y aplicaciones de los Flip-Flops
Multivibradores, Temporizadores y aplicaciones de los Flip-Flops
 
2.3 sequantial logic circuit
2.3 sequantial logic circuit2.3 sequantial logic circuit
2.3 sequantial logic circuit
 
Flip-Flops y aplicaciones de los Latch
Flip-Flops y aplicaciones de los LatchFlip-Flops y aplicaciones de los Latch
Flip-Flops y aplicaciones de los Latch
 
Características de sumadores, codificadores, decodificadores, multiplexores y...
Características de sumadores, codificadores, decodificadores, multiplexores y...Características de sumadores, codificadores, decodificadores, multiplexores y...
Características de sumadores, codificadores, decodificadores, multiplexores y...
 
Los Flip Flops
Los Flip FlopsLos Flip Flops
Los Flip Flops
 
Latches y flip flops
Latches y flip flopsLatches y flip flops
Latches y flip flops
 
Flip flop
Flip flopFlip flop
Flip flop
 
Conversión entre los distintos sistemas de numeración
Conversión entre los distintos sistemas de numeraciónConversión entre los distintos sistemas de numeración
Conversión entre los distintos sistemas de numeración
 
Diferentes tipos de flip flops (jk, sr, d, t) sus tablas de verdad,
Diferentes tipos de flip flops (jk, sr, d, t) sus tablas de verdad,Diferentes tipos de flip flops (jk, sr, d, t) sus tablas de verdad,
Diferentes tipos de flip flops (jk, sr, d, t) sus tablas de verdad,
 

Ähnlich wie Latches & flip flop

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
 
BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
DHANESHRKNAIR01
 
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
 

Ähnlich wie Latches & flip flop (20)

Cse(b) g1 flipflop
Cse(b) g1 flipflopCse(b) g1 flipflop
Cse(b) g1 flipflop
 
Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptx
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1
 
Introduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptxIntroduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptx
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the student
 
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
 
Unit IV version I.ppt
Unit IV version I.pptUnit IV version I.ppt
Unit IV version I.ppt
 
BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
 
flip flop Presentation
flip flop  Presentationflip flop  Presentation
flip flop Presentation
 
9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx
 
Logic Gate
Logic GateLogic Gate
Logic Gate
 
ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
Digital design slides for engineering
Digital  design   slides for engineeringDigital  design   slides for engineering
Digital design slides for engineering
 
Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
 
Digital Electronics – Unit III.pdf
Digital Electronics – Unit III.pdfDigital Electronics – Unit III.pdf
Digital Electronics – Unit III.pdf
 
Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuits
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
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
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
 

Mehr von Nousheen Arshad (6)

Social media privacy issues
Social media privacy issuesSocial media privacy issues
Social media privacy issues
 
Magnetism
MagnetismMagnetism
Magnetism
 
Minterms & maxterms
Minterms & maxtermsMinterms & maxterms
Minterms & maxterms
 
New era of civilian's government (1)
New era of civilian's government (1)New era of civilian's government (1)
New era of civilian's government (1)
 
Operators
OperatorsOperators
Operators
 
Geopolitical importance of pakistan
Geopolitical importance of pakistanGeopolitical importance of pakistan
Geopolitical importance of pakistan
 

Kürzlich hochgeladen

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Kürzlich hochgeladen (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

Latches & flip flop

  • 1. Presentation Topic: Latches and Flip-Flops... … Nousheen Arshad... R1F15BSCS0040 Punjab University (UCP CAmpus)
  • 2. : Sequential Circuits : • Sequential Circuits are those whose outputs are also dependent upon past inputs, and hence outputs. • In other words, the output of the sequential circuits may depend upon its previous outputs. • The two most popular varieties of storage cells used to build sequential circuits are: • Latches. • Flip-Flop.
  • 3. : Latches : • Latches are the building blocks of sequential circuits and these can be built from logical gates. • It is a level sensitive storage element. • Latch does not have a clock signal. • Some examples of latches are: • SR Latch. • S'R' Latch. • D Latch (gated D latch).
  • 4. :SR Latch: :S'R' Latch: • The simple bi-stable device is called SR Latch. • To create an SR Latch, we can wire two NOR gates in such a way that the output of one feeds back to the input of another, and vice versa, like this: • "Cross- coupling" two NAND gates gives the S'R' Latch. • Which has the time sequence behavior. • S=0, R=0 is forbidden as input pattern.
  • 5. : D Latch (Gated Latch) : • The name "data type latch" refers to a D-type flip-flop that is level- triggered, as the data (1 or 0) appearing at D can be held or 'latched' at any time whilst the Clk input is at a high level (logic 1). • For the D Latch, Q+ represents the state of flip-flop a short time after the active clock-edge.
  • 6. : Flip-Flop : • Flip-flop are also the building blocks of sequential circuits. • But, these can be built from the latches. • It works on the basis of clock pulses. • They are used as a registers. • Flip flops are edge-triggered. • Flip flop is sensitive to a signal change.They can transfer only at single instant, and data cannot be changed until next signal change.
  • 7. : Edge-Triggered Flip-Flop : • An edge-triggered flip-flop changes states either at the positive edge (rising edge) or at the negative edge (falling edge) of the clock pulse out the control input. • A rising edge-triggered flip-flop can be constructed from two gated D latches and an inverter. • These flip-flop are very useful, as they form for shift registers, which are an essential part of many electronic devices.
  • 8. : Flip-Flop with Additional Inputs : • Flip-flops often have additional inputs which can be used to set the flip-flop to an initial state independent of the clock. • When designing a synchronous system, we frequently encounter situations when we want some flip-flops to hold existing data even if the data input may be changing. • There are two approaches: • Gating the clock = may results in the loss of synchronization. • A Flip-flop with clock enable = cost extra power. • Flip-flop with clear and present inputs : • A logic 0 applied to ClrN will reset Q to 0. • A logic 0 applied to PreN will set Q to 1. • ClrN and PreN are often referred to as asynchronous clear and present inputs.
  • 9. : Asynchronous Sequential Circuits : • Asynchronous inputs on a flip-flop have control over the outputs (Q and Not-Q) regardless of clock input status. • These inputs are called preset (PRE) and clear (CLR). • The preset input drives the flip-flop to a set state while the clear input drives it to a reset state. • It is possible to drive the outputs of a J-K flip-flop to an invalid condition using the asynchronous inputs, because all feedback within the multivibrator circuit is overridden.