SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Module 4:FLIP-FLOP
Quote of the day
“Never think you are nothing, never
think you are everything, but think you
are something and achieve anything”.
― Albert Einstein
Sequential and combinational circuits
• A digital circuit whose output depends on only
applied input is combinational circuit.
• Digital circuits studied until now are
combinational circuits
• A digital circuit whose output not only
depends on applied input but also depends
on the present state of output is Sequential
circuit.
• Sequential circuit has memory.
• Flip-flop is a basic element of sequential
circuit.
FLIP-FLOP
• A basic sequential circuit is a flip-flop
• Flip-flop has two stable states of
complementary output values
NOR Gate LatchSR Flip-flop
• SR (set-reset) flip-flop based on two nor gates.
• If R=0,S=0 then output of both NOR gates
depend on other inputs ,i.e Q and Q̄
• Assume Q=0 and Q̄=1 initially
• Observe that out put will not change
0
0
SR-FLIP-FLOP
R S Q Q̄
0 0
0 1
1 0
1 1
1
0
0
1
NOR Gate LatchSR Flip-flop
• SR (set-reset) flip-flop based on two nor gates.
• If R=0,S=0 then output of both NOR gates
depend on other inputs ,i.e Q and Q̄
• Assume Q=1 and Q̄=0 initially
• Observe that out put will not change
0
0
SR-FLIP-FLOP
R S Q Q̄
0 0
0 1
1 0
1 1
0
1
1
0
Last state
NOR Gate LatchSR Flip-flop
• SR (set-reset) flip-flop based on two nor gates.
• If R=0,S=1 then output of Gate 2 becomes one,
i.e. Q̄ = 0 and output of gate 1 which depends
on Q̄ becomes 1.
• Observe that out put set to one whatever may
be previous state of O/P. SR-FLIP-FLOP
R S Q Q̄
0 0 Last state
0 1
1 0
1 1
0
1
0
1
0
1 0
NOR Gate LatchSR Flip-flop
• SR (set-reset) flip-flop based on two nor gates.
• If R=1,S=0 then output of Gate 1 becomes
zero, i.e Q= 0 and output of gate 2 which
depends on Q becomes 1.
• Observe that out put reset to zero whatever
may be previous state of O/P. SR-FLIP-FLOP
R S Q Q̄
0 0 Last state
0 1 1 0
1 0
1 1
1
0
1
01
0 1
0
NOR Gate LatchSR Flip-flop
• SR (set-reset) flip-flop based on two nor gates.
• If R=1,S=1 then output of both Gates becomes
zero, i.e. Q= 0 and Q̄=0.
• This is not allowed state of Flip Flop.
• Is Illegal state or Forbidden state of Flip-flop
SR-FLIP-FLOP
R S Q Q̄
0 0 Last state
0 1 1 0
1 0 0 1
1 1
1
0
0
1
Illegal
NAND Gate LatchS̄R̄ Flip-flop
• S̄R̄ (set-reset) flip-flop based on two nor gates.
• If R̄=0,S̄=0 then output of both Gates becomes
one, i.e. Q= 1 and Q̄=1.
• This is not allowed state of Flip Flop.
• Is Illegal state or Forbidden state of Flip-flop
S̄R̄-FLIP-FLOP
R̄ S̄ Q Q̄
0 0
0 1
1 0
1 1
0
0
1
1
Illegal
NAND Gate LatchS̄R̄ Flip-flop
• S̄R̄ (set-reset) flip-flop based on two nor gates.
• If R̄=0,S̄=1 then output of Gate-2 becomes
one, i.e Q̄=1 and output of gate 1 which
depends on Q̄ becomes 0.
• Observe that out put reset to zero whatever
may be previous state of O/P.
S̄R̄-FLIP-FLOP
R̄ S̄ Q Q̄
0 0 Illegal
0 1
1 0
1 1
1
0
1
1
0
0 1
NAND Gate LatchS̄R̄ Flip-flop
• S̄R̄ (set-reset) flip-flop based on two nor gates.
• If R̄=1,S̄=0 then output of Gate-1 becomes
one, i.e Q=1 and output of gate 2 which
depends on Q becomes 0.
• Observe that out put set to one whatever may
be previous state of O/P.
S̄R̄-FLIP-FLOP
R̄ S̄ Q Q̄
0 0 Illegal
0 1 0 1
1 0
1 1
0
1
1
1
0
1 0
NAND Gate LatchS̄R̄ Flip-flop
• S̄R̄ (set-reset) flip-flop based on two nor gates.
• If R̄=1,S̄=1 then output of both NOR gates
depend on other inputs ,i.e Q and Q̄ .
• Assume Q=1 and Q̄=0 initially.
• Observe that out put will not change.
S̄R̄-FLIP-FLOP
R̄ S̄ Q Q̄
0 0 Illegal
0 1 0 1
1 0 1 0
1 1
1
1
1
01
0
NAND Gate LatchS̄R̄ Flip-flop
• S̄R̄ (set-reset) flip-flop based on two nor gates.
• If R̄=1,S̄=1 then output of both NOR gates
depend on other inputs ,i.e Q and Q̄ .
• Assume Q=0 and Q̄=1 initially.
• Observe that out put will not change.
SR-FLIP-FLOP
R̄ S̄ Q Q̄
0 0 Illegal
0 1 0 1
1 0 1 0
1 1
1
1
0
10
1
Last state
Truth table
R̄ S̄ R S Q Q̄
0 0 1 1 Illegal
0 1 1 0 0 1
1 0 0 1 1 0
1 1 0 0 Last state
SR-FLIP-FLOP
R S Q Q̄ Output(Q)
0 0 Last state Last state
0 1 1 0 Set
1 0 0 1 Reset
1 1 Illegal Illegal
Flip-Flop
• The previous slides described you the
NAND/NOR Gate Latch.
• You observed that a latch using NAND is
referred as S̄R̄ latch.
• To obtain SR latch using NAND gates, we are
suppose to add two NOT gates implemented
using NAND gates at the terminal of these
inputs S̄R̄.
SR-FLIP-FLOP
R̄ S̄ Q Q̄
0 0 Illegal
0 1 0 1
1 0 1 0
1 1 Last states
SR latch using NAND gates Flip-flop
Truth table
R S R̄ S̄ Q+ Q̄ +
0 0 1 1 Last state
0 1 1 0 1 0
1 0 0 1 0 1
1 1 0 0 Illegal
S Q
R Q̄
Logical Symbol
Gated Flip-Flops
• In the latches observed till now output responds
immediately to the changes in input.
• In many digital systems it is required that the
circuit responds only at some prescribed time,
decided by another input called the enable or
clock input.
• A Flip-Flop which immediately responds to the
changes of input in spite of enable or clock
input is referred as latch.
• Some flip-flops responds to the changes of input
during the edges of the clock inputs.
Gated Flip-Flops
• The latch will disable with C=0 and continue
the last state. The output is said to be latched.
• It will enable with C=1 and function as normal
SR F/F.
• Qn is present state of output, Qn-1 last state of
output state
Gated Latch-Clocked RS Flip-flop
S Q
C
R Q̄
Logical Symbol
Input output waveform
CLK
S
R
Q

Contenu connexe

Tendances (20)

Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
Flip Flop
Flip FlopFlip Flop
Flip Flop
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
 
Register in Digital Logic
Register in Digital LogicRegister in Digital Logic
Register in Digital Logic
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
Flip flop conversions
Flip flop conversionsFlip flop conversions
Flip flop conversions
 
Counters
CountersCounters
Counters
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applications
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
Flip flop
Flip flopFlip flop
Flip flop
 
Flip flops
Flip flopsFlip flops
Flip flops
 
latches
 latches latches
latches
 
TTL(Transistor Transistor Logic)
TTL(Transistor Transistor Logic)TTL(Transistor Transistor Logic)
TTL(Transistor Transistor Logic)
 
Registers
RegistersRegisters
Registers
 
Counters
CountersCounters
Counters
 
BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
 
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital Electronics
 
Counters
CountersCounters
Counters
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.
 

Similaire à Flip flop

Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1Sarah Sue Calbio
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxThapar Institute
 
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
 
Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptxramkumarraja7
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SUBHA SHREE
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flopsSandeep Kumar
 
2.3 sequantial logic circuit
2.3 sequantial logic circuit2.3 sequantial logic circuit
2.3 sequantial logic circuitWan Afirah
 
CLOCKED RESET DOMINANT SR-LATCH
CLOCKED RESET DOMINANT SR-LATCHCLOCKED RESET DOMINANT SR-LATCH
CLOCKED RESET DOMINANT SR-LATCHGKGanesh2
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxUtsavDas21
 
Latch Introduction & RS Latch
Latch Introduction &  RS LatchLatch Introduction &  RS Latch
Latch Introduction & RS LatchEasy n Inspire L
 
Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuitsSakshi Bhargava
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdfDSOOP
 

Similaire à Flip flop (20)

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
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.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)
 
Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptx
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
Flip flop
Flip flopFlip flop
Flip flop
 
2.3 sequantial logic circuit
2.3 sequantial logic circuit2.3 sequantial logic circuit
2.3 sequantial logic circuit
 
latchesflip-flop DLD
latchesflip-flop DLDlatchesflip-flop DLD
latchesflip-flop DLD
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
CLOCKED RESET DOMINANT SR-LATCH
CLOCKED RESET DOMINANT SR-LATCHCLOCKED RESET DOMINANT SR-LATCH
CLOCKED RESET DOMINANT SR-LATCH
 
Cse(b) g1 flipflop
Cse(b) g1 flipflopCse(b) g1 flipflop
Cse(b) g1 flipflop
 
Flipflop r012
Flipflop   r012Flipflop   r012
Flipflop r012
 
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
 
Latch Introduction & RS Latch
Latch Introduction &  RS LatchLatch Introduction &  RS Latch
Latch Introduction & RS Latch
 
Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
 
Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuits
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
 

Dernier

GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 

Dernier (20)

GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 

Flip flop

  • 1. Module 4:FLIP-FLOP Quote of the day “Never think you are nothing, never think you are everything, but think you are something and achieve anything”. ― Albert Einstein
  • 2. Sequential and combinational circuits • A digital circuit whose output depends on only applied input is combinational circuit. • Digital circuits studied until now are combinational circuits • A digital circuit whose output not only depends on applied input but also depends on the present state of output is Sequential circuit. • Sequential circuit has memory. • Flip-flop is a basic element of sequential circuit.
  • 3. FLIP-FLOP • A basic sequential circuit is a flip-flop • Flip-flop has two stable states of complementary output values
  • 4. NOR Gate LatchSR Flip-flop • SR (set-reset) flip-flop based on two nor gates. • If R=0,S=0 then output of both NOR gates depend on other inputs ,i.e Q and Q̄ • Assume Q=0 and Q̄=1 initially • Observe that out put will not change 0 0 SR-FLIP-FLOP R S Q Q̄ 0 0 0 1 1 0 1 1 1 0 0 1
  • 5. NOR Gate LatchSR Flip-flop • SR (set-reset) flip-flop based on two nor gates. • If R=0,S=0 then output of both NOR gates depend on other inputs ,i.e Q and Q̄ • Assume Q=1 and Q̄=0 initially • Observe that out put will not change 0 0 SR-FLIP-FLOP R S Q Q̄ 0 0 0 1 1 0 1 1 0 1 1 0 Last state
  • 6. NOR Gate LatchSR Flip-flop • SR (set-reset) flip-flop based on two nor gates. • If R=0,S=1 then output of Gate 2 becomes one, i.e. Q̄ = 0 and output of gate 1 which depends on Q̄ becomes 1. • Observe that out put set to one whatever may be previous state of O/P. SR-FLIP-FLOP R S Q Q̄ 0 0 Last state 0 1 1 0 1 1 0 1 0 1 0 1 0
  • 7. NOR Gate LatchSR Flip-flop • SR (set-reset) flip-flop based on two nor gates. • If R=1,S=0 then output of Gate 1 becomes zero, i.e Q= 0 and output of gate 2 which depends on Q becomes 1. • Observe that out put reset to zero whatever may be previous state of O/P. SR-FLIP-FLOP R S Q Q̄ 0 0 Last state 0 1 1 0 1 0 1 1 1 0 1 01 0 1 0
  • 8. NOR Gate LatchSR Flip-flop • SR (set-reset) flip-flop based on two nor gates. • If R=1,S=1 then output of both Gates becomes zero, i.e. Q= 0 and Q̄=0. • This is not allowed state of Flip Flop. • Is Illegal state or Forbidden state of Flip-flop SR-FLIP-FLOP R S Q Q̄ 0 0 Last state 0 1 1 0 1 0 0 1 1 1 1 0 0 1 Illegal
  • 9. NAND Gate LatchS̄R̄ Flip-flop • S̄R̄ (set-reset) flip-flop based on two nor gates. • If R̄=0,S̄=0 then output of both Gates becomes one, i.e. Q= 1 and Q̄=1. • This is not allowed state of Flip Flop. • Is Illegal state or Forbidden state of Flip-flop S̄R̄-FLIP-FLOP R̄ S̄ Q Q̄ 0 0 0 1 1 0 1 1 0 0 1 1 Illegal
  • 10. NAND Gate LatchS̄R̄ Flip-flop • S̄R̄ (set-reset) flip-flop based on two nor gates. • If R̄=0,S̄=1 then output of Gate-2 becomes one, i.e Q̄=1 and output of gate 1 which depends on Q̄ becomes 0. • Observe that out put reset to zero whatever may be previous state of O/P. S̄R̄-FLIP-FLOP R̄ S̄ Q Q̄ 0 0 Illegal 0 1 1 0 1 1 1 0 1 1 0 0 1
  • 11. NAND Gate LatchS̄R̄ Flip-flop • S̄R̄ (set-reset) flip-flop based on two nor gates. • If R̄=1,S̄=0 then output of Gate-1 becomes one, i.e Q=1 and output of gate 2 which depends on Q becomes 0. • Observe that out put set to one whatever may be previous state of O/P. S̄R̄-FLIP-FLOP R̄ S̄ Q Q̄ 0 0 Illegal 0 1 0 1 1 0 1 1 0 1 1 1 0 1 0
  • 12. NAND Gate LatchS̄R̄ Flip-flop • S̄R̄ (set-reset) flip-flop based on two nor gates. • If R̄=1,S̄=1 then output of both NOR gates depend on other inputs ,i.e Q and Q̄ . • Assume Q=1 and Q̄=0 initially. • Observe that out put will not change. S̄R̄-FLIP-FLOP R̄ S̄ Q Q̄ 0 0 Illegal 0 1 0 1 1 0 1 0 1 1 1 1 1 01 0
  • 13. NAND Gate LatchS̄R̄ Flip-flop • S̄R̄ (set-reset) flip-flop based on two nor gates. • If R̄=1,S̄=1 then output of both NOR gates depend on other inputs ,i.e Q and Q̄ . • Assume Q=0 and Q̄=1 initially. • Observe that out put will not change. SR-FLIP-FLOP R̄ S̄ Q Q̄ 0 0 Illegal 0 1 0 1 1 0 1 0 1 1 1 1 0 10 1 Last state
  • 14. Truth table R̄ S̄ R S Q Q̄ 0 0 1 1 Illegal 0 1 1 0 0 1 1 0 0 1 1 0 1 1 0 0 Last state SR-FLIP-FLOP R S Q Q̄ Output(Q) 0 0 Last state Last state 0 1 1 0 Set 1 0 0 1 Reset 1 1 Illegal Illegal
  • 15. Flip-Flop • The previous slides described you the NAND/NOR Gate Latch. • You observed that a latch using NAND is referred as S̄R̄ latch. • To obtain SR latch using NAND gates, we are suppose to add two NOT gates implemented using NAND gates at the terminal of these inputs S̄R̄. SR-FLIP-FLOP R̄ S̄ Q Q̄ 0 0 Illegal 0 1 0 1 1 0 1 0 1 1 Last states
  • 16. SR latch using NAND gates Flip-flop Truth table R S R̄ S̄ Q+ Q̄ + 0 0 1 1 Last state 0 1 1 0 1 0 1 0 0 1 0 1 1 1 0 0 Illegal S Q R Q̄ Logical Symbol
  • 17. Gated Flip-Flops • In the latches observed till now output responds immediately to the changes in input. • In many digital systems it is required that the circuit responds only at some prescribed time, decided by another input called the enable or clock input. • A Flip-Flop which immediately responds to the changes of input in spite of enable or clock input is referred as latch. • Some flip-flops responds to the changes of input during the edges of the clock inputs.
  • 18. Gated Flip-Flops • The latch will disable with C=0 and continue the last state. The output is said to be latched. • It will enable with C=1 and function as normal SR F/F. • Qn is present state of output, Qn-1 last state of output state
  • 19. Gated Latch-Clocked RS Flip-flop S Q C R Q̄ Logical Symbol