SlideShare a Scribd company logo
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2
Session 19: Focus
 Edge-triggered D Flip-flops
◦ Positive edge-triggered D Flip-flop Implementation
◦ Logic Symbol
 JK Flip-flop
◦ Implementation
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Positive Edge-triggered
D Flip-flop
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4
Positive Edge-triggered D Flip-flop
D = 1
The state before
0-to-1
Transition is
Captured
0
Assume D = 1
1
The value (1) of D prior to
the clk transition 0 to 1 is
captured as Q
S
R
S’ R’
When the clk is 0
Q is disconnected from D
Since S’R’ are 11 After latching on 0-to-1 clk transition, Q is disconnected from D
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5
Positive Edge-triggered D Flip-flop
D = 0
The state before
0-to-1
Transition is
Captured
0
1
Assume D = 0
1
The value (0) of D while
The clk was zero is
Captured as Q
S
R
When the clk is 0
Q is disconnected from D
Since S’R’ are 11 After latching on 0-to-1 clk transition, Q is disconnected from D
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 6
A Positive Edge-triggered D Flip-flop
 The value that is produced at the output (Q) of the flip-flop is
the value that was stored in the master stage immediately
before the positive edge occurred
 The logic symbol of the positive edge-triggered D-flip-flop is
give above
QThe state before
0-to-1
Transition is
Captured
> is the dynamic indicator
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 7
Level and Edge Triggering of Flip-flops
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8
Positive Edge-triggered D Flip-flop
D = 1: with animation
The state before
0-to-1
Transition is
Captured
0
0
0
1
1
1
1
1
0
0
0
Assume D = 1
1
1
1
1
0
0
1
The value (1) of D prior to
the clk transition 0 to 1 is
captured as Q
S
R
1
1
1
0
0
S’ R’
When the clk is 0
Q is disconnected from D
Since S’R’ are 11 After latching on 0-to-1 clk transition, Q is disconnected from D
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 9
Positive Edge-triggered D Flip-flop
D = 0: with animation
The state before
0-to-1
Transition is
Captured
0
0
0
1
1
0
1
1
1
1
1
Assume D = 0
1 1
1
0
1
1
0
The value (0) of D while
The clk was zero is
Captured as Q
S
R
0
1
1
When the clk is 0
Q is disconnected from D
Since S’R’ are 11 After latching on 0-to-1 clk transition, Q is disconnected from D
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
JK Flip-flop
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11
Other Flip-flops with D Flip-flop
 D Flip-flop is the simplest flip-flop that can be built with a less
number of logic gates
 In a typical Integrated Chip has millions of logic gates and
flips-flops inside them
 Other types of flip-flops are built using the D flip-flop
 J-K Flip-Flop
 T Flip-flop
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12
When Q is 0 initially
JK Flip-flop – (JK = 00)
0
1
0
1
0
0
0
0
0
1
When Q is 1 initially
1
0
1
0
0
0
0
1
1
1
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 13
When Q is 0 initially
JK Flip-flop (JK = 01) - Reset
0
1
0
1
1
0
0
0
0
0
When Q is 1 initially
1
0
1
0
1
0
0
0
0
0
0
New
value
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14
When Q is 0 initially
JK Flip-flop (JK = 10) - Set
0
1
0
1
0
1
1
0
1
1
When Q is 1 initially
1
0
1
0
0
1
0
1
1
1
1
New
value
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15
When Q is 0 initially
JK Flip-flop (JK = 11) - Complement
0
1
0
1
1
1
1
0
1
0
When Q is 1 initially
1
0
1
0
1
1
0
0
0
0
1
New
value
0
New
value
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 16
Quiz 1: Draw the output (Q) waveform
Assume that the flip-flop
is initially RESET
This is Negative edge-triggered
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 17
Quiz 2: Draw the output (Q) waveform
Assume that the flip-flop
is initially RESET
This is Positive edge-triggered
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 18
Session 19: Summary
 Latches and Flip-flops
◦ Level and Edge-triggered clocks
 Edge-triggered D Flip-flops
◦ Negative edge-triggered
◦ Positive edge-triggered
 JK Flip-flop
◦ Implementation
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 19
References
Ref 1 Ref 2

More Related Content

What's hot (13)

Ad

Similar to Digital Design Session 19 (20)

PDF
flip flop Presentation
PPT
Flip flop
PPT
Flip Flops sequential circuit and types
PPTX
flip flops
PDF
Flipflop for Electronics and Communication Engineering students.pdf
PPTX
9flipflopsupdated-191016140658.pptx
PPTX
Flipflopsupdated explanation and applications.pptx
PPT
COMBINATIONAL CIRCUITS & FLIP FLOPS
PPT
Ee2 chapter12 flip_flop
PPTX
D flip flop in Digital electronics
PPT
Lect20 Engin112
PDF
15CS32 ADE Module 4
PDF
Ng2421772180
PPTX
Flip flops
PPT
10529144.ppt
PPTX
ANALOG AND DIGITAL ELECTRONICS unit 5
PPTX
DPCO UNIT 2.pptx
PPT
8.flip flops and registers
PPTX
Types of flip flops ppt
PPT
sequential circuits
flip flop Presentation
Flip flop
Flip Flops sequential circuit and types
flip flops
Flipflop for Electronics and Communication Engineering students.pdf
9flipflopsupdated-191016140658.pptx
Flipflopsupdated explanation and applications.pptx
COMBINATIONAL CIRCUITS & FLIP FLOPS
Ee2 chapter12 flip_flop
D flip flop in Digital electronics
Lect20 Engin112
15CS32 ADE Module 4
Ng2421772180
Flip flops
10529144.ppt
ANALOG AND DIGITAL ELECTRONICS unit 5
DPCO UNIT 2.pptx
8.flip flops and registers
Types of flip flops ppt
sequential circuits
Ad

More from International Institute of Information Technology - Bangalore (9)

Recently uploaded (20)

PDF
Well-logging-methods_new................
PPTX
OOP with Java - Java Introduction (Basics)
PDF
737-MAX_SRG.pdf student reference guides
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT
Project quality management in manufacturing
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
Well-logging-methods_new................
OOP with Java - Java Introduction (Basics)
737-MAX_SRG.pdf student reference guides
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Fundamentals of safety and accident prevention -final (1).pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Project quality management in manufacturing
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Model Code of Practice - Construction Work - 21102022 .pdf
Internet of Things (IOT) - A guide to understanding
Operating System & Kernel Study Guide-1 - converted.pdf
R24 SURVEYING LAB MANUAL for civil enggi

Digital Design Session 19

  • 1. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
  • 2. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2 Session 19: Focus  Edge-triggered D Flip-flops ◦ Positive edge-triggered D Flip-flop Implementation ◦ Logic Symbol  JK Flip-flop ◦ Implementation
  • 3. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Positive Edge-triggered D Flip-flop
  • 4. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4 Positive Edge-triggered D Flip-flop D = 1 The state before 0-to-1 Transition is Captured 0 Assume D = 1 1 The value (1) of D prior to the clk transition 0 to 1 is captured as Q S R S’ R’ When the clk is 0 Q is disconnected from D Since S’R’ are 11 After latching on 0-to-1 clk transition, Q is disconnected from D
  • 5. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5 Positive Edge-triggered D Flip-flop D = 0 The state before 0-to-1 Transition is Captured 0 1 Assume D = 0 1 The value (0) of D while The clk was zero is Captured as Q S R When the clk is 0 Q is disconnected from D Since S’R’ are 11 After latching on 0-to-1 clk transition, Q is disconnected from D
  • 6. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 6 A Positive Edge-triggered D Flip-flop  The value that is produced at the output (Q) of the flip-flop is the value that was stored in the master stage immediately before the positive edge occurred  The logic symbol of the positive edge-triggered D-flip-flop is give above QThe state before 0-to-1 Transition is Captured > is the dynamic indicator
  • 7. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 7 Level and Edge Triggering of Flip-flops
  • 8. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8 Positive Edge-triggered D Flip-flop D = 1: with animation The state before 0-to-1 Transition is Captured 0 0 0 1 1 1 1 1 0 0 0 Assume D = 1 1 1 1 1 0 0 1 The value (1) of D prior to the clk transition 0 to 1 is captured as Q S R 1 1 1 0 0 S’ R’ When the clk is 0 Q is disconnected from D Since S’R’ are 11 After latching on 0-to-1 clk transition, Q is disconnected from D
  • 9. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 9 Positive Edge-triggered D Flip-flop D = 0: with animation The state before 0-to-1 Transition is Captured 0 0 0 1 1 0 1 1 1 1 1 Assume D = 0 1 1 1 0 1 1 0 The value (0) of D while The clk was zero is Captured as Q S R 0 1 1 When the clk is 0 Q is disconnected from D Since S’R’ are 11 After latching on 0-to-1 clk transition, Q is disconnected from D
  • 10. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com JK Flip-flop
  • 11. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11 Other Flip-flops with D Flip-flop  D Flip-flop is the simplest flip-flop that can be built with a less number of logic gates  In a typical Integrated Chip has millions of logic gates and flips-flops inside them  Other types of flip-flops are built using the D flip-flop  J-K Flip-Flop  T Flip-flop
  • 12. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12 When Q is 0 initially JK Flip-flop – (JK = 00) 0 1 0 1 0 0 0 0 0 1 When Q is 1 initially 1 0 1 0 0 0 0 1 1 1
  • 13. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 13 When Q is 0 initially JK Flip-flop (JK = 01) - Reset 0 1 0 1 1 0 0 0 0 0 When Q is 1 initially 1 0 1 0 1 0 0 0 0 0 0 New value
  • 14. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14 When Q is 0 initially JK Flip-flop (JK = 10) - Set 0 1 0 1 0 1 1 0 1 1 When Q is 1 initially 1 0 1 0 0 1 0 1 1 1 1 New value
  • 15. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15 When Q is 0 initially JK Flip-flop (JK = 11) - Complement 0 1 0 1 1 1 1 0 1 0 When Q is 1 initially 1 0 1 0 1 1 0 0 0 0 1 New value 0 New value
  • 16. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 16 Quiz 1: Draw the output (Q) waveform Assume that the flip-flop is initially RESET This is Negative edge-triggered
  • 17. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 17 Quiz 2: Draw the output (Q) waveform Assume that the flip-flop is initially RESET This is Positive edge-triggered
  • 18. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 18 Session 19: Summary  Latches and Flip-flops ◦ Level and Edge-triggered clocks  Edge-triggered D Flip-flops ◦ Negative edge-triggered ◦ Positive edge-triggered  JK Flip-flop ◦ Implementation
  • 19. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 19 References Ref 1 Ref 2