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 (3).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 (3).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
 

More from SalmanHameed26

Advanced Antenna Topics-Lecture 3.pptx
Advanced Antenna Topics-Lecture 3.pptxAdvanced Antenna Topics-Lecture 3.pptx
Advanced Antenna Topics-Lecture 3.pptxSalmanHameed26
 
Lecture#1-Introduction.ppt
Lecture#1-Introduction.pptLecture#1-Introduction.ppt
Lecture#1-Introduction.pptSalmanHameed26
 
Power Factor Correction.ppt
Power Factor Correction.pptPower Factor Correction.ppt
Power Factor Correction.pptSalmanHameed26
 
The Diode_Lecture2.ppt
The Diode_Lecture2.pptThe Diode_Lecture2.ppt
The Diode_Lecture2.pptSalmanHameed26
 
ProgrammingIntroduction.ppt
ProgrammingIntroduction.pptProgrammingIntroduction.ppt
ProgrammingIntroduction.pptSalmanHameed26
 
SemiconductorBasics_Lecture1.pdf
SemiconductorBasics_Lecture1.pdfSemiconductorBasics_Lecture1.pdf
SemiconductorBasics_Lecture1.pdfSalmanHameed26
 
Basic Electrical Theory.ppt
Basic Electrical Theory.pptBasic Electrical Theory.ppt
Basic Electrical Theory.pptSalmanHameed26
 

More from SalmanHameed26 (12)

Advanced Antenna Topics-Lecture 3.pptx
Advanced Antenna Topics-Lecture 3.pptxAdvanced Antenna Topics-Lecture 3.pptx
Advanced Antenna Topics-Lecture 3.pptx
 
Lecture#1-Introduction.ppt
Lecture#1-Introduction.pptLecture#1-Introduction.ppt
Lecture#1-Introduction.ppt
 
Power Factor Correction.ppt
Power Factor Correction.pptPower Factor Correction.ppt
Power Factor Correction.ppt
 
ET_251_1.pptx
ET_251_1.pptxET_251_1.pptx
ET_251_1.pptx
 
UPS.pptx
UPS.pptxUPS.pptx
UPS.pptx
 
The Diode_Lecture2.ppt
The Diode_Lecture2.pptThe Diode_Lecture2.ppt
The Diode_Lecture2.ppt
 
Chapter 02.pdf
Chapter 02.pdfChapter 02.pdf
Chapter 02.pdf
 
ProgrammingIntroduction.ppt
ProgrammingIntroduction.pptProgrammingIntroduction.ppt
ProgrammingIntroduction.ppt
 
SemiconductorBasics_Lecture1.pdf
SemiconductorBasics_Lecture1.pdfSemiconductorBasics_Lecture1.pdf
SemiconductorBasics_Lecture1.pdf
 
Lecture 1& 2.pptx
Lecture 1& 2.pptxLecture 1& 2.pptx
Lecture 1& 2.pptx
 
MUX and Demux.ppt
MUX and Demux.pptMUX and Demux.ppt
MUX and Demux.ppt
 
Basic Electrical Theory.ppt
Basic Electrical Theory.pptBasic Electrical Theory.ppt
Basic Electrical Theory.ppt
 

Recently uploaded

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
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
 
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
 
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
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
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
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
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
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(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
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
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
 
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
 
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
 

Recently uploaded (20)

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
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
 
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...
 
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
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
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
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
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🔝
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(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
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
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
 
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...
 
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
 

FlipFlopsLatches1 (3).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.