SlideShare a Scribd company logo
LATCH AND FLIP FLOP
By
Dr. Gargi Khanna
Electronics & Communication Engg. Deptt.
NIT Hamirpur
External
Inputs
Next State
Logic
Excitation
Memory
Elements
Output
Logic
External
outputs
Clock
Clock
How do we store info? Feedback
• Two inverters can hold a bit
• As long as power is applied
• Storing a new memory
• Temporarily break the feedback path
"0"
"1"
"stored bit"
"remember"
"load"
"data" "stored bit"
Chap 11 C H 5
S-R Latch
• Set-reset latch
• Use NOR gate to construct a stable state network
Chap 11 C H 6
S-R Latch Timing and State
• S duration > delay time
• S-R latch behavior
• Present state
• The state of Q output at the time the input signals are applied.
• Next state
• The state of Q output after the latch has reacted to the input signals.
Latch and flip flop
Chap 11 C H 8
K-map for Q(t+)
• Q+ = S + R’Q (SR=0)
• S and R can not be 1 at the same time.
• Q: present state
• Q+: next state
• Next state equation or characteristic equation.
1 Bit Memory Element
Chap 11 C H 10
S-R Latch using NAND gates
• S-R Latch, when S= 0 sets Q = 1 and R=0
resets Q = 0
S R Q Q+
1 1 0 0
1 1 1 1
1 0 0 0
1 0 1 0
0 1 0 1
0 1 1 1
0 0 0 ×
0 0 1 ×
Latch and flip flop
E S R Qn Q n+1
0 × × × Qn
1 0 0 0 0
1 0 0 1 1
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 ×
1 1 1 1 ×
CLOCKED S–R FLIP-FLOP
Latch and flip flop
-
J-K FLIP-FLOP
Latch and flip flop
Latch and flip flop
Race Around Condition
Edge Triggered Flip Flop
• Output of the F/F changes as per the input only- at pricise
instant of CLOCK
• Positive Edge Triggered F/F
• Negative Edge Triggered F/F
Edge detection Circuit
Positive Edge Triggered SR Flip Flop
Waveform
SR FF
Latch and flip flop
The Master–Slave J–K FLIP-FLOP
M v
Latch and flip flop
D-TYPE FLIP-FLOP
o
o
o
T-TYPE FLIP-FLOP
Latch and flip flop
Characteristic Equation
Latch and flip flop
EDGE-TRIGGERED FLIP-FLOPs
Set-up time (ts)
Hold time (th)
Propagation Delays
Clock Pulse Width
Preset and Clear Pulse Width
Maximum Clock Frequency
Setup time is the minimum amount of time the data input should be held
steady before the clock event, so that the data is reliably sampled by the
clock.
Hold time is the minimum amount of time the data input should be held
steady after the clock event, so that the data is reliably sampled by the
clock.
Timing Information
• Aperture is the sum of setup and hold time. The data
input should be held steady throughout this time period.
• Recovery time is the minimum amount of time the
asynchronous preset or clear input should be
inactive before the clock event, so that the data is reliably
sampled by the clock. The recovery time for the
asynchronous set or reset input is thereby similar to the
setup time for the data input.
• Removal time is the minimum amount of time the
asynchronous Preset or Clear input should be
inactive after the clock event, so that the data is reliably
sampled by the clock. The removal time for the
asynchronous set or reset input is thereby similar to the
hold time for the data input.
Latch and flip flop
EXCITATION TABLE OF FLIP-FLOP
Conversion from One Type of FLIP-FLOP to Another Type
Convert SR flip flop into JK flip Flop
Timing Parameters of TTL and CMOS FLIP-FLOPs

More Related Content

PPTX
Flip flops, counters & registers
PPT
Registers and Counters.ppt
PPTX
Combinational Circuits & Sequential Circuits
PDF
Sequential circuits in Digital Electronics
PPTX
latches
PPTX
Jk flip flop
PPTX
Presentation on Flip Flop
PPTX
Divide by N clock
Flip flops, counters & registers
Registers and Counters.ppt
Combinational Circuits & Sequential Circuits
Sequential circuits in Digital Electronics
latches
Jk flip flop
Presentation on Flip Flop
Divide by N clock

What's hot (20)

PDF
PDF
Architectural Level Techniques
PDF
Logic Level Techniques for Power Reduction
PPTX
Sequential logic circuits flip-flop pt 1
PPTX
D and T Flip Flop
PPT
Sequential Logic Circuit
PPTX
Sequential circuits
PPTX
Introduction to Counters
PPT
multiplexers and demultiplexers
PPT
Sequential circuit
PDF
Registers and counters
PDF
Binary Arithmetic
PDF
PPTX
PPSX
Sequential circuits
PPTX
Sequential circuits
PPTX
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
PPTX
Synchronous Counter
PDF
Digital logic families
PPTX
Types of flip flops ppt
Architectural Level Techniques
Logic Level Techniques for Power Reduction
Sequential logic circuits flip-flop pt 1
D and T Flip Flop
Sequential Logic Circuit
Sequential circuits
Introduction to Counters
multiplexers and demultiplexers
Sequential circuit
Registers and counters
Binary Arithmetic
Sequential circuits
Sequential circuits
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
Synchronous Counter
Digital logic families
Types of flip flops ppt
Ad

Similar to Latch and flip flop (20)

PDF
Digital design slides for engineering
PPTX
Digital Fundamental Material for the student
PPTX
Sequential Logic Circuit
PDF
latchesflip-flop DLD
PDF
Latches_and_Flip_flops.pdf1234567890123445566789890009999
PPTX
Latches & flip flop
PPTX
Sequential Circuits Digital Electronics.pptx
PPTX
Te442 lecture02-2016-14-4-2016-1
PDF
Assignment#5
PDF
Sequential Circuits and flops moore mealy
PPTX
Unit 4 sequential circuits
PDF
JK flip flops
PPTX
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
PPT
16148_flip-flopaaaaaaaaaaaaaaaaa1[1].ppt
PPT
Flip Flops sequential circuit and types
PPTX
7.SEQUENTIAL LOGIC Presentationwsss.pptx
PPTX
Latch and Flipflop.pptx
PPT
Flip flops
PPTX
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
PDF
Digital Electronics – Unit III.pdf
Digital design slides for engineering
Digital Fundamental Material for the student
Sequential Logic Circuit
latchesflip-flop DLD
Latches_and_Flip_flops.pdf1234567890123445566789890009999
Latches & flip flop
Sequential Circuits Digital Electronics.pptx
Te442 lecture02-2016-14-4-2016-1
Assignment#5
Sequential Circuits and flops moore mealy
Unit 4 sequential circuits
JK flip flops
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
16148_flip-flopaaaaaaaaaaaaaaaaa1[1].ppt
Flip Flops sequential circuit and types
7.SEQUENTIAL LOGIC Presentationwsss.pptx
Latch and Flipflop.pptx
Flip flops
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
Digital Electronics – Unit III.pdf
Ad

More from GargiKhanna1 (15)

PPTX
Latch & Flip-Flop.pptx
PDF
MOS logic family
PDF
Digital Counter Design
PPT
Multiplexers and Demultiplexers
PPTX
Combinational Logic Circuit
PPTX
Karnaugh Map
PPT
Error detection and correction codes
PDF
Number system
PPTX
Probabilistic Power Analysis
PPTX
Monte carlo analysis
PPTX
Simulation power analysis low power vlsi
PPTX
Boolean Function SOP & POS
PPTX
Logic gate
PPTX
Logic Gates
PDF
Binary codes
Latch & Flip-Flop.pptx
MOS logic family
Digital Counter Design
Multiplexers and Demultiplexers
Combinational Logic Circuit
Karnaugh Map
Error detection and correction codes
Number system
Probabilistic Power Analysis
Monte carlo analysis
Simulation power analysis low power vlsi
Boolean Function SOP & POS
Logic gate
Logic Gates
Binary codes

Recently uploaded (20)

PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
Current and future trends in Computer Vision.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PPTX
Artificial Intelligence
PDF
Soil Improvement Techniques Note - Rabbi
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPTX
communication and presentation skills 01
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
PPTX
UNIT - 3 Total quality Management .pptx
PDF
737-MAX_SRG.pdf student reference guides
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Information Storage and Retrieval Techniques Unit III
Current and future trends in Computer Vision.pptx
R24 SURVEYING LAB MANUAL for civil enggi
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Artificial Intelligence
Soil Improvement Techniques Note - Rabbi
Fundamentals of safety and accident prevention -final (1).pptx
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
communication and presentation skills 01
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Categorization of Factors Affecting Classification Algorithms Selection
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
UNIT - 3 Total quality Management .pptx
737-MAX_SRG.pdf student reference guides
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems

Latch and flip flop

  • 1. LATCH AND FLIP FLOP By Dr. Gargi Khanna Electronics & Communication Engg. Deptt. NIT Hamirpur
  • 4. How do we store info? Feedback • Two inverters can hold a bit • As long as power is applied • Storing a new memory • Temporarily break the feedback path "0" "1" "stored bit" "remember" "load" "data" "stored bit"
  • 5. Chap 11 C H 5 S-R Latch • Set-reset latch • Use NOR gate to construct a stable state network
  • 6. Chap 11 C H 6 S-R Latch Timing and State • S duration > delay time • S-R latch behavior • Present state • The state of Q output at the time the input signals are applied. • Next state • The state of Q output after the latch has reacted to the input signals.
  • 8. Chap 11 C H 8 K-map for Q(t+) • Q+ = S + R’Q (SR=0) • S and R can not be 1 at the same time. • Q: present state • Q+: next state • Next state equation or characteristic equation.
  • 9. 1 Bit Memory Element
  • 10. Chap 11 C H 10 S-R Latch using NAND gates • S-R Latch, when S= 0 sets Q = 1 and R=0 resets Q = 0 S R Q Q+ 1 1 0 0 1 1 1 1 1 0 0 0 1 0 1 0 0 1 0 1 0 1 1 1 0 0 0 × 0 0 1 ×
  • 12. E S R Qn Q n+1 0 × × × Qn 1 0 0 0 0 1 0 0 1 1 1 0 1 0 0 1 0 1 1 0 1 1 0 0 1 1 1 0 1 1 1 1 1 0 × 1 1 1 1 ×
  • 15. -
  • 20. Edge Triggered Flip Flop • Output of the F/F changes as per the input only- at pricise instant of CLOCK • Positive Edge Triggered F/F • Negative Edge Triggered F/F
  • 22. Positive Edge Triggered SR Flip Flop
  • 24. SR FF
  • 26. The Master–Slave J–K FLIP-FLOP M v
  • 33. EDGE-TRIGGERED FLIP-FLOPs Set-up time (ts) Hold time (th) Propagation Delays Clock Pulse Width Preset and Clear Pulse Width Maximum Clock Frequency Setup time is the minimum amount of time the data input should be held steady before the clock event, so that the data is reliably sampled by the clock. Hold time is the minimum amount of time the data input should be held steady after the clock event, so that the data is reliably sampled by the clock.
  • 34. Timing Information • Aperture is the sum of setup and hold time. The data input should be held steady throughout this time period. • Recovery time is the minimum amount of time the asynchronous preset or clear input should be inactive before the clock event, so that the data is reliably sampled by the clock. The recovery time for the asynchronous set or reset input is thereby similar to the setup time for the data input. • Removal time is the minimum amount of time the asynchronous Preset or Clear input should be inactive after the clock event, so that the data is reliably sampled by the clock. The removal time for the asynchronous set or reset input is thereby similar to the hold time for the data input.
  • 36. EXCITATION TABLE OF FLIP-FLOP
  • 37. Conversion from One Type of FLIP-FLOP to Another Type
  • 38. Convert SR flip flop into JK flip Flop
  • 39. Timing Parameters of TTL and CMOS FLIP-FLOPs