SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
FLIP FLOPS
ByUnsaShakir
INTRODUCTION:
• Flip – flops have two stable states and hence they are
bistable multivibrators. The two stable states are High
(logic 1) and Low (logic 0).
• They can switch between the states under the influence of
a control signal (clock or enable) i.e. they can ‘flip’ to one
state and ‘flop’ back to other state.
• They are binary storage devices because they can store
binary data (0 or 1).
INTRODUCTION:
• They are also known as signal change sensitive
devices which mean that the change in the level of
clock signal will bring change in output of the flip
flop.
• A Flip – flop works depending on clock pulses.
• Flip flops are also used to control the digital
circuit’s functionality. They can change the
operation of a digital circuit depending on the state
CONVENTIONS
• The two outputs are complementary to each
other.
• If Q is 1 that is set Q’ to 0.
• If Q is 0, reset Q’ to 1. (Q and Q’ can’t be at the
same state simultaneously. If it happens, it will
violate the definition of the flip-flop and hence is
called undefined condition).
• Q is called the state of the flip-flop whereas Q’
is called complementary state of the flip-flop.
• When the output Q is either 0 or 1, it remains
in that state unless one or more inputs are
excited to effect the change on the output.
FLIP-FLOPS
3 classes of flip-flops
• latches: outputs respond immediately while
enabled (no timing control)
• pulse-triggered flip-flops: outputs response to
the triggering pulse
• edge-triggered flip-flops: outputs responses to
the control input edge
TYPESOF FLIPFLOPS
• S-RFlip-flop
• J-KFlip-flop
• D Flip-flop
• TFlip-flop
S-R FLIP FLOP
• The S-R flip-flop is basic flip-flop among all the flip-
flops. All the other flip flops are developed after SR-flip-
flop.
• SR flip flop is represented as shown below
S-R FLIP FLOP
• Any flip flop can be build using logic gates. NAND and NOR
gates were used as they are universal gates.
The Basic SR Flip-flop
The Basic SR Flip-flop with clock
Working
From the diagram it is evident that the flip flop has
mainly four states. They are
S=1, R=0 — Q=1, Q’=0
This state is also called the SET state.
S=0, R=1— Q=0, Q’=1
This state is k nown as the RESET state.
In both the states ,the outputs are just compliments
of each other and that the value of Q follows the
value of S.
S=0, R=0 — Q & Q’= Remember
If both the values of S and R are switched to 0,
then the circuit remembers the value of S and R in
their previous state.
S=1, R=1—Q=0, Q’=0 [Invalid]
• This is an invalid state because the values of
both Q and Q’are 0.
• They are supposed to be compliments of each
other. Normally, this state must be avoided.
JK-FLIP FLOP
• The J-K flip-flop is operationally similar to the S-
R flip-flop.
• The J-K flip-flop is clock driven like the clocked
S-R flip-flop.
• The difference is that the J-K flip-flop will retain
its output status when two lows are present at
its inputs. Also, when both inputs are high, the
outputs will toggle on and off
WORKING
• Q and Q' are feedback to the pulse-steering
NAND gates.
• No invalid state.
• Include a toggle (switch) state.
• J=HIGH (and K=LOW) - a SET state
• K=HIGH (and J=LOW) - a RESET state
• both inputs LOW - a no change
• both inputs HIGH - a toggle
• Toggling means ‘Changing the next state output to
complement of the present state output’
• Toggling will cause the output to complement
again and again.
• This complement operation continues until the
Clock pulse goes back to 0. Since this condition is
undesirable, we have to find a way to eliminate this
condition.
• This undesirable behavior can be eliminated by
Edge triggering of JK flip-flop or by using master
slave JK Flip-flops.
JK-FLIP FLOP
J-K FLIP FLOP TRUTH TABLE
previous values present values
clk J K Q Q’ S R Q Q’
1 0 1 1 0 0 1 0 1
0 1 0 0 0 1
1 1 0 1 0 0 0 1 0
0 1 1 0 1 0
1 0 0 1 0 0 0 1 0 previous
values
0 1 0 0 0 1
1 1 1 1 0 0 1 0 1 compliment
of previous
values
0 1 1 0 1 0
S=J.Q’
R=K.Q
J-K FLIP FLOP TRUTH TABLE
summary
D-FLIP FLOP
• single input D (data)
• D=HIGH - a SET state
• D=LOW - a RESET state
By comparing R-S, J-K, and D flip-flops one can
see that the D flip-flop never has an unknown
state, unlike the R-S and J-K.
The D flip-flop is widely used. It is also known as a
"data" or "delay" flip-flop and negative edge
triggered flip flop.
D-FLIP FLOP
CLK D J K Q Q’
1 1 0 1 0 1
1 1 1 0 1 0
J=Q
D-FLIP FLOP TRUTH TABLE
T-FLIP FLOP
• A T flip flop is like JK flip-flop.
• These are basically a single input version of JK
flip flop.
• This modified form of JK flip-flop is obtained by
connecting both inputs J and K together.
•
• This flip-flop has only one input along with the
clock input.
clk T J K Q Q’ S R Q Q’
1 0 0 0 1 0 0 0 1 0 previous
values
0 1 0 0 0 1
1 1 1 1 1 0 0 1 0 1 compliment
of previous
values
0 1 1 0 1 0
THE USE OF FLIP FLOP
• For Register Devices:
Flip flops can store a single bit of data i.e. 1 or 0.
Registers are used to store multiple bits of data. So
flip flops are used to design Registers. According to
digital electronics, a Register is a device which is
used to store the information.
• Data Transfer
The process of transferring the data from one
register to another register

Weitere ähnliche Inhalte

Was ist angesagt?

Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flopShuaib Hotak
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital ElectronicsPaurav Shah
 
JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronicsEasy n Inspire L
 
Multiplexer and DeMultiplexer
Multiplexer and DeMultiplexerMultiplexer and DeMultiplexer
Multiplexer and DeMultiplexerEstiak Khan
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuitsgourav kottawar
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converterShazid Reaj
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesDhwanil Champaneria
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits DrSonali Vyas
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & DecoderSyed Saeed
 
sequential circuits
sequential circuitssequential circuits
sequential circuitsUnsa Shakir
 

Was ist angesagt? (20)

Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
 
Flip flop
Flip flopFlip flop
Flip flop
 
Multiplexers
MultiplexersMultiplexers
Multiplexers
 
D Flip Flop
D Flip Flop D Flip Flop
D Flip Flop
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronics
 
Multiplexer and DeMultiplexer
Multiplexer and DeMultiplexerMultiplexer and DeMultiplexer
Multiplexer and DeMultiplexer
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
 
digital Counter
digital Counterdigital Counter
digital Counter
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 

Ähnlich wie flip flops

9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptxudhayaveenaa
 
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
 
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
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slidejyothir19
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuitBrenda Debra
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsstudent
 
Flip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and OrganizationFlip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and OrganizationSmit Luvani
 
Sequential logics 1
Sequential logics 1Sequential logics 1
Sequential logics 1faiqikhan
 
Sequential logics
Sequential logics Sequential logics
Sequential logics faiqikhan
 
Sequential logics
Sequential logicsSequential logics
Sequential logicsfaiqikhan
 
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
 
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 .docxDIPESH30
 
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-FlopsArti Parab Academics
 
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 flopShubham Singh
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptxamudhak10
 

Ähnlich wie flip flops (20)

DPCO UNIT 2.pptx
DPCO UNIT 2.pptxDPCO UNIT 2.pptx
DPCO UNIT 2.pptx
 
DPCO UNIT 2.pdf
DPCO UNIT 2.pdfDPCO UNIT 2.pdf
DPCO UNIT 2.pdf
 
9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.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]
 
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)
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
 
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 | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and OrganizationFlip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and Organization
 
Sequential logics 1
Sequential logics 1Sequential logics 1
Sequential logics 1
 
Sequential logics
Sequential logics Sequential logics
Sequential logics
 
Sequential logics
Sequential logicsSequential logics
Sequential logics
 
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
 
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
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
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
 
BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
 
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
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 

Mehr von Unsa Shakir

Single diode circuits
Single diode circuitsSingle diode circuits
Single diode circuitsUnsa Shakir
 
Silicon control rectifier
Silicon control rectifierSilicon control rectifier
Silicon control rectifierUnsa Shakir
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifierUnsa Shakir
 
Diode voltage multiplier
Diode voltage multiplierDiode voltage multiplier
Diode voltage multiplierUnsa Shakir
 
Types of transistors
Types of transistorsTypes of transistors
Types of transistorsUnsa Shakir
 
Clipper and clamper circuits
Clipper and clamper circuitsClipper and clamper circuits
Clipper and clamper circuitsUnsa Shakir
 
kinds of distribution
 kinds of distribution kinds of distribution
kinds of distributionUnsa Shakir
 
Probability of card
Probability of  cardProbability of  card
Probability of cardUnsa Shakir
 
hypothesis test
 hypothesis test hypothesis test
hypothesis testUnsa Shakir
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regressionUnsa Shakir
 
counting techniques
counting techniquescounting techniques
counting techniquesUnsa Shakir
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of dataUnsa Shakir
 
frequency distribution
 frequency distribution frequency distribution
frequency distributionUnsa Shakir
 
graphic representations in statistics
 graphic representations in statistics graphic representations in statistics
graphic representations in statisticsUnsa Shakir
 
introduction to statistical theory
introduction to statistical theoryintroduction to statistical theory
introduction to statistical theoryUnsa Shakir
 

Mehr von Unsa Shakir (20)

Types of diode
Types of diodeTypes of diode
Types of diode
 
Transistor
TransistorTransistor
Transistor
 
Single diode circuits
Single diode circuitsSingle diode circuits
Single diode circuits
 
Silicon control rectifier
Silicon control rectifierSilicon control rectifier
Silicon control rectifier
 
Rectifiers
RectifiersRectifiers
Rectifiers
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifier
 
Diode voltage multiplier
Diode voltage multiplierDiode voltage multiplier
Diode voltage multiplier
 
Types of transistors
Types of transistorsTypes of transistors
Types of transistors
 
Clipper and clamper circuits
Clipper and clamper circuitsClipper and clamper circuits
Clipper and clamper circuits
 
kinds of distribution
 kinds of distribution kinds of distribution
kinds of distribution
 
Probability of card
Probability of  cardProbability of  card
Probability of card
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
probability
probabilityprobability
probability
 
tree diagrams
 tree diagrams tree diagrams
tree diagrams
 
counting techniques
counting techniquescounting techniques
counting techniques
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of data
 
frequency distribution
 frequency distribution frequency distribution
frequency distribution
 
graphic representations in statistics
 graphic representations in statistics graphic representations in statistics
graphic representations in statistics
 
introduction to statistical theory
introduction to statistical theoryintroduction to statistical theory
introduction to statistical theory
 

Kürzlich hochgeladen

EPE3163_Hydro power stations_Unit2_Lect2.pptx
EPE3163_Hydro power stations_Unit2_Lect2.pptxEPE3163_Hydro power stations_Unit2_Lect2.pptx
EPE3163_Hydro power stations_Unit2_Lect2.pptxJoseeMusabyimana
 
Nodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxNodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxwendy cai
 
Dev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingDev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingMarian Marinov
 
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdfRenewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdfodunowoeminence2019
 
How to Write a Good Scientific Paper.pdf
How to Write a Good Scientific Paper.pdfHow to Write a Good Scientific Paper.pdf
How to Write a Good Scientific Paper.pdfRedhwan Qasem Shaddad
 
Landsman converter for power factor improvement
Landsman converter for power factor improvementLandsman converter for power factor improvement
Landsman converter for power factor improvementVijayMuni2
 
Power System electrical and electronics .pptx
Power System electrical and electronics .pptxPower System electrical and electronics .pptx
Power System electrical and electronics .pptxMUKULKUMAR210
 
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...amrabdallah9
 
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecGuardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecTrupti Shiralkar, CISSP
 
Engineering Mechanics Chapter 5 Equilibrium of a Rigid Body
Engineering Mechanics  Chapter 5  Equilibrium of a Rigid BodyEngineering Mechanics  Chapter 5  Equilibrium of a Rigid Body
Engineering Mechanics Chapter 5 Equilibrium of a Rigid BodyAhmadHajasad2
 
Basic Principle of Electrochemical Sensor
Basic Principle of  Electrochemical SensorBasic Principle of  Electrochemical Sensor
Basic Principle of Electrochemical SensorTanvir Moin
 
Design of Clutches and Brakes in Design of Machine Elements.pptx
Design of Clutches and Brakes in Design of Machine Elements.pptxDesign of Clutches and Brakes in Design of Machine Elements.pptx
Design of Clutches and Brakes in Design of Machine Elements.pptxYogeshKumarKJMIT
 
Mohs Scale of Hardness, Hardness Scale.pptx
Mohs Scale of Hardness, Hardness Scale.pptxMohs Scale of Hardness, Hardness Scale.pptx
Mohs Scale of Hardness, Hardness Scale.pptxKISHAN KUMAR
 
A Seminar on Electric Vehicle Software Simulation
A Seminar on Electric Vehicle Software SimulationA Seminar on Electric Vehicle Software Simulation
A Seminar on Electric Vehicle Software SimulationMohsinKhanA
 
Gender Bias in Engineer, Honors 203 Project
Gender Bias in Engineer, Honors 203 ProjectGender Bias in Engineer, Honors 203 Project
Gender Bias in Engineer, Honors 203 Projectreemakb03
 
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docxSUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docxNaveenVerma126
 
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchrohitcse52
 
Clutches and brkesSelect any 3 position random motion out of real world and d...
Clutches and brkesSelect any 3 position random motion out of real world and d...Clutches and brkesSelect any 3 position random motion out of real world and d...
Clutches and brkesSelect any 3 position random motion out of real world and d...sahb78428
 
Phase noise transfer functions.pptx
Phase noise transfer      functions.pptxPhase noise transfer      functions.pptx
Phase noise transfer functions.pptxSaiGouthamSunkara
 

Kürzlich hochgeladen (20)

EPE3163_Hydro power stations_Unit2_Lect2.pptx
EPE3163_Hydro power stations_Unit2_Lect2.pptxEPE3163_Hydro power stations_Unit2_Lect2.pptx
EPE3163_Hydro power stations_Unit2_Lect2.pptx
 
Nodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxNodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptx
 
Présentation IIRB 2024 Marine Cordonnier.pdf
Présentation IIRB 2024 Marine Cordonnier.pdfPrésentation IIRB 2024 Marine Cordonnier.pdf
Présentation IIRB 2024 Marine Cordonnier.pdf
 
Dev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingDev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & Logging
 
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdfRenewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
 
How to Write a Good Scientific Paper.pdf
How to Write a Good Scientific Paper.pdfHow to Write a Good Scientific Paper.pdf
How to Write a Good Scientific Paper.pdf
 
Landsman converter for power factor improvement
Landsman converter for power factor improvementLandsman converter for power factor improvement
Landsman converter for power factor improvement
 
Power System electrical and electronics .pptx
Power System electrical and electronics .pptxPower System electrical and electronics .pptx
Power System electrical and electronics .pptx
 
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
 
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecGuardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
 
Engineering Mechanics Chapter 5 Equilibrium of a Rigid Body
Engineering Mechanics  Chapter 5  Equilibrium of a Rigid BodyEngineering Mechanics  Chapter 5  Equilibrium of a Rigid Body
Engineering Mechanics Chapter 5 Equilibrium of a Rigid Body
 
Basic Principle of Electrochemical Sensor
Basic Principle of  Electrochemical SensorBasic Principle of  Electrochemical Sensor
Basic Principle of Electrochemical Sensor
 
Design of Clutches and Brakes in Design of Machine Elements.pptx
Design of Clutches and Brakes in Design of Machine Elements.pptxDesign of Clutches and Brakes in Design of Machine Elements.pptx
Design of Clutches and Brakes in Design of Machine Elements.pptx
 
Mohs Scale of Hardness, Hardness Scale.pptx
Mohs Scale of Hardness, Hardness Scale.pptxMohs Scale of Hardness, Hardness Scale.pptx
Mohs Scale of Hardness, Hardness Scale.pptx
 
A Seminar on Electric Vehicle Software Simulation
A Seminar on Electric Vehicle Software SimulationA Seminar on Electric Vehicle Software Simulation
A Seminar on Electric Vehicle Software Simulation
 
Gender Bias in Engineer, Honors 203 Project
Gender Bias in Engineer, Honors 203 ProjectGender Bias in Engineer, Honors 203 Project
Gender Bias in Engineer, Honors 203 Project
 
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docxSUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
 
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
 
Clutches and brkesSelect any 3 position random motion out of real world and d...
Clutches and brkesSelect any 3 position random motion out of real world and d...Clutches and brkesSelect any 3 position random motion out of real world and d...
Clutches and brkesSelect any 3 position random motion out of real world and d...
 
Phase noise transfer functions.pptx
Phase noise transfer      functions.pptxPhase noise transfer      functions.pptx
Phase noise transfer functions.pptx
 

flip flops

  • 2. INTRODUCTION: • Flip – flops have two stable states and hence they are bistable multivibrators. The two stable states are High (logic 1) and Low (logic 0). • They can switch between the states under the influence of a control signal (clock or enable) i.e. they can ‘flip’ to one state and ‘flop’ back to other state. • They are binary storage devices because they can store binary data (0 or 1).
  • 3. INTRODUCTION: • They are also known as signal change sensitive devices which mean that the change in the level of clock signal will bring change in output of the flip flop. • A Flip – flop works depending on clock pulses. • Flip flops are also used to control the digital circuit’s functionality. They can change the operation of a digital circuit depending on the state
  • 4. CONVENTIONS • The two outputs are complementary to each other. • If Q is 1 that is set Q’ to 0. • If Q is 0, reset Q’ to 1. (Q and Q’ can’t be at the same state simultaneously. If it happens, it will violate the definition of the flip-flop and hence is called undefined condition).
  • 5. • Q is called the state of the flip-flop whereas Q’ is called complementary state of the flip-flop. • When the output Q is either 0 or 1, it remains in that state unless one or more inputs are excited to effect the change on the output.
  • 6. FLIP-FLOPS 3 classes of flip-flops • latches: outputs respond immediately while enabled (no timing control) • pulse-triggered flip-flops: outputs response to the triggering pulse • edge-triggered flip-flops: outputs responses to the control input edge
  • 7. TYPESOF FLIPFLOPS • S-RFlip-flop • J-KFlip-flop • D Flip-flop • TFlip-flop
  • 8. S-R FLIP FLOP • The S-R flip-flop is basic flip-flop among all the flip- flops. All the other flip flops are developed after SR-flip- flop. • SR flip flop is represented as shown below
  • 9. S-R FLIP FLOP • Any flip flop can be build using logic gates. NAND and NOR gates were used as they are universal gates.
  • 10. The Basic SR Flip-flop The Basic SR Flip-flop with clock
  • 11. Working From the diagram it is evident that the flip flop has mainly four states. They are S=1, R=0 — Q=1, Q’=0 This state is also called the SET state. S=0, R=1— Q=0, Q’=1 This state is k nown as the RESET state. In both the states ,the outputs are just compliments of each other and that the value of Q follows the value of S.
  • 12. S=0, R=0 — Q & Q’= Remember If both the values of S and R are switched to 0, then the circuit remembers the value of S and R in their previous state. S=1, R=1—Q=0, Q’=0 [Invalid] • This is an invalid state because the values of both Q and Q’are 0. • They are supposed to be compliments of each other. Normally, this state must be avoided.
  • 13. JK-FLIP FLOP • The J-K flip-flop is operationally similar to the S- R flip-flop. • The J-K flip-flop is clock driven like the clocked S-R flip-flop. • The difference is that the J-K flip-flop will retain its output status when two lows are present at its inputs. Also, when both inputs are high, the outputs will toggle on and off
  • 14. WORKING • Q and Q' are feedback to the pulse-steering NAND gates. • No invalid state. • Include a toggle (switch) state. • J=HIGH (and K=LOW) - a SET state • K=HIGH (and J=LOW) - a RESET state • both inputs LOW - a no change • both inputs HIGH - a toggle
  • 15. • Toggling means ‘Changing the next state output to complement of the present state output’ • Toggling will cause the output to complement again and again. • This complement operation continues until the Clock pulse goes back to 0. Since this condition is undesirable, we have to find a way to eliminate this condition. • This undesirable behavior can be eliminated by Edge triggering of JK flip-flop or by using master slave JK Flip-flops.
  • 17. J-K FLIP FLOP TRUTH TABLE previous values present values clk J K Q Q’ S R Q Q’ 1 0 1 1 0 0 1 0 1 0 1 0 0 0 1 1 1 0 1 0 0 0 1 0 0 1 1 0 1 0 1 0 0 1 0 0 0 1 0 previous values 0 1 0 0 0 1 1 1 1 1 0 0 1 0 1 compliment of previous values 0 1 1 0 1 0 S=J.Q’ R=K.Q
  • 18. J-K FLIP FLOP TRUTH TABLE summary
  • 19. D-FLIP FLOP • single input D (data) • D=HIGH - a SET state • D=LOW - a RESET state By comparing R-S, J-K, and D flip-flops one can see that the D flip-flop never has an unknown state, unlike the R-S and J-K. The D flip-flop is widely used. It is also known as a "data" or "delay" flip-flop and negative edge triggered flip flop.
  • 21. CLK D J K Q Q’ 1 1 0 1 0 1 1 1 1 0 1 0 J=Q D-FLIP FLOP TRUTH TABLE
  • 22. T-FLIP FLOP • A T flip flop is like JK flip-flop. • These are basically a single input version of JK flip flop. • This modified form of JK flip-flop is obtained by connecting both inputs J and K together. • • This flip-flop has only one input along with the clock input.
  • 23. clk T J K Q Q’ S R Q Q’ 1 0 0 0 1 0 0 0 1 0 previous values 0 1 0 0 0 1 1 1 1 1 1 0 0 1 0 1 compliment of previous values 0 1 1 0 1 0
  • 24. THE USE OF FLIP FLOP • For Register Devices: Flip flops can store a single bit of data i.e. 1 or 0. Registers are used to store multiple bits of data. So flip flops are used to design Registers. According to digital electronics, a Register is a device which is used to store the information. • Data Transfer The process of transferring the data from one register to another register