SlideShare a Scribd company logo
1 of 19
Flip Flops and Registers 
BCA 5th Semester
FLIP FLOPS 
DEFINITION: Flip flop is a basic memory element in a digital 
computer. It is used to store One bit of information with a 0 or a 1. 
TYPES OF FLIP FLOPS: 
R S flip flop (Reset & Set). 
D flip flop (Delay / Data). 
J K flip flop. 
T flip flop (Toggle). 
Master Slave J K flip flop. 
CHARACTERISTICS : 
Flip-flop is a bi stable device ,It has only two states 0 and 1. 
Flip-flop has two outputs, One output is complement of other.
RS - FLIP FLOP 
LLooggiicc SSyymmbbooll :: LLooggiicc CCiirrccuuiitt :: 
TTrruutthh ttaabbllee ::
Working of RS flip flop 
 If both S and R are 0 during transition, the output does not change. 
 If S= 1 and R= 0, the out put Q is set to 1. 
 If S= 0 and R=1, the output is cleared or reset to 0. 
 If both S and R are 1, the output is unpredictable. This condition 
makes the RS flip flop difficult to manage and therefore is forbidden in 
practice.
D - FLIP FLOP 
LLooggiicc ddiiaaggrraamm wwiitthh NNAANNDD ggaatteess 
TTRRUUTTHH TTAABBLLEE FFOORR DD FFLLIIPPFFLLOOPP :: 
D Q(t+1) STATE 
0 0 Clear to 0 
1 1 Clear to 1 
D 
C 
Q 
Q’ 
LLooggiicc ddiiaaggrraamm::
Working of D – Flip flop: 
The D input goes directly into the S input and the complement of the 
D input goes to the R input. 
 If it is 1, the flip-flop is switched to the set state (unless it was 
already set). 
 If it is 0, the flip-flop switches to the clear state. 
Applications: 
 Registers as storage devices. 
 Used as a Buffer. 
 In Digital system.
JK - FLIP FLOP 
LLOOGGIICC DDIIAAGGRRAAMM:: LLOOGGIICC DDIIAAGGRRAAMM UUSSIINNGG NNAANNDD GGAATTEESS:: 
TTRRUUTTHH TTAABBLLEE:: 
J K Q(t+1) STATE 
0 0 Q(t) No change 
0 1 0 reset 
1 0 1 set 
1 1 Q’(t) complement
Working of JK – Flip Flop : 
 When j and k both are 0, the data inputs have no effect on the outputs. 
 When j=0 and k=1, the flip flop is reset or cleared to 0. 
 When j=1 and k=0. the flip flop is set to 1. 
 When j and k are 1, if the state of flip flop was 0,applying a clock with 1and 
flip flop state was 1, it changes to 0.this on off state is TOGGLING. 
 Racing condition: Toggling between 0 to 1 and 1 to 0 alternatively for one 
clock cycle. 
APPLICATIONS: 
 Counters 
 Frequency Dividers
T - FLIP FLOP 
LLOOGGIICC DDIIAAGGRRAAMM:: LLOOGGIICC DDIIAAGGRRAAMM UUSSIINNGG NNAANNDD GGAATTEESS:: 
TTRRUUTTHH TTAABBLLEE:: 
T Q(t+1) STATE 
0 Q(t) No Change 
1 Q’(t) Complement
T - FLIP FLOP 
 The T - flip flop is also known as the TOGGLE - flip flop. The toggle 
mode of JK flip flop is used as T - Flip flop. 
 This Flip flop can be obtained from a JK flip flop when inputs J and K 
are connected to provide a single input designated by T. 
 The T flip-flop is a single input version of the JK flip - flop. The T flip-flop 
is obtained from the JK type if both inputs are tied together. The 
output of the T flip-flop "toggles" with each clock pulse.. 
 When t=0, (j=0, k=0) the clock transition does not change. 
 When t=1, (j=1, k=1) the clock transition complements the state.
Master slave jk - FlIP FlOP 
LLOOGGIICC DDIIAAGGRRAAMM:: 
TTIIMMIINNGG RREELLAATTIIOONNSSHHIIPP::
Master slave jk - FlIP FlOP 
 It is a Combination of 2 flip flops. Where, the first is the Master that 
responds to the positive edge of the clock and the second is the slave 
which responds to the negative level. 
 The output changes only during the negative edge transition of the 
clock. 
 Output triggers only for negative edge triggering. 
 This helps in avoiding the racing condition in JK flip flop where it can 
be triggered only once within a clock cycle. 
Master/Slave triggering has become obsolete. Newer flip flops use 
negative edge triggering.
aPPlICatIONs OF FlIP FlOPs: 
Flip flops have a wide variety of applications. They are: 
 REGISTERS 
 FREQUENCY DIVIDERS 
 DIGITAL COUNTERS
reGIsters 
 Collection of a group of flip flops and logic gates which affect 
their transition. 
 Basic function is to hold information. 
 It may have combinational gates that perform certain data 
processing tasks in addition to flip flops. 
 It consists of a group of flip flops and gates that effect their 
transition.
shIFt reGIsters 
 A REGISTER capable of shifting binary information in one or both 
directions. 
 Consists of a series of flip flops cascaded together with the output of one 
flip flop connected to the input of the other flip flop. 
 All flip flops receive common clock pulses that initiate the shift from one 
stage to the next. 
 They are generally provided with a Clear or Reset connection so that 
they can be "SET" or "RESET" as required. 
 Controlled with certain clock pulses by inhibiting the clock from the 
input of the register if shift is not required. 
 It is also able to provide extra circuits to control the shift operation 
through the D inputs of the flip flops rather than the clock input.
4 bit Shift REGiStERS 
 Common clock pulse. 
 Output of one is connected to other. 
 Serial input determines bit position shifting left. 
 Shifting information depends on connecting clock to AND gate.
ChaRaCtERiStiCS 
 Provide necessary input and output terminals for parallel data 
transfer. 
 An input for clock pulses to synchronize all operations. 
 A control state that leaves the information in the register 
unchanged even through clock pulses are applied continuously. 
Shift registers are of two types depending upon the direction 
of shift. They are: 
 Unidirectional: Capable of shifting only in one direction 
 Bidirectional: Capable of shifting in both directions
appliCationS 
 Used to interface digital systems. 
 Can be used as simple delay circuits. 
 They can be used to convert serial data to parallel data 
commonly in microprocessor based system. 
 It can also be used for multiplication by shifting left and division 
by shifting right.
8.flip flops and registers

More Related Content

What's hot

Branch instructions in 8051 micrcocontroller
Branch instructions in 8051 micrcocontrollerBranch instructions in 8051 micrcocontroller
Branch instructions in 8051 micrcocontrollerUshaRani289
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085ShivamSood22
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to CountersISMT College
 
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
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic CircuitRamasubbu .P
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter DesignGargiKhanna1
 
Ring Counter.pptx
Ring Counter.pptxRing Counter.pptx
Ring Counter.pptxhepzijustin
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicJames Evangelos
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applicationsGaditek
 
sequential circuits
sequential circuitssequential circuits
sequential circuitsUnsa Shakir
 
UNIT-II : SEQUENTIAL CIRCUIT DESIGN
UNIT-II  : SEQUENTIAL CIRCUIT DESIGN UNIT-II  : SEQUENTIAL CIRCUIT DESIGN
UNIT-II : SEQUENTIAL CIRCUIT DESIGN Dr.YNM
 
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
 

What's hot (20)

Branch instructions in 8051 micrcocontroller
Branch instructions in 8051 micrcocontrollerBranch instructions in 8051 micrcocontroller
Branch instructions in 8051 micrcocontroller
 
flip flops
flip flops flip flops
flip flops
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
 
JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronics
 
Flip flops
Flip flopsFlip flops
Flip flops
 
Flipflop
FlipflopFlipflop
Flipflop
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
Dld
DldDld
Dld
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
 
Ring Counter.pptx
Ring Counter.pptxRing Counter.pptx
Ring Counter.pptx
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applications
 
MOS logic family
MOS logic familyMOS logic family
MOS logic family
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
Flip flop
Flip flopFlip flop
Flip flop
 
UNIT-II : SEQUENTIAL CIRCUIT DESIGN
UNIT-II  : SEQUENTIAL CIRCUIT DESIGN UNIT-II  : SEQUENTIAL CIRCUIT DESIGN
UNIT-II : SEQUENTIAL CIRCUIT DESIGN
 
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
 
D flip Flop
D flip FlopD flip Flop
D flip Flop
 

Viewers also liked

Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and SubtractorJaimin@prt.ltd.
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adderGaditek
 
Presentation on Flip Flop
Presentation  on Flip FlopPresentation  on Flip Flop
Presentation on Flip FlopNahian Ahmed
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adderKamil Hussain
 
Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)Mohammed Bamatraf
 
Op amp(operational amplifier)
Op amp(operational amplifier)Op amp(operational amplifier)
Op amp(operational amplifier)Kausik das
 

Viewers also liked (8)

CS50 Лекція 0-1
CS50 Лекція 0-1CS50 Лекція 0-1
CS50 Лекція 0-1
 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and Subtractor
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
 
Presentation on Flip Flop
Presentation  on Flip FlopPresentation  on Flip Flop
Presentation on Flip Flop
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adder
 
Registers
RegistersRegisters
Registers
 
Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)
 
Op amp(operational amplifier)
Op amp(operational amplifier)Op amp(operational amplifier)
Op amp(operational amplifier)
 

Similar to 8.flip flops and registers

SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxThanmayiKumar
 
flip flop Presentation
flip flop  Presentationflip flop  Presentation
flip flop Presentationmaalik123
 
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
 
De EE unit-3.pptx
De EE unit-3.pptxDe EE unit-3.pptx
De EE unit-3.pptxMukulThory1
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuitsAmrutaMehata
 
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
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slidejyothir19
 
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
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the studentjainyshah20
 
9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptxudhayaveenaa
 

Similar to 8.flip flops and registers (20)

Flip & flop by Zaheer Abbas Aghani
Flip & flop by Zaheer Abbas AghaniFlip & flop by Zaheer Abbas Aghani
Flip & flop by Zaheer Abbas Aghani
 
Flip flops & registers
Flip flops & registersFlip flops & registers
Flip flops & registers
 
BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
 
flip flop Presentation
flip flop  Presentationflip flop  Presentation
flip flop Presentation
 
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
 
De EE unit-3.pptx
De EE unit-3.pptxDe EE unit-3.pptx
De EE unit-3.pptx
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
 
Flip Flops
Flip FlopsFlip Flops
Flip Flops
 
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
 
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 5.pptx
unit 5.pptxunit 5.pptx
unit 5.pptx
 
Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
 
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
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the student
 
9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx
 

More from Deepak Sharma

2.software requirement specification
2.software requirement specification2.software requirement specification
2.software requirement specificationDeepak Sharma
 
6.applet programming in java
6.applet programming in java6.applet programming in java
6.applet programming in javaDeepak Sharma
 
5.interface and packages
5.interface and packages5.interface and packages
5.interface and packagesDeepak Sharma
 
10.data transmission
10.data transmission10.data transmission
10.data transmissionDeepak Sharma
 
7.error management and exception handling
7.error management and exception handling7.error management and exception handling
7.error management and exception handlingDeepak Sharma
 
4.software management
4.software management4.software management
4.software managementDeepak Sharma
 

More from Deepak Sharma (9)

2.software requirement specification
2.software requirement specification2.software requirement specification
2.software requirement specification
 
1.sdlc
1.sdlc1.sdlc
1.sdlc
 
6.applet programming in java
6.applet programming in java6.applet programming in java
6.applet programming in java
 
9.cs instrset
9.cs instrset9.cs instrset
9.cs instrset
 
5.interface and packages
5.interface and packages5.interface and packages
5.interface and packages
 
10.data transmission
10.data transmission10.data transmission
10.data transmission
 
7.error management and exception handling
7.error management and exception handling7.error management and exception handling
7.error management and exception handling
 
4.software management
4.software management4.software management
4.software management
 
3.software testing
3.software testing3.software testing
3.software testing
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

8.flip flops and registers

  • 1. Flip Flops and Registers BCA 5th Semester
  • 2. FLIP FLOPS DEFINITION: Flip flop is a basic memory element in a digital computer. It is used to store One bit of information with a 0 or a 1. TYPES OF FLIP FLOPS: R S flip flop (Reset & Set). D flip flop (Delay / Data). J K flip flop. T flip flop (Toggle). Master Slave J K flip flop. CHARACTERISTICS : Flip-flop is a bi stable device ,It has only two states 0 and 1. Flip-flop has two outputs, One output is complement of other.
  • 3. RS - FLIP FLOP LLooggiicc SSyymmbbooll :: LLooggiicc CCiirrccuuiitt :: TTrruutthh ttaabbllee ::
  • 4. Working of RS flip flop  If both S and R are 0 during transition, the output does not change.  If S= 1 and R= 0, the out put Q is set to 1.  If S= 0 and R=1, the output is cleared or reset to 0.  If both S and R are 1, the output is unpredictable. This condition makes the RS flip flop difficult to manage and therefore is forbidden in practice.
  • 5. D - FLIP FLOP LLooggiicc ddiiaaggrraamm wwiitthh NNAANNDD ggaatteess TTRRUUTTHH TTAABBLLEE FFOORR DD FFLLIIPPFFLLOOPP :: D Q(t+1) STATE 0 0 Clear to 0 1 1 Clear to 1 D C Q Q’ LLooggiicc ddiiaaggrraamm::
  • 6. Working of D – Flip flop: The D input goes directly into the S input and the complement of the D input goes to the R input.  If it is 1, the flip-flop is switched to the set state (unless it was already set).  If it is 0, the flip-flop switches to the clear state. Applications:  Registers as storage devices.  Used as a Buffer.  In Digital system.
  • 7. JK - FLIP FLOP LLOOGGIICC DDIIAAGGRRAAMM:: LLOOGGIICC DDIIAAGGRRAAMM UUSSIINNGG NNAANNDD GGAATTEESS:: TTRRUUTTHH TTAABBLLEE:: J K Q(t+1) STATE 0 0 Q(t) No change 0 1 0 reset 1 0 1 set 1 1 Q’(t) complement
  • 8. Working of JK – Flip Flop :  When j and k both are 0, the data inputs have no effect on the outputs.  When j=0 and k=1, the flip flop is reset or cleared to 0.  When j=1 and k=0. the flip flop is set to 1.  When j and k are 1, if the state of flip flop was 0,applying a clock with 1and flip flop state was 1, it changes to 0.this on off state is TOGGLING.  Racing condition: Toggling between 0 to 1 and 1 to 0 alternatively for one clock cycle. APPLICATIONS:  Counters  Frequency Dividers
  • 9. T - FLIP FLOP LLOOGGIICC DDIIAAGGRRAAMM:: LLOOGGIICC DDIIAAGGRRAAMM UUSSIINNGG NNAANNDD GGAATTEESS:: TTRRUUTTHH TTAABBLLEE:: T Q(t+1) STATE 0 Q(t) No Change 1 Q’(t) Complement
  • 10. T - FLIP FLOP  The T - flip flop is also known as the TOGGLE - flip flop. The toggle mode of JK flip flop is used as T - Flip flop.  This Flip flop can be obtained from a JK flip flop when inputs J and K are connected to provide a single input designated by T.  The T flip-flop is a single input version of the JK flip - flop. The T flip-flop is obtained from the JK type if both inputs are tied together. The output of the T flip-flop "toggles" with each clock pulse..  When t=0, (j=0, k=0) the clock transition does not change.  When t=1, (j=1, k=1) the clock transition complements the state.
  • 11. Master slave jk - FlIP FlOP LLOOGGIICC DDIIAAGGRRAAMM:: TTIIMMIINNGG RREELLAATTIIOONNSSHHIIPP::
  • 12. Master slave jk - FlIP FlOP  It is a Combination of 2 flip flops. Where, the first is the Master that responds to the positive edge of the clock and the second is the slave which responds to the negative level.  The output changes only during the negative edge transition of the clock.  Output triggers only for negative edge triggering.  This helps in avoiding the racing condition in JK flip flop where it can be triggered only once within a clock cycle. Master/Slave triggering has become obsolete. Newer flip flops use negative edge triggering.
  • 13. aPPlICatIONs OF FlIP FlOPs: Flip flops have a wide variety of applications. They are:  REGISTERS  FREQUENCY DIVIDERS  DIGITAL COUNTERS
  • 14. reGIsters  Collection of a group of flip flops and logic gates which affect their transition.  Basic function is to hold information.  It may have combinational gates that perform certain data processing tasks in addition to flip flops.  It consists of a group of flip flops and gates that effect their transition.
  • 15. shIFt reGIsters  A REGISTER capable of shifting binary information in one or both directions.  Consists of a series of flip flops cascaded together with the output of one flip flop connected to the input of the other flip flop.  All flip flops receive common clock pulses that initiate the shift from one stage to the next.  They are generally provided with a Clear or Reset connection so that they can be "SET" or "RESET" as required.  Controlled with certain clock pulses by inhibiting the clock from the input of the register if shift is not required.  It is also able to provide extra circuits to control the shift operation through the D inputs of the flip flops rather than the clock input.
  • 16. 4 bit Shift REGiStERS  Common clock pulse.  Output of one is connected to other.  Serial input determines bit position shifting left.  Shifting information depends on connecting clock to AND gate.
  • 17. ChaRaCtERiStiCS  Provide necessary input and output terminals for parallel data transfer.  An input for clock pulses to synchronize all operations.  A control state that leaves the information in the register unchanged even through clock pulses are applied continuously. Shift registers are of two types depending upon the direction of shift. They are:  Unidirectional: Capable of shifting only in one direction  Bidirectional: Capable of shifting in both directions
  • 18. appliCationS  Used to interface digital systems.  Can be used as simple delay circuits.  They can be used to convert serial data to parallel data commonly in microprocessor based system.  It can also be used for multiplication by shifting left and division by shifting right.