SlideShare ist ein Scribd-Unternehmen logo
1 von 12
TOPIC:- Types of Flip Flops
Prepared by:- VIRAJ SHAH
Types of Flip Flops
Edge-Triggered Flip-flops
S-R Flip-flop
D Flip-flop
J-K Flip-flop
T Flip-flop
CS1104-11 Edge-Triggered Flip-flops 3
Edge-Triggered Flip-flops
 S-R, D and J-K edge-triggered flip-flops. Note
the “>” symbol at the clock input.
S
C
R
Q
Q'
S
C
R
Q
Q'
D
C
Q
Q'
D
C
Q
Q'
J
C
K
Q
Q'
J
C
K
Q
Q'
Positive edge-triggered flip-flops
Negative edge-triggered flip-flops
CS1104-11 SR Flip-flop 4
S-R Flip-flop
 S-R flip-flop: on the triggering edge of the clock
pulse,
 S=HIGH (and R=LOW) a SET state
 R=HIGH (and S=LOW) a RESET state
 both inputs LOW a no change
 both inputs HIGH a invalid
 Characteristic table of positive edge-triggered S-R
flip-flop:
X = irrelevant (“don’t care”)
 = clock transition LOW to
HIGH
S R CLK Q(t+1) Comments
0 0 X Q(t) No change
0 1  0 Reset
1 0  1 Set
1 1  ? Invalid
CS1104-11 SR Flip-flop 5
S-R Flip-flop
The pulse transition detector.
S
Q
Q'
CLK
Pulse
transitio
n
detector R
Positive-going transition
(rising edge)
CLK
CLK'
CLK*
CLK'
CLK
CLK*
Negative-going transition
(falling edge)
CLK'
CLK
CLK*
CLK
CLK'
CLK*
CS1104-11 SR Flip-flop 6
S-R Flip-flop
The pulse transition detector.
S
Q
Q'
CLK
Pulse
transitio
n
detector R
Positive-going transition
(rising edge)
CLK
CLK'
CLK*
CLK'
CLK
CLK*
Negative-going transition
(falling edge)
CLK'
CLK
CLK*
CLK
CLK'
CLK*
CS1104-11 D Flip-flop 7
D Flip-flop
 D flip-flop: single input D (data)
 D=HIGH a SET state
 D=LOW a RESET state
 Q follows D at the clock edge.
 Convert S-R flip-flop into a D flip-flop: add an inverter.
A positive edge-triggered D flip-flop
formed with an S-R flip-flop.
S
C
R
Q
Q'
CLK
D D CLK Q(t+1) Comments
1  1 Set
0  0 Reset
 = clock transition LOW to
HIGH
CS1104-11 D Flip-flop 8
D Flip-flop
 Application: Parallel data transfer.
To transfer logic-circuit outputs X, Y, Z to flip-
flops Q1, Q2 and Q3 for storage.
* After occurrence of negative-going
transition
Q1 =
X*
D
CLK
Q
Q'
Q2 =
Y*
D
CLK
Q
Q'
Q3 =
Z*
D
CLK
Q
Q'
Combinational
logic circuit
Transfer
X
Y
Z
CS1104-11 J-K Flip-Ffop 9
J-K Flip-flop
 J-K flip-flop: Q and Q' are fed back to the pulse-
steering NAND gates.
 No invalid state.
 Include a toggle 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
CS1104-11 J-K Flip-flop 10
J-K Flip-flop
 J-K flip-flop.
 Characteristic table.
J
Q
Q'
CLK
Pulse
transitio
n
detectorK
J K CLK Q(t+1) Comments
0 0  Q(t) No change
0 1  0 Reset
1 0  1 Set
1 1  Q(t)' Toggle
Q J K Q(t+1)
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
Q(t+1) = J.Q' + K'.Q
CS1104-11 T Flip-flop 11
T Flip-flop
 T flip-flop: single-input version of the J-K flip flop,
formed by tying both inputs together.
 Characteristic table.
T CLK Q(t+1) Comments
0  Q(t) No change
1  Q(t)' Toggle
Q T Q(t+1)
0 0 0
0 1 1
1 0 1
1 1 0
Q(t+1) = T.Q' + T'.Q
T
Q
Q'
CLK
Pulse
transitio
n
detector
J
C
K
Q
Q'
CLK
T
CS1104-11 T Flip-flop 12
T Flip-flop
 Application: Frequency division.
 Application: Counter (to be covered in Lecture 13.)
J
C
K
Q
CLK
High
CLK
Q
Divide clock frequency by 2.
J
C
K
QA
CLK
High
J
C
K
QB
High
CLK
QA
QB
Divide clock frequency by 4.

Weitere ähnliche Inhalte

Was ist angesagt?

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 Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic CircuitRamasubbu .P
 
Latch and flip flop
Latch and flip flopLatch and flip flop
Latch and flip flopGargiKhanna1
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSKrishma Parekh
 
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
 
Synchronous counters
Synchronous countersSynchronous counters
Synchronous countersLee Diaz
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to CountersISMT College
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuitsAmrutaMehata
 
Flip flop’s state tables & diagrams
Flip flop’s state tables & diagramsFlip flop’s state tables & diagrams
Flip flop’s state tables & diagramsSunny Khatana
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERSkumari36
 

Was ist angesagt? (20)

Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
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
 
Decimal adder
Decimal adderDecimal adder
Decimal adder
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
D flip Flop
D flip FlopD flip Flop
D flip Flop
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
Latch and flip flop
Latch and flip flopLatch and flip flop
Latch and flip flop
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
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
 
Synchronous counters
Synchronous countersSynchronous counters
Synchronous counters
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
 
Flip flop
Flip flopFlip flop
Flip flop
 
D Flip Flop
D Flip Flop D Flip Flop
D Flip Flop
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
latches
 latches latches
latches
 
Flip flop’s state tables & diagrams
Flip flop’s state tables & diagramsFlip flop’s state tables & diagrams
Flip flop’s state tables & diagrams
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
 

Ähnlich wie Types of flip flops ppt

B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitRai University
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdfAreebaShoukat4
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsstudent
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdfDSOOP
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flopsSandeep Kumar
 
flip flops.pptx
flip flops.pptxflip flops.pptx
flip flops.pptxYash746626
 
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 slide
Flip flop slideFlip flop slide
Flip flop slidejyothir19
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptxamudhak10
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
SequentialcircuitsRaghu Vamsi
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registersDharit Unadkat
 

Ähnlich wie Types of flip flops ppt (20)

Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuit
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
 
Flip flops
Flip flopsFlip flops
Flip flops
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops
 
flip flops.pptx
flip flops.pptxflip flops.pptx
flip flops.pptx
 
Flip flops
Flip flopsFlip flops
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
Flip flopFlip flop
Flip flop
 
U-04 L-02.pdf
U-04 L-02.pdfU-04 L-02.pdf
U-04 L-02.pdf
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
10529144.ppt
10529144.ppt10529144.ppt
10529144.ppt
 

Kürzlich hochgeladen

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 

Kürzlich hochgeladen (20)

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 

Types of flip flops ppt

  • 1. TOPIC:- Types of Flip Flops Prepared by:- VIRAJ SHAH
  • 2. Types of Flip Flops Edge-Triggered Flip-flops S-R Flip-flop D Flip-flop J-K Flip-flop T Flip-flop
  • 3. CS1104-11 Edge-Triggered Flip-flops 3 Edge-Triggered Flip-flops  S-R, D and J-K edge-triggered flip-flops. Note the “>” symbol at the clock input. S C R Q Q' S C R Q Q' D C Q Q' D C Q Q' J C K Q Q' J C K Q Q' Positive edge-triggered flip-flops Negative edge-triggered flip-flops
  • 4. CS1104-11 SR Flip-flop 4 S-R Flip-flop  S-R flip-flop: on the triggering edge of the clock pulse,  S=HIGH (and R=LOW) a SET state  R=HIGH (and S=LOW) a RESET state  both inputs LOW a no change  both inputs HIGH a invalid  Characteristic table of positive edge-triggered S-R flip-flop: X = irrelevant (“don’t care”)  = clock transition LOW to HIGH S R CLK Q(t+1) Comments 0 0 X Q(t) No change 0 1  0 Reset 1 0  1 Set 1 1  ? Invalid
  • 5. CS1104-11 SR Flip-flop 5 S-R Flip-flop The pulse transition detector. S Q Q' CLK Pulse transitio n detector R Positive-going transition (rising edge) CLK CLK' CLK* CLK' CLK CLK* Negative-going transition (falling edge) CLK' CLK CLK* CLK CLK' CLK*
  • 6. CS1104-11 SR Flip-flop 6 S-R Flip-flop The pulse transition detector. S Q Q' CLK Pulse transitio n detector R Positive-going transition (rising edge) CLK CLK' CLK* CLK' CLK CLK* Negative-going transition (falling edge) CLK' CLK CLK* CLK CLK' CLK*
  • 7. CS1104-11 D Flip-flop 7 D Flip-flop  D flip-flop: single input D (data)  D=HIGH a SET state  D=LOW a RESET state  Q follows D at the clock edge.  Convert S-R flip-flop into a D flip-flop: add an inverter. A positive edge-triggered D flip-flop formed with an S-R flip-flop. S C R Q Q' CLK D D CLK Q(t+1) Comments 1  1 Set 0  0 Reset  = clock transition LOW to HIGH
  • 8. CS1104-11 D Flip-flop 8 D Flip-flop  Application: Parallel data transfer. To transfer logic-circuit outputs X, Y, Z to flip- flops Q1, Q2 and Q3 for storage. * After occurrence of negative-going transition Q1 = X* D CLK Q Q' Q2 = Y* D CLK Q Q' Q3 = Z* D CLK Q Q' Combinational logic circuit Transfer X Y Z
  • 9. CS1104-11 J-K Flip-Ffop 9 J-K Flip-flop  J-K flip-flop: Q and Q' are fed back to the pulse- steering NAND gates.  No invalid state.  Include a toggle 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
  • 10. CS1104-11 J-K Flip-flop 10 J-K Flip-flop  J-K flip-flop.  Characteristic table. J Q Q' CLK Pulse transitio n detectorK J K CLK Q(t+1) Comments 0 0  Q(t) No change 0 1  0 Reset 1 0  1 Set 1 1  Q(t)' Toggle Q J K Q(t+1) 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 Q(t+1) = J.Q' + K'.Q
  • 11. CS1104-11 T Flip-flop 11 T Flip-flop  T flip-flop: single-input version of the J-K flip flop, formed by tying both inputs together.  Characteristic table. T CLK Q(t+1) Comments 0  Q(t) No change 1  Q(t)' Toggle Q T Q(t+1) 0 0 0 0 1 1 1 0 1 1 1 0 Q(t+1) = T.Q' + T'.Q T Q Q' CLK Pulse transitio n detector J C K Q Q' CLK T
  • 12. CS1104-11 T Flip-flop 12 T Flip-flop  Application: Frequency division.  Application: Counter (to be covered in Lecture 13.) J C K Q CLK High CLK Q Divide clock frequency by 2. J C K QA CLK High J C K QB High CLK QA QB Divide clock frequency by 4.