SlideShare a Scribd company logo
1 of 20
FLIP-FLOP
1
DR. R. M. THOMBRE
HEAD DEPT OF PHYSICS
M.G. COLLEGE ARMORI
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.
ASYNCHRONOUS INPUTS
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
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
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
D FLIP-FLOP
18
J/K FLIP-FLOP
D LATCH

More Related Content

What's hot

Day4 順序控制的循序邏輯實現
Day4 順序控制的循序邏輯實現Day4 順序控制的循序邏輯實現
Day4 順序控制的循序邏輯實現Ron Liu
 
8.flip flops and registers
8.flip flops and registers8.flip flops and registers
8.flip flops and registersDeepak Sharma
 
Michal Malohlava presents: Open Source H2O and Scala
Michal Malohlava presents: Open Source H2O and Scala Michal Malohlava presents: Open Source H2O and Scala
Michal Malohlava presents: Open Source H2O and Scala Sri Ambati
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic CircuitRamasubbu .P
 
Sequential circuit-flip flops
Sequential circuit-flip flopsSequential circuit-flip flops
Sequential circuit-flip flopsDr Naim R Kidwai
 
MATLAB CODE OF Shifting sequence
MATLAB  CODE  OF Shifting sequenceMATLAB  CODE  OF Shifting sequence
MATLAB CODE OF Shifting sequenceRakesh kumar jha
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.Satya P. Joshi
 
COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)SUBHA SHREE
 
synchronous Sequential circuit counters and registers
synchronous Sequential circuit counters and registerssynchronous Sequential circuit counters and registers
synchronous Sequential circuit counters and registersDr Naim R Kidwai
 
matlab code of shifting and folding of two sequences
matlab code of shifting and folding of two sequencesmatlab code of shifting and folding of two sequences
matlab code of shifting and folding of two sequencesRakesh kumar jha
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)Sairam Adithya
 

What's hot (19)

SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
Day4 順序控制的循序邏輯實現
Day4 順序控制的循序邏輯實現Day4 順序控制的循序邏輯實現
Day4 順序控制的循序邏輯實現
 
8.flip flops and registers
8.flip flops and registers8.flip flops and registers
8.flip flops and registers
 
Michal Malohlava presents: Open Source H2O and Scala
Michal Malohlava presents: Open Source H2O and Scala Michal Malohlava presents: Open Source H2O and Scala
Michal Malohlava presents: Open Source H2O and Scala
 
Pda
PdaPda
Pda
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
Flipflop
FlipflopFlipflop
Flipflop
 
Sequential circuit-flip flops
Sequential circuit-flip flopsSequential circuit-flip flops
Sequential circuit-flip flops
 
MATLAB CODE OF Shifting sequence
MATLAB  CODE  OF Shifting sequenceMATLAB  CODE  OF Shifting sequence
MATLAB CODE OF Shifting sequence
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.
 
COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)
 
synchronous Sequential circuit counters and registers
synchronous Sequential circuit counters and registerssynchronous Sequential circuit counters and registers
synchronous Sequential circuit counters and registers
 
G. ripple counter
G. ripple counterG. ripple counter
G. ripple counter
 
matlab code of shifting and folding of two sequences
matlab code of shifting and folding of two sequencesmatlab code of shifting and folding of two sequences
matlab code of shifting and folding of two sequences
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Register
RegisterRegister
Register
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 

Similar to Flip flops

FlipFlopsLatches1.ppt
FlipFlopsLatches1.pptFlipFlopsLatches1.ppt
FlipFlopsLatches1.pptdiganta das
 
FlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).pptFlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).pptSalmanHameed26
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.pptFlipFlopsLatches1.ppt
FlipFlopsLatches1.pptdiganta das
 
FlipFlopsLatches off different inputs a and b
FlipFlopsLatches off different inputs a and bFlipFlopsLatches off different inputs a and b
FlipFlopsLatches off different inputs a and bMeenakshi Munjal
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxThanmayiKumar
 
Computer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docxComputer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docxladonnacamplin
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registersDharit Unadkat
 
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
 
VHdl lab report
VHdl lab reportVHdl lab report
VHdl lab reportJinesh Kb
 
REPRESENTATION TO FLIP-FLOPS CHARACTERISTICS TABLE AND FLIP-FLOPS EXCITATION ...
REPRESENTATION TO FLIP-FLOPS CHARACTERISTICS TABLE AND FLIP-FLOPS EXCITATION ...REPRESENTATION TO FLIP-FLOPS CHARACTERISTICS TABLE AND FLIP-FLOPS EXCITATION ...
REPRESENTATION TO FLIP-FLOPS CHARACTERISTICS TABLE AND FLIP-FLOPS EXCITATION ...recoveraccount1
 

Similar to Flip flops (20)

FlipFlopsLatches1.ppt
FlipFlopsLatches1.pptFlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
 
FlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).pptFlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).ppt
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.pptFlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
 
FlipFlopsLatches off different inputs a and b
FlipFlopsLatches off different inputs a and bFlipFlopsLatches off different inputs a and b
FlipFlopsLatches off different inputs a and b
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.pptFlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
 
Flip flop
Flip flopFlip flop
Flip flop
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
 
Computer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docxComputer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docx
 
Flip flops
Flip flopsFlip flops
Flip flops
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
Trts d flip flop1
Trts d flip flop1Trts d flip flop1
Trts d flip flop1
 
lec7.ppt
lec7.pptlec7.ppt
lec7.ppt
 
Cse(b) g1 flipflop
Cse(b) g1 flipflopCse(b) g1 flipflop
Cse(b) g1 flipflop
 
flip flops.pptx
flip flops.pptxflip flops.pptx
flip flops.pptx
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops
 
Lecture13 controls
Lecture13  controls Lecture13  controls
Lecture13 controls
 
VHdl lab report
VHdl lab reportVHdl lab report
VHdl lab report
 
Dld
DldDld
Dld
 
REPRESENTATION TO FLIP-FLOPS CHARACTERISTICS TABLE AND FLIP-FLOPS EXCITATION ...
REPRESENTATION TO FLIP-FLOPS CHARACTERISTICS TABLE AND FLIP-FLOPS EXCITATION ...REPRESENTATION TO FLIP-FLOPS CHARACTERISTICS TABLE AND FLIP-FLOPS EXCITATION ...
REPRESENTATION TO FLIP-FLOPS CHARACTERISTICS TABLE AND FLIP-FLOPS EXCITATION ...
 

More from rameshthombre1

More from rameshthombre1 (7)

Standin wave
Standin waveStandin wave
Standin wave
 
Number system
Number systemNumber system
Number system
 
Nand and nor gate
Nand and nor gateNand and nor gate
Nand and nor gate
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Lissajous method
Lissajous methodLissajous method
Lissajous method
 
Group velocity and phase velocity
Group velocity and phase velocityGroup velocity and phase velocity
Group velocity and phase velocity
 
Number system
Number systemNumber system
Number system
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 

Flip flops

  • 1. FLIP-FLOP 1 DR. R. M. THOMBRE HEAD DEPT OF PHYSICS M.G. COLLEGE ARMORI
  • 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. ASYNCHRONOUS INPUTS 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 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 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. Introductory Slide / Overview of Presentation
  2. 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.
  3. Schematic symbol and excitation table for the D flip-flop.
  4. Timing diagram example for a D flip-flop.
  5. Schematic symbol and excitation table for the J/K flip-flop.
  6. Timing diagram example for a J/K flip-flop.
  7. Schematic symbol and excitation table for the positive edge triggered and negative edge triggered D flip-flops
  8. Schematic symbol and excitation table for the positive edge triggered and negative edge triggered J/K flip-flops
  9. Definition of the Setup & Hold Time timing parameters for a flip-flop.
  10. Definition for the PR (preset) and CLR (clear) Asynchronous input for a D flip-flop.
  11. Time diagram showing the effects of the synchronous inputs (D & CLK) and asynchronous inputs (PR & CLR).
  12. Schematic symbol and excitation table for the D latch.
  13. Time diagram example for a transparent D-latch.
  14. This slide details the primary difference between the often confused D flip-flop and D latch.
  15. Summary of the two flip-flops and one latch that we will be using in this course.
  16. Datasheet excerpts for a 74LS74 D flip-flop.
  17. Datasheet excerpts for a 74LS76 J/K flip-flop.
  18. Datasheet excerpts for a 74LS75 D latch.