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 FlipFlopsLatches off different inputs a and b

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 FlipFlopsLatches off different inputs a and b (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 Meenakshi Munjal

Autonomous Vehicles and Embedded Artificial Intelligence The Challenges of F...
Autonomous Vehicles and Embedded Artificial Intelligence  The Challenges of F...Autonomous Vehicles and Embedded Artificial Intelligence  The Challenges of F...
Autonomous Vehicles and Embedded Artificial Intelligence The Challenges of F...Meenakshi Munjal
 
Lecture 1.3.5.pptx digital electronics subject
Lecture  1.3.5.pptx digital electronics subjectLecture  1.3.5.pptx digital electronics subject
Lecture 1.3.5.pptx digital electronics subjectMeenakshi Munjal
 
ICCUBEA-2023_Presentation_Template.pptx
ICCUBEA-2023_Presentation_Template.pptxICCUBEA-2023_Presentation_Template.pptx
ICCUBEA-2023_Presentation_Template.pptxMeenakshi Munjal
 
dcmotor-130704075447-phpapp01 (1).pptx
dcmotor-130704075447-phpapp01 (1).pptxdcmotor-130704075447-phpapp01 (1).pptx
dcmotor-130704075447-phpapp01 (1).pptxMeenakshi Munjal
 

More from Meenakshi Munjal (9)

Autonomous Vehicles and Embedded Artificial Intelligence The Challenges of F...
Autonomous Vehicles and Embedded Artificial Intelligence  The Challenges of F...Autonomous Vehicles and Embedded Artificial Intelligence  The Challenges of F...
Autonomous Vehicles and Embedded Artificial Intelligence The Challenges of F...
 
Lecture 1.3.5.pptx digital electronics subject
Lecture  1.3.5.pptx digital electronics subjectLecture  1.3.5.pptx digital electronics subject
Lecture 1.3.5.pptx digital electronics subject
 
ICCUBEA-2023_Presentation_Template.pptx
ICCUBEA-2023_Presentation_Template.pptxICCUBEA-2023_Presentation_Template.pptx
ICCUBEA-2023_Presentation_Template.pptx
 
Experiment 1.pptx
Experiment 1.pptxExperiment 1.pptx
Experiment 1.pptx
 
dcmotor-130704075447-phpapp01 (1).pptx
dcmotor-130704075447-phpapp01 (1).pptxdcmotor-130704075447-phpapp01 (1).pptx
dcmotor-130704075447-phpapp01 (1).pptx
 
DC-machines (1).ppt
DC-machines (1).pptDC-machines (1).ppt
DC-machines (1).ppt
 
Lecture 1.2.1.pptx
Lecture 1.2.1.pptxLecture 1.2.1.pptx
Lecture 1.2.1.pptx
 
Lecture 1.2.3.pptx
Lecture 1.2.3.pptxLecture 1.2.3.pptx
Lecture 1.2.3.pptx
 
Lecture 1.2.2.pptx
Lecture 1.2.2.pptxLecture 1.2.2.pptx
Lecture 1.2.2.pptx
 

Recently uploaded

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
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
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
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
 
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
 
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
 
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
 
(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
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
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
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
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
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
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
 
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
 
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
 
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
 
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
 

Recently uploaded (20)

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
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
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
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
 
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
 
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
 
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
 
(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...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
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
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
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
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
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
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
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
 
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
 
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
 
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
 
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
 

FlipFlopsLatches off different inputs a and b

  • 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.