SlideShare a Scribd company logo
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.pptx
Yash746626
 
Cse(b) g1 flipflop
Cse(b) g1 flipflopCse(b) g1 flipflop
Cse(b) g1 flipflop
KaranAgarwal71
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
EasyStudy3
 
Flip flops
Flip flopsFlip flops
Flip flops
Shashi Lata
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
Zakariae EL IDRISSI
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
priyadarsini47
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops
Sandeep Kumar
 
Flip flops & registers
Flip flops & registersFlip flops & registers
Flip flops & registers
Shah Ishtiyaq Mehfooze
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
AreebaShoukat4
 
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
Rai University
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
student
 
15CS32 ADE Module 4
15CS32 ADE Module 415CS32 ADE Module 4
15CS32 ADE Module 4
RLJIT
 
Latch & Flip-Flop.pptx
Latch & Flip-Flop.pptxLatch & Flip-Flop.pptx
Latch & Flip-Flop.pptx
GargiKhanna1
 
Latch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptxLatch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptx
GargiKhanna2
 
Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.
msa29cse
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
Heman 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.pptx
UtsavDas21
 
D flip flop in Digital electronics
D flip flop in Digital electronicsD flip flop in Digital electronics
D flip flop in Digital electronics
Easy 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
 

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.pptx
Latch & Flip-Flop.pptxLatch & Flip-Flop.pptx
Latch & Flip-Flop.pptx
 
Latch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptxLatch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptx
 
Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.
 
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
 

Recently uploaded

CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 

Recently uploaded (20)

CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 

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.