SlideShare a Scribd company logo
Sequential Circuits
Unit – 5
I BCA ( All Sections)
HOW TO STORE INFO?
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"
THE SR LATCH
Cross-coupled NOR gates
 Can set (S=1, R=0) or reset (R=1, S=0) the output
R Q
QS
Reset
Set
S R Q
0 0 hold
0 1 0
1 0 1
1 1 disallow
SR LATCH BEHAVIOR
Truth table and timing
Reset Hold Set SetReset Race
R
S
Q
Q'
100
R
S
Q
Q'
S R Q
0 0 hold
0 1 0
1 0 1
1 1 disallow
NOR output is 1
Only when both inputs are 0
SR LATCH IS GLITCH SENSITIVE
Static 0 hazards can set/reset latch
 Glitch on S input sets latch
 Glitch on R input resets latch
R
S
Q
Q'
0
0
STATE DIAGRAMS
How do we characterize logic circuits?
 Combinational circuits: Truth tables
 Sequential circuits: State diagrams
First draw the states
 States  Unique circuit configurations
Second draw the transitions between states
 Transitions  Changes in state caused by inputs
THE D LATCH: STORE IT AND LOOK IT UP
Output depends on clock
 Clock high: Input passes to output
 Clock low: Latch holds its output
Latches are level sensitive and “transparent”
D Q
Q
CLK
Input Output
Output
CLK
D
Qlatch
THE D FLIP-FLOP
Input sampled at clock edge
 Rising edge: Input passes to output
 Otherwise: Flip-flop holds its output
Flip-flops can be rising-edge triggered or falling-edge triggered
D Q
Q
CLK
Input Output
Output
CLK
D
Qff
THE D FLIP-FLOP
D Q
Q
CLK
Input Output
Output
CLK
D
Qff
THE D LATCH
D Q
Q
CLK
Input Output
Output
CLK
D
Qlatch
TERMINOLOGY & NOTATION
D Q
Q
CLK
Input Output
Output
Falling-edge triggered D
flip-flop
D Q
Q
CLK
Input Output
Output
Rising-edge triggered D
flip-flop
D Q
Q
CLK
Input Output
Output
Negative D latch
D Q
Q
CLK
Input Output
Output
Positive D latch
behavior is the same unless input
changes while the clock is high
CLK
D
Qff
Qlatch
LATCHES VS FLIP-FLOPS
D Q
Q
CLK
D Q
Q
CLK
T FLIP-FLOP
Full name: Toggle flip-flop
Output toggles when input is asserted
 If T=1, then Q  Q' when CLK 
 If T=0, then Q  Q when CLK 
CLK
Q
T Q
>
Input(t) Q(t) Q(t + t)
0 0 0
0 1 1
1 0 1
1 1 0
Input
J-K FLIP FLOP
J-K FF = S-R FF +
T FF.
Allow J = K = 1. This
case works like a T FF.
Split T to J and K
CHAP 11
C H
14
J K Q Q’
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
J-K FLIP FLOP
J-K FF rising edge trigger
J K Q Q +
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
MASTER-SLAVE J-K FLIP-FLOP
Clocked J-K FF (falling edge)
Realization using two S-R latches
Note where J and K change.
CHAP 11
C H
16
MASTER-SLAVE J-K FLIP-FLOP

More Related Content

What's hot

Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
Dharit Unadkat
 
Flip-Flop (Clocked Bistable)
Flip-Flop (Clocked Bistable)Flip-Flop (Clocked Bistable)
Flip-Flop (Clocked Bistable)
Aravir Rose
 
Lect19 Engin112
Lect19 Engin112Lect19 Engin112
Lect19 Engin112
John Williams
 
Flipflop
FlipflopFlipflop
Flipflop
sohamdodia27
 
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
 
Digital e chap 4
Digital e   chap 4Digital e   chap 4
Digital e chap 4
Mohammad Bappy
 
Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops
Nt Arvind
 
Flip flop
Flip flopFlip flop
Flip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and OrganizationFlip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and Organization
Smit Luvani
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
mubashir farooq
 
Sequential logic circuits flip-flop pt 3
Sequential logic circuits   flip-flop pt 3Sequential logic circuits   flip-flop pt 3
Sequential logic circuits flip-flop pt 3
Sarah Sue Calbio
 
Jk flip flop
Jk flip flopJk flip flop
Jk flip flop
Priyank Soni
 
Dee2034 chapter 4 flip flop for students part
Dee2034 chapter 4 flip flop  for students partDee2034 chapter 4 flip flop  for students part
Dee2034 chapter 4 flip flop for students part
SITI SABARIAH SALIHIN
 
All flipflop
All flipflopAll flipflop
All flipflop
DHEERAJ CHOKSE
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
James Evangelos
 
Flip Flops DLD
Flip Flops DLDFlip Flops DLD
Flip Flops DLD
Assad Shehbaz
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
student
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
Brenda Debra
 
Flip flop
Flip flopFlip flop
Flip flop
JAGMIT Jamkhandi
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
Nallapati Anindra
 

What's hot (20)

Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
Flip-Flop (Clocked Bistable)
Flip-Flop (Clocked Bistable)Flip-Flop (Clocked Bistable)
Flip-Flop (Clocked Bistable)
 
Lect19 Engin112
Lect19 Engin112Lect19 Engin112
Lect19 Engin112
 
Flipflop
FlipflopFlipflop
Flipflop
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops
 
Digital e chap 4
Digital e   chap 4Digital e   chap 4
Digital e chap 4
 
Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops
 
Flip flop
Flip flopFlip flop
Flip flop
 
Flip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and OrganizationFlip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and Organization
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Sequential logic circuits flip-flop pt 3
Sequential logic circuits   flip-flop pt 3Sequential logic circuits   flip-flop pt 3
Sequential logic circuits flip-flop pt 3
 
Jk flip flop
Jk flip flopJk flip flop
Jk flip flop
 
Dee2034 chapter 4 flip flop for students part
Dee2034 chapter 4 flip flop  for students partDee2034 chapter 4 flip flop  for students part
Dee2034 chapter 4 flip flop for students part
 
All flipflop
All flipflopAll flipflop
All flipflop
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
Flip Flops DLD
Flip Flops DLDFlip Flops DLD
Flip Flops DLD
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
Flip flop
Flip flopFlip flop
Flip flop
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
 

Similar to Flip flops

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
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
AreebaShoukat4
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
DSOOP
 
Flip flops
Flip flopsFlip flops
Flip flops
Shashi Lata
 
flip flops.pptx
flip flops.pptxflip flops.pptx
flip flops.pptx
Yash746626
 
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 CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
ThanmayiKumar
 
Flip flop
Flip flopFlip flop
Flip flop
hattieu16590
 
lec7.ppt
lec7.pptlec7.ppt
lec7.ppt
SalmanHameed26
 
Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
Arman Siddqui
 
latchesandflipflops.ppt
latchesandflipflops.pptlatchesandflipflops.ppt
latchesandflipflops.ppt
MuhammadSheraz836877
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
profabhishekranjan
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
priyadarsini47
 
Logic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip FlopsLogic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip Flops
Gouda Mando
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
Viraj Shah
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
DrSonali Vyas
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
Heman Pathak
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
Raghu Vamsi
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
Ramasubbu .P
 
10529144.ppt
10529144.ppt10529144.ppt
10529144.ppt
imadshaheen2
 

Similar to Flip flops (20)

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
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
 
Flip flops
Flip flopsFlip flops
Flip flops
 
flip flops.pptx
flip flops.pptxflip flops.pptx
flip flops.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 CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
 
Flip flop
Flip flopFlip flop
Flip flop
 
lec7.ppt
lec7.pptlec7.ppt
lec7.ppt
 
Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
 
latchesandflipflops.ppt
latchesandflipflops.pptlatchesandflipflops.ppt
latchesandflipflops.ppt
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
 
Logic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip FlopsLogic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip Flops
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
10529144.ppt
10529144.ppt10529144.ppt
10529144.ppt
 

Recently uploaded

Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 

Recently uploaded (20)

Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 

Flip flops

  • 1. Sequential Circuits Unit – 5 I BCA ( All Sections)
  • 2. HOW TO STORE INFO? 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"
  • 3. THE SR LATCH Cross-coupled NOR gates  Can set (S=1, R=0) or reset (R=1, S=0) the output R Q QS Reset Set S R Q 0 0 hold 0 1 0 1 0 1 1 1 disallow
  • 4. SR LATCH BEHAVIOR Truth table and timing Reset Hold Set SetReset Race R S Q Q' 100 R S Q Q' S R Q 0 0 hold 0 1 0 1 0 1 1 1 disallow NOR output is 1 Only when both inputs are 0
  • 5. SR LATCH IS GLITCH SENSITIVE Static 0 hazards can set/reset latch  Glitch on S input sets latch  Glitch on R input resets latch R S Q Q' 0 0
  • 6. STATE DIAGRAMS How do we characterize logic circuits?  Combinational circuits: Truth tables  Sequential circuits: State diagrams First draw the states  States  Unique circuit configurations Second draw the transitions between states  Transitions  Changes in state caused by inputs
  • 7. THE D LATCH: STORE IT AND LOOK IT UP Output depends on clock  Clock high: Input passes to output  Clock low: Latch holds its output Latches are level sensitive and “transparent” D Q Q CLK Input Output Output CLK D Qlatch
  • 8. THE D FLIP-FLOP Input sampled at clock edge  Rising edge: Input passes to output  Otherwise: Flip-flop holds its output Flip-flops can be rising-edge triggered or falling-edge triggered D Q Q CLK Input Output Output CLK D Qff
  • 9. THE D FLIP-FLOP D Q Q CLK Input Output Output CLK D Qff
  • 10. THE D LATCH D Q Q CLK Input Output Output CLK D Qlatch
  • 11. TERMINOLOGY & NOTATION D Q Q CLK Input Output Output Falling-edge triggered D flip-flop D Q Q CLK Input Output Output Rising-edge triggered D flip-flop D Q Q CLK Input Output Output Negative D latch D Q Q CLK Input Output Output Positive D latch
  • 12. behavior is the same unless input changes while the clock is high CLK D Qff Qlatch LATCHES VS FLIP-FLOPS D Q Q CLK D Q Q CLK
  • 13. T FLIP-FLOP Full name: Toggle flip-flop Output toggles when input is asserted  If T=1, then Q  Q' when CLK   If T=0, then Q  Q when CLK  CLK Q T Q > Input(t) Q(t) Q(t + t) 0 0 0 0 1 1 1 0 1 1 1 0 Input
  • 14. J-K FLIP FLOP J-K FF = S-R FF + T FF. Allow J = K = 1. This case works like a T FF. Split T to J and K CHAP 11 C H 14 J K Q Q’ 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0
  • 15. J-K FLIP FLOP J-K FF rising edge trigger J K Q Q + 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0
  • 16. MASTER-SLAVE J-K FLIP-FLOP Clocked J-K FF (falling edge) Realization using two S-R latches Note where J and K change. CHAP 11 C H 16