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

Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 
Counters, Synchronous & Asynchronous Counters
Counters, Synchronous & Asynchronous CountersCounters, Synchronous & Asynchronous Counters
Counters, Synchronous & Asynchronous CountersBony Yamin
 
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPMASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPSmit Shah
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuitBrenda Debra
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to CountersISMT College
 
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsMd Sadequl Islam
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSKrishma Parekh
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERSkumari36
 
Mod 10 synchronous counter updated
Mod 10 synchronous counter updatedMod 10 synchronous counter updated
Mod 10 synchronous counter updatedDANISHAMIN950
 
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 circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applicationsGaditek
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registersDharit Unadkat
 

What's hot (20)

Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
D and T Flip Flop
D and T Flip FlopD and T Flip Flop
D and T Flip Flop
 
Counters, Synchronous & Asynchronous Counters
Counters, Synchronous & Asynchronous CountersCounters, Synchronous & Asynchronous Counters
Counters, Synchronous & Asynchronous Counters
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPMASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
 
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital Electronics
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
Flipflop
FlipflopFlipflop
Flipflop
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
 
Mod 10 synchronous counter updated
Mod 10 synchronous counter updatedMod 10 synchronous counter updated
Mod 10 synchronous counter updated
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
latches
 latches latches
latches
 
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
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
D Flip Flop
D Flip Flop D 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
 
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.Satya P. Joshi
 
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
 

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 flop
Flip flopFlip flop
Flip flop
 
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
 
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.
 
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
 

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

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
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
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 

Recently uploaded (20)

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
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
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🔝
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
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
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.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.