SlideShare a Scribd company logo
1 of 19
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)

Digital Design Session 15
Digital Design Session 15Digital Design Session 15
Digital Design Session 15
 
Digital Design Session 26
Digital Design Session 26Digital Design Session 26
Digital Design Session 26
 
Digital Design Session 24
Digital Design Session 24Digital Design Session 24
Digital Design Session 24
 
Digital Design Session 29
Digital Design Session 29Digital Design Session 29
Digital Design Session 29
 
Digital Design Session 28
Digital Design Session 28Digital Design Session 28
Digital Design Session 28
 
Digital Design Session 4
Digital Design Session 4Digital Design Session 4
Digital Design Session 4
 
Digital Design Session 3
Digital Design Session 3Digital Design Session 3
Digital Design Session 3
 
Digital Design Session 12
Digital Design Session 12Digital Design Session 12
Digital Design Session 12
 
Digital Design Session 5
Digital Design  Session 5Digital Design  Session 5
Digital Design Session 5
 
Digital Design Session 10
Digital Design Session 10Digital Design Session 10
Digital Design Session 10
 
Digital Design Session 9
Digital Design Session 9Digital Design Session 9
Digital Design Session 9
 
Digital Design Session 8
Digital Design Session 8Digital Design Session 8
Digital Design Session 8
 
Digital Design Session 7
Digital Design  Session 7Digital Design  Session 7
Digital Design Session 7
 

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

Digital Design Session 23
Digital Design Session 23Digital Design Session 23
Digital Design Session 23
 
Digital Design Session 16
Digital Design Session 16Digital Design Session 16
Digital Design Session 16
 
Digital Design Session 13
Digital Design Session 13Digital Design Session 13
Digital Design Session 13
 
Digital Design Session 11
Digital Design Session 11Digital Design Session 11
Digital Design Session 11
 
Digital Design Session 6
Digital Design Session 6Digital Design Session 6
Digital Design Session 6
 
Digital Design Session 2
Digital Design Session 2Digital Design Session 2
Digital Design Session 2
 
Digital Design Session 1
Digital Design Session 1Digital Design Session 1
Digital Design Session 1
 
Digital Design Course Summary
 Digital Design Course Summary Digital Design Course Summary
Digital Design Course Summary
 
Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7
 

Recently uploaded

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 

Recently uploaded (20)

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 

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