SlideShare a Scribd company logo
1 of 20
Digital Electronics
Flip-Flops & Latches
Flip-Flops & Latches
2
This presentation will
• Review sequential logic and the flip-flop.
• Introduce the D flip-flop and provide an excitation
table and a sample timing analysis.
• Introduce the J/K flip-flop and provide an excitation
table and a sample timing analysis.
• Review flip-flop clock parameters.
• Introduce the transparent D-latch.
• Discuss flip-flop asynchronous inputs.
Sequential Logic & The Flip-Flop
3
Combinational
Logic Gates
.
.
Inputs Outputs
Memory
Elements
(Flip-Flops)
.
.
Clock
D Flip-Flop: Excitation Table
4
Q
CLK
D Q
D CLK
0  0 1
1  1 0
 : Rising Edge of Clock
Q
Q
D Flip-Flop: Example Timing
5
Q
D
CLK
Q=D=1 Q=D=1
Q=D=0 Q=D=1
No Change
Q=D=0
No Change
Q=D=0
No Change
Q=D=0
J/K Flip-Flop: Excitation Table
6
J K CLK
0 0  No Change
0 1  0 Clear
1 0  1 Set
1 1  Toggle
 : Rising Edge of Clock
Q
of
Complement
:
Q
Q
Q
K
J Q
CLK
0
Q
0
Q
J/K Flip-Flop: Example Timing
7
Q
J
K
CLK
SET CLEAR
TOGGLE
NO
CHANGE
TOGGLE
NO
CHANGE
SET
Clock Edges
8
1
0
1
0
Positive Edge Transition
Negative Edge Transition
POS & NEG Edge Triggered D
9
Q
CLK
D Q
D CLK
0  0 1
1  1 0
 : Rising Edge of Clock
Q
Q
D CLK
0  0 1
1  1 0
 : Falling Edge of Clock
Q
Q
Q
CLK
D Q
Positive Edge Trigger
Negative Edge Trigger
POS & NEG Edge Triggered J/K
10
Positive Edge Trigger
Negative Edge Trigger
Q
K
J Q
CLK
Q
K
J Q
CLK
J K CLK
0 0 
0 1  0
1 0  1
1 1 
 : Rising Edge of Clock
Q
0
Q
0
Q
J K CLK
0 0 
0 1  0
1 0  1
1 1 
 : Rising Edge of Clock
Q
0
Q
0
Q
Flip-Flop Timing
11
Data Input
(D,J, or K)
1
0
tS
Setup Time
tH
Hold Time
Positive
Edge
Clock
1
0
Setup Time (tS): The time interval before the active transition of the clock
signal during which the data input (D, J, or K) must be maintained.
Hold Time (tH): The time interval after the active transition of the clock
signal during which the data input (D, J, or K) must be maintained.
12
PR
PRESET
CLR
CLEAR
CLK
CLOCK
D
DATA
1 1  0 0 1
1 1  1 1 0
0 1 X X 1 0 Asynchronous Preset
1 0 X X 0 1 Asynchronous Clear
0 0 X X 1 1 ILLEGAL CONDITION
Q
CLK
D Q
PR
CLR
Asynchronous Inputs
Q
Q
Asynchronous inputs (Preset & Clear) are
used to override the clock/data inputs and
force the outputs to a predefined state.
The Preset (PR) input forces the output to:
The Clear (CLR) input forces the output to:
0
Q
&
1
Q 

1
Q
&
0
Q 

D Flip-Flop: PR & CLR Timing
13
Q
PR
CLR
D
CLK
Q=1
Preset
Q=D=0
Clocked
Q=D=0
Clocked
Q=1
Preset
Q=D=0
Clocked
Q=0
Clear
Q=D=1
Clocked
Q=D=1
Clocked
Q=D=1
Clocked
Transparent D-Latch
14
Q
EN
D Q
EN D
0 X
1 0 0 1
1 1 1 0
Q
Q
0
Q
0
Q
EN: Enable
Transparent D-Latch: Example Timing
15
Q
D
EN
“Latched”
Q=0
“Latched”
Q=1
“Latched”
Q=0
“Transparent”
Q=D
“Transparent”
Q=D
“Transparent”
Q=D
Flip-Flop Vs. Latch
• The primary difference between a D flip-flop and
D latch is the EN/CLOCK input.
• The flip-flop’s CLOCK input is edge sensitive,
meaning the flip-flop’s output changes on the
edge (rising or falling) of the CLOCK input.
• The latch’s EN input is level sensitive, meaning
the latch’s output changes on the level (high or
low) of the EN input.
16
Flip-Flops & Latches
17
74LS74
Dual Positive-Edge-Triggered D Flip-Flops with
Preset, Clear, and Complementary Outputs
74LS76
Dual Negative-Edge-Triggered J-K Flip-Flops
with Preset, Clear, and Complementary Outputs
74LS75
Quad Latch
74LS74: D Flip-Flop
18
74LS76: J/K Flip-Flop
19
74LS75: D Latch
20

More Related Content

Similar to FlipFlopsLatches1.ppt

flip flops.pptx
flip flops.pptxflip flops.pptx
flip flops.pptxYash746626
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flopsSandeep Kumar
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdfAreebaShoukat4
 
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
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsstudent
 
15CS32 ADE Module 4
15CS32 ADE Module 415CS32 ADE Module 4
15CS32 ADE Module 4RLJIT
 
Latch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptxLatch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptxGargiKhanna2
 
Latch & Flip-Flop.pptx
Latch & Flip-Flop.pptxLatch & Flip-Flop.pptx
Latch & Flip-Flop.pptxGargiKhanna1
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential CircuitHeman Pathak
 
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
 
D flip flop in Digital electronics
D flip flop in Digital electronicsD flip flop in Digital electronics
D flip flop in Digital electronicsEasy n Inspire L
 
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...Hsien-Hsin Sean Lee, Ph.D.
 
5.8 Integrated circuits
5.8 Integrated circuits5.8 Integrated circuits
5.8 Integrated circuitslpapadop
 
Sequential logic circuit
Sequential logic circuitSequential logic circuit
Sequential logic circuitAswiniT3
 

Similar to FlipFlopsLatches1.ppt (20)

flip flops.pptx
flip flops.pptxflip flops.pptx
flip flops.pptx
 
Cse(b) g1 flipflop
Cse(b) g1 flipflopCse(b) g1 flipflop
Cse(b) g1 flipflop
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Flip flops
Flip flopsFlip flops
Flip flops
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
 
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 & registers
Flip flops & registersFlip flops & registers
Flip flops & registers
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
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
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
15CS32 ADE Module 4
15CS32 ADE Module 415CS32 ADE Module 4
15CS32 ADE Module 4
 
Latch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptxLatch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptx
 
Latch & Flip-Flop.pptx
Latch & Flip-Flop.pptxLatch & Flip-Flop.pptx
Latch & Flip-Flop.pptx
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
 
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
 
D flip flop in Digital electronics
D flip flop in Digital electronicsD flip flop in Digital electronics
D flip flop in Digital electronics
 
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
 
5.8 Integrated circuits
5.8 Integrated circuits5.8 Integrated circuits
5.8 Integrated circuits
 
Sequential logic circuit
Sequential logic circuitSequential logic circuit
Sequential logic circuit
 

Recently uploaded

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
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
 
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
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
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
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
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
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 

Recently uploaded (20)

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
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
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...
 
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
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
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
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
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
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
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
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 

FlipFlopsLatches1.ppt

  • 2. Flip-Flops & Latches 2 This presentation will • Review sequential logic and the flip-flop. • Introduce the D flip-flop and provide an excitation table and a sample timing analysis. • Introduce the J/K flip-flop and provide an excitation table and a sample timing analysis. • Review flip-flop clock parameters. • Introduce the transparent D-latch. • Discuss flip-flop asynchronous inputs.
  • 3. Sequential Logic & The Flip-Flop 3 Combinational Logic Gates . . Inputs Outputs Memory Elements (Flip-Flops) . . Clock
  • 4. D Flip-Flop: Excitation Table 4 Q CLK D Q D CLK 0  0 1 1  1 0  : Rising Edge of Clock Q Q
  • 5. D Flip-Flop: Example Timing 5 Q D CLK Q=D=1 Q=D=1 Q=D=0 Q=D=1 No Change Q=D=0 No Change Q=D=0 No Change Q=D=0
  • 6. J/K Flip-Flop: Excitation Table 6 J K CLK 0 0  No Change 0 1  0 Clear 1 0  1 Set 1 1  Toggle  : Rising Edge of Clock Q of Complement : Q Q Q K J Q CLK 0 Q 0 Q
  • 7. J/K Flip-Flop: Example Timing 7 Q J K CLK SET CLEAR TOGGLE NO CHANGE TOGGLE NO CHANGE SET
  • 8. Clock Edges 8 1 0 1 0 Positive Edge Transition Negative Edge Transition
  • 9. POS & NEG Edge Triggered D 9 Q CLK D Q D CLK 0  0 1 1  1 0  : Rising Edge of Clock Q Q D CLK 0  0 1 1  1 0  : Falling Edge of Clock Q Q Q CLK D Q Positive Edge Trigger Negative Edge Trigger
  • 10. POS & NEG Edge Triggered J/K 10 Positive Edge Trigger Negative Edge Trigger Q K J Q CLK Q K J Q CLK J K CLK 0 0  0 1  0 1 0  1 1 1   : Rising Edge of Clock Q 0 Q 0 Q J K CLK 0 0  0 1  0 1 0  1 1 1   : Rising Edge of Clock Q 0 Q 0 Q
  • 11. Flip-Flop Timing 11 Data Input (D,J, or K) 1 0 tS Setup Time tH Hold Time Positive Edge Clock 1 0 Setup Time (tS): The time interval before the active transition of the clock signal during which the data input (D, J, or K) must be maintained. Hold Time (tH): The time interval after the active transition of the clock signal during which the data input (D, J, or K) must be maintained.
  • 12. 12 PR PRESET CLR CLEAR CLK CLOCK D DATA 1 1  0 0 1 1 1  1 1 0 0 1 X X 1 0 Asynchronous Preset 1 0 X X 0 1 Asynchronous Clear 0 0 X X 1 1 ILLEGAL CONDITION Q CLK D Q PR CLR Asynchronous Inputs Q Q Asynchronous inputs (Preset & Clear) are used to override the clock/data inputs and force the outputs to a predefined state. The Preset (PR) input forces the output to: The Clear (CLR) input forces the output to: 0 Q & 1 Q   1 Q & 0 Q  
  • 13. D Flip-Flop: PR & CLR Timing 13 Q PR CLR D CLK Q=1 Preset Q=D=0 Clocked Q=D=0 Clocked Q=1 Preset Q=D=0 Clocked Q=0 Clear Q=D=1 Clocked Q=D=1 Clocked Q=D=1 Clocked
  • 14. Transparent D-Latch 14 Q EN D Q EN D 0 X 1 0 0 1 1 1 1 0 Q Q 0 Q 0 Q EN: Enable
  • 15. Transparent D-Latch: Example Timing 15 Q D EN “Latched” Q=0 “Latched” Q=1 “Latched” Q=0 “Transparent” Q=D “Transparent” Q=D “Transparent” Q=D
  • 16. Flip-Flop Vs. Latch • The primary difference between a D flip-flop and D latch is the EN/CLOCK input. • The flip-flop’s CLOCK input is edge sensitive, meaning the flip-flop’s output changes on the edge (rising or falling) of the CLOCK input. • The latch’s EN input is level sensitive, meaning the latch’s output changes on the level (high or low) of the EN input. 16
  • 17. Flip-Flops & Latches 17 74LS74 Dual Positive-Edge-Triggered D Flip-Flops with Preset, Clear, and Complementary Outputs 74LS76 Dual Negative-Edge-Triggered J-K Flip-Flops with Preset, Clear, and Complementary Outputs 74LS75 Quad Latch

Editor's Notes

  1. Digital Electronics TM 3.1 Introduction to Flip-Flop
  2. Introductory Slide / Overview of Presentation
  3. Definition of sequential logic. Sequential logic can have one or more, inputs and one or more outputs. However, the outputs are a function of both the present value of the inputs and also the previous output values. Thus, sequential logic requires memory to store these previous outputs values.
  4. Schematic symbol and excitation table for the D flip-flop.
  5. Timing diagram example for a D flip-flop.
  6. Schematic symbol and excitation table for the J/K flip-flop.
  7. Timing diagram example for a J/K flip-flop.
  8. Schematic symbol and excitation table for the positive edge triggered and negative edge triggered D flip-flops
  9. Schematic symbol and excitation table for the positive edge triggered and negative edge triggered J/K flip-flops
  10. Definition of the Setup & Hold Time timing parameters for a flip-flop.
  11. Definition for the PR (preset) and CLR (clear) Asynchronous input for a D flip-flop.
  12. Time diagram showing the effects of the synchronous inputs (D & CLK) and asynchronous inputs (PR & CLR).
  13. Schematic symbol and excitation table for the D latch.
  14. Time diagram example for a transparent D-latch.
  15. This slide details the primary difference between the often confused D flip-flop and D latch.
  16. Summary of the two flip-flops and one latch that we will be using in this course.
  17. Datasheet excerpts for a 74LS74 D flip-flop.
  18. Datasheet excerpts for a 74LS76 J/K flip-flop.
  19. Datasheet excerpts for a 74LS75 D latch.