SlideShare a Scribd company logo
1 of 45
FLIP FLOPS
Binary unit capable of storing one bit – 0 or 1
Flip Flop has two stable states and a transition between these two
states .
Transition is depended on input.

Input
0/1

HIGH /
1/
SET

HIGH

LOW

Transition between states

LOW /
0/
RESET
Types of FLIP FLOPS
FLIP FLOP
RS Flip Flop
JK Flip Flop
T Flip Flop
D Flip Flop
RS - FLIP FLOP
Block Diagram
R
S

RS Flip Flop

Q
Q
RS - FLIP FLOP
RS Latch using NOR Gate
A

R

S

Q

Q
B
RS - FLIP FLOP
TRUTH TABLE
R

S

Q

Case 1

0

0

NC

Case 2

0

1

SET

Case 3

1

0

RESET

Case 4

1

1

*

R

0

A

1

0

0
1
1
0

S

0

1

B

0

Q

Q

NO
CHANGE
RS - FLIP FLOP
TRUTH TABLE
R

S

Q

Case 1

0

0

NC

Case 2

0

1

SET

Case 3

1

0

RESET

Case 4

1

1

*

R

0

A

1

SET

Q

0
01

S

1

B

0

Q
RS - FLIP FLOP
TRUTH TABLE
R

S

Q

Case 1

0

0

NC

Case 2

0

1

SET

Case 3

1

0

RESET

Case 4

1

1

*

R

1

0

01
0

S

0

RESET

A

1

B

Q

Q
RS - FLIP FLOP
TRUTH TABLE
R

S

Q

Case 1

0

0

NC

Case 2

0

1

SET

Case 3

1

0

RESET

Case 4

1

1

*

R

1

A
0

0
0

S

1

0

B

Q

Q
RS - FLIP FLOP
RS Latch using NAND Gate (RS Flip Flop)
A

R

S

Q
Q

B

R

S

Q

0

0

*

0

1

SET

1

0

RESET

1

1

NC
RS - FLIP FLOP
RS Latch using NAND Gate
0

R

0
0

S

1

A

Q

1
1

1

Q

B

0

R

S

Q

0

0

*

0

1

SET

1

0

RESET

1

1

NC

Race
Condition
RS - FLIP FLOP
RS Latch using NAND Gate (RS Flip Flop)

R

0

A
01
01

S

1

Q

01

Q

B

1

R

S

Q

0

0

*

0

1

SET

1

0

RESET

1

1

NC
RS - FLIP FLOP
RS Latch using NAND Gate
1

R

A

10

10

Q

10

S

B

0

1

R

S

Q

0

0

*

0

1

SET

1

0

RESET

1

1

NC

Q
RS - FLIP FLOP
RS Latch using NAND Gate

R

1

10

A

10

Q

10

S

1

10

B

R

S

Q

0

0

*

0

1

SET

1

0

RESET

1

1

NC

Q
Clocked RS Flip Flop
What is the Difference ????

A Clock signal is added to the input
What Clock Signal will do ????

Clock Signal controls the instant at which flip flop changes the state
How to Design ???

Basic NOR- Flip Flop + Two AND Gates + A Clock Signal

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop
Block Diagram of Clocked RS Flip Flop
R

Q

CLK

S

Q

Rule of RS Flip Flop : Q is always complement of Q
TRUTH TABLE
R

S

CLK

Qn

Qn+1

ACTION

Case

0

0

0

0

0

NC

1

1

1

NC

2

0

0

NC

3

1

1

NC

4

0

0

NC

5

1

1

NC

6

0

1

SET

7

1

1

SET

8

0

0

NC

9

1

1

NC

10

0

0

RESET

11

1

0

RESET

12

0

0

NC

13

1

1

NC

14

0

?

ERROR

15

1

?

ERROR

16

1
0

1

0
1

1

0

0
1

1

1

0
1
Clocked RS Flip Flop

Case 1
R

S

CLK

Qn

Qn+1

ACTION

0

0

0

0

0

NC

0
R

0

Q

10

0

CLK

10
nnn
10

S

0

0

10

Q
Clocked RS Flip Flop

Case 2
R

CLK

Qn

Qn+1

ACTION

0

R

S
0

0

1

1

NC

0

0

Q

0

0

CLK

1
nnn
0

S

0

0

1

Q
Clocked RS Flip Flop

Case 3
R

S

CLK

Qn

Qn+1

ACTION

0

0

1

0

0

NC

0
0

R
CLK

10

Q

10

1

nnn
10

S

0

0

10

Q
Clocked RS Flip Flop

Case 4
R

S

CLK

Qn

Qn+1

ACTION

0

0

1

1

1

NC

0
R
CLK

0

1

Q

0

1

nnn
0

S

0

0

1

Q
Clocked RS Flip Flop

Case 5
R

S

CLK

Qn

Qn+1

ACTION

0

1

0

0

0

NC

0

R

Q

nnn
10

S

1 0

0

10

0

CLK

0

1

0

10

Q
Clocked RS Flip Flop

Case 6
R

CLK

Qn

Qn+1

ACTION

0

R

S
1

0

1

1

NC

0

Q
0

CLK

S

1

nnn
Q
Clocked RS Flip Flop

Case 7
R

S

CLK

Qn

Qn+1

ACTION

0

1

1

0

1

SET

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 8
R

S

CLK

Qn

Qn+1

ACTION

0

1

1

1

1

SET

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 9
R

S

CLK

Qn

Qn+1

ACTION

1

0

0

0

0

NC

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 10
R

S

CLK

Qn

Qn+1

ACTION

1

0

0

1

1

NC

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 11
R

S

CLK

Qn

Qn+1

ACTION

1

0

1

0

0

RESET

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 12
R

S

CLK

Qn

Qn+1

ACTION

1

0

1

1

0

RESET

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 13
R

S

CLK

Qn

Qn+1

ACTION

1

1

0

0

0

NC

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 14
R

S

CLK

Qn

Qn+1

ACTION

1

1

0

1

1

NC

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 15
R

S

CLK

Qn

Qn+1

ACTION

1

1

1

0

?

ERROR

R

Q
CLK

nnn
Q

S
Clocked RS Flip Flop

Case 16
R

S

CLK

Qn

Qn+1

ACTION

1

1

1

1

?

ERROR

R

Q
CLK

nnn
Q

S
D – Flip Flop (Delay Flip Flop) (Clocked)

1. Stores digital info
2. Has Single input
3. It does not have Race Condition
D Flip Flop = One RS Latch + One Inverter
Single Input

D
Clk

D Flip Flop

Q
Q
D – Flip Flop (Delay Flip Flop) (Clocked)

D Flip Flop using NAND Gate
When Clock is LOW :

AND gates of Flip Flop are ENABLE

When Clock is HIGH :

AND gates of Flip Flop are DISABLE

Single Input
D
Q
CLK
Q
D – Flip Flop (Delay Flip Flop) (Clocked)
Truth Table
Clock

Input ( D)

Output (Q)

1

0

0

1

1

1

0

x

No Change

0

1

D

10

Q

10

CLK

bb
10

1

Q
1

0

1
D – Flip Flop (Delay Flip Flop) (Clocked)
Truth Table
Clock

Input ( D)

Output (Q)

1

1

1

0

CLK

0

1

D

0
x

No Change

1

0

1

Q

1 0
1

fff
1 0
Q
0

1

10
D – Flip Flop (Delay Flip Flop) (Clocked)
Truth Table
Clock

Input ( D)

Output (Q)

1

0

0

1

1

1

0

x

No Change

0

1

D
CLK

1 0

Q

1 0
0

1 0
Q
1

1

1 0
D – Flip Flop (Delay Flip Flop) (Clocked)
Truth Table
Clock

Input ( D)

Output (Q)

1

0

0

1

1

1

0

x

No Change

1

1

D
CLK

1

Q

1 0
0

1 0
Q
0

1

1
D – Flip Flop (Delay Flip Flop) (Clocked)

State Transition Diagram
Q (t)

D

Q (t+1)

0

0

0

0

1

1

1

0

0

1

1

1

D

D

0
D

1
D
JK Flip Flop
• Similar to SR Flip Flop
•Input J and K behaves like SET and RESET

When J = K = 1, the Flip Flop Output Toggles
If Q = 0, it switches to 1
if Q = 1, it switches to 0
JK Flip Flop using SR Flip Flop
S=J.Q
J

CLK
K

Q

S

R =K. Q

J

CLK

Q

R

Q

CLK

K

Q
JK Flip Flop
X
S

J

X

CLK
K

Clock

Q

CLK

R

X

X

S=J.Q

Inputs

Q

R =K. Q

J

K

Output
Qn+1

Action

X

0

0

Qn

NC

1

0

1

0

RESET

1

1

0

1

SET

1

1

1

Qn

TOGGLE
JK Flip Flop
0

S=J.Q

0

J

CLK
K

1

S 0

0

0 Q

CLK

R 0

1

0

0 Q

R =K. Q

0

Clock

Inputs
J

K

Output
Qn+1

Action

X

0

0

Qn

NC

1

0

1

0

RESET

1

1

0

1

SET

1

1

1

Qn

TOGGLE
JK Flip Flop
S=J.Q

0

J

1
1

CLK
K

S0

1

Q

CLK

Q

R0

0

0

0

R = K. Q

Clock

Inputs
J

K

Output
Qn+1

Action

X

0

0

Qn

NC

1

0

1

0

RESET

1

1

0

1

SET

1

1

1

Qn

TOGGLE
JK Flip Flop
S=J.Q
Q

S

J

CLK
K

CLK

Q

R

R =K. Q

Clock

Inputs
J

K

Output
Qn+1

Action

X

0

0

Qn

NC

1

0

1

0

RESET

1

1

0

1

SET

1

1

1

Qn

TOGGLE

More Related Content

What's hot

2.3 sequantial logic circuit
2.3 sequantial logic circuit2.3 sequantial logic circuit
2.3 sequantial logic circuit
Wan Afirah
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applications
Gaditek
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flops
gavhays
 
Unit 4 clocked_flip_flops
Unit 4 clocked_flip_flopsUnit 4 clocked_flip_flops
Unit 4 clocked_flip_flops
UNAD
 

What's hot (20)

Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Computer Oragnization Flipflops
Computer Oragnization FlipflopsComputer Oragnization Flipflops
Computer Oragnization Flipflops
 
Flip flop
Flip flopFlip flop
Flip flop
 
2.3 sequantial logic circuit
2.3 sequantial logic circuit2.3 sequantial logic circuit
2.3 sequantial logic circuit
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applications
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Jk flip flop
Jk flip flopJk flip flop
Jk flip flop
 
Lect19 Engin112
Lect19 Engin112Lect19 Engin112
Lect19 Engin112
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
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 | 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
 
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
 
Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flops
 
Unit 4 clocked_flip_flops
Unit 4 clocked_flip_flopsUnit 4 clocked_flip_flops
Unit 4 clocked_flip_flops
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Flip flop
Flip flopFlip flop
Flip flop
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
JK FLIPFLOP WITH TOGGLE
JK FLIPFLOP WITH TOGGLEJK FLIPFLOP WITH TOGGLE
JK FLIPFLOP WITH TOGGLE
 

Viewers also liked (6)

Flipflop
FlipflopFlipflop
Flipflop
 
Sequential circuit-Digital Electronics
Sequential circuit-Digital ElectronicsSequential circuit-Digital Electronics
Sequential circuit-Digital Electronics
 
Los Flip Flops
Los Flip FlopsLos Flip Flops
Los Flip Flops
 
Flip flops (ff)
Flip flops (ff)Flip flops (ff)
Flip flops (ff)
 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
 
Flipflop
FlipflopFlipflop
Flipflop
 

Similar to Flip flops

08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
DSOOP
 
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
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
ThanmayiKumar
 
Remote control of electrical equipment(eee499.blogspot.com)
Remote control of electrical equipment(eee499.blogspot.com)Remote control of electrical equipment(eee499.blogspot.com)
Remote control of electrical equipment(eee499.blogspot.com)
slmnsvn
 

Similar to Flip flops (20)

Flip flops
Flip flopsFlip flops
Flip flops
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
 
10529144.ppt
10529144.ppt10529144.ppt
10529144.ppt
 
All flipflop
All flipflopAll flipflop
All flipflop
 
Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
 
Logic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip FlopsLogic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip Flops
 
Flip flops
Flip flopsFlip flops
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
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
 
Trts d flip flop1
Trts d flip flop1Trts d flip flop1
Trts d flip flop1
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
 
Digital electronics Flip Flop
Digital electronics Flip FlopDigital electronics Flip Flop
Digital electronics 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
 
India..pptx
India..pptxIndia..pptx
India..pptx
 
Edge Trigged Flip Flops
Edge Trigged Flip FlopsEdge Trigged Flip Flops
Edge Trigged Flip Flops
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
Remote control of electrical equipment(eee499.blogspot.com)
Remote control of electrical equipment(eee499.blogspot.com)Remote control of electrical equipment(eee499.blogspot.com)
Remote control of electrical equipment(eee499.blogspot.com)
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 

More from jyoti_lakhani

Ds06 linked list- insert a node after a given node
Ds06   linked list-  insert a node after a given nodeDs06   linked list-  insert a node after a given node
Ds06 linked list- insert a node after a given node
jyoti_lakhani
 
Ds01 data structure introduction - by jyoti lakhani
Ds01 data structure  introduction - by jyoti lakhaniDs01 data structure  introduction - by jyoti lakhani
Ds01 data structure introduction - by jyoti lakhani
jyoti_lakhani
 

More from jyoti_lakhani (20)

CG02 Computer Graphic Systems.ppsx
CG02 Computer Graphic Systems.ppsxCG02 Computer Graphic Systems.ppsx
CG02 Computer Graphic Systems.ppsx
 
Projections.pptx
Projections.pptxProjections.pptx
Projections.pptx
 
CG04 Color Models.ppsx
CG04 Color Models.ppsxCG04 Color Models.ppsx
CG04 Color Models.ppsx
 
CG03 Random Raster Scan displays and Color CRTs.ppsx
CG03 Random Raster Scan displays and Color CRTs.ppsxCG03 Random Raster Scan displays and Color CRTs.ppsx
CG03 Random Raster Scan displays and Color CRTs.ppsx
 
CG02 Computer Graphic Systems.pptx
CG02 Computer Graphic Systems.pptxCG02 Computer Graphic Systems.pptx
CG02 Computer Graphic Systems.pptx
 
CG01 introduction.ppsx
CG01 introduction.ppsxCG01 introduction.ppsx
CG01 introduction.ppsx
 
Doubly linked list
Doubly linked listDoubly linked list
Doubly linked list
 
Double ended queue
Double ended queueDouble ended queue
Double ended queue
 
Tree terminology and introduction to binary tree
Tree terminology and introduction to binary treeTree terminology and introduction to binary tree
Tree terminology and introduction to binary tree
 
Priority queue
Priority queuePriority queue
Priority queue
 
Ds006 linked list- delete from front
Ds006   linked list- delete from frontDs006   linked list- delete from front
Ds006 linked list- delete from front
 
Ds06 linked list- insert a node after a given node
Ds06   linked list-  insert a node after a given nodeDs06   linked list-  insert a node after a given node
Ds06 linked list- insert a node after a given node
 
Ds06 linked list- insert a node at end
Ds06   linked list- insert a node at endDs06   linked list- insert a node at end
Ds06 linked list- insert a node at end
 
Ds06 linked list- insert a node at beginning
Ds06   linked list- insert a node at beginningDs06   linked list- insert a node at beginning
Ds06 linked list- insert a node at beginning
 
Ds06 linked list- intro and create a node
Ds06   linked list- intro and create a nodeDs06   linked list- intro and create a node
Ds06 linked list- intro and create a node
 
Ds04 abstract data types (adt) jyoti lakhani
Ds04 abstract data types (adt) jyoti lakhaniDs04 abstract data types (adt) jyoti lakhani
Ds04 abstract data types (adt) jyoti lakhani
 
Ds03 part i algorithms by jyoti lakhani
Ds03 part i algorithms   by jyoti lakhaniDs03 part i algorithms   by jyoti lakhani
Ds03 part i algorithms by jyoti lakhani
 
Ds03 algorithms jyoti lakhani
Ds03 algorithms jyoti lakhaniDs03 algorithms jyoti lakhani
Ds03 algorithms jyoti lakhani
 
Ds02 flow chart and pseudo code
Ds02 flow chart and pseudo codeDs02 flow chart and pseudo code
Ds02 flow chart and pseudo code
 
Ds01 data structure introduction - by jyoti lakhani
Ds01 data structure  introduction - by jyoti lakhaniDs01 data structure  introduction - by jyoti lakhani
Ds01 data structure introduction - by jyoti lakhani
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 

Flip flops

  • 1. FLIP FLOPS Binary unit capable of storing one bit – 0 or 1 Flip Flop has two stable states and a transition between these two states . Transition is depended on input. Input 0/1 HIGH / 1/ SET HIGH LOW Transition between states LOW / 0/ RESET
  • 2. Types of FLIP FLOPS FLIP FLOP RS Flip Flop JK Flip Flop T Flip Flop D Flip Flop
  • 3. RS - FLIP FLOP Block Diagram R S RS Flip Flop Q Q
  • 4. RS - FLIP FLOP RS Latch using NOR Gate A R S Q Q B
  • 5. RS - FLIP FLOP TRUTH TABLE R S Q Case 1 0 0 NC Case 2 0 1 SET Case 3 1 0 RESET Case 4 1 1 * R 0 A 1 0 0 1 1 0 S 0 1 B 0 Q Q NO CHANGE
  • 6. RS - FLIP FLOP TRUTH TABLE R S Q Case 1 0 0 NC Case 2 0 1 SET Case 3 1 0 RESET Case 4 1 1 * R 0 A 1 SET Q 0 01 S 1 B 0 Q
  • 7. RS - FLIP FLOP TRUTH TABLE R S Q Case 1 0 0 NC Case 2 0 1 SET Case 3 1 0 RESET Case 4 1 1 * R 1 0 01 0 S 0 RESET A 1 B Q Q
  • 8. RS - FLIP FLOP TRUTH TABLE R S Q Case 1 0 0 NC Case 2 0 1 SET Case 3 1 0 RESET Case 4 1 1 * R 1 A 0 0 0 S 1 0 B Q Q
  • 9. RS - FLIP FLOP RS Latch using NAND Gate (RS Flip Flop) A R S Q Q B R S Q 0 0 * 0 1 SET 1 0 RESET 1 1 NC
  • 10. RS - FLIP FLOP RS Latch using NAND Gate 0 R 0 0 S 1 A Q 1 1 1 Q B 0 R S Q 0 0 * 0 1 SET 1 0 RESET 1 1 NC Race Condition
  • 11. RS - FLIP FLOP RS Latch using NAND Gate (RS Flip Flop) R 0 A 01 01 S 1 Q 01 Q B 1 R S Q 0 0 * 0 1 SET 1 0 RESET 1 1 NC
  • 12. RS - FLIP FLOP RS Latch using NAND Gate 1 R A 10 10 Q 10 S B 0 1 R S Q 0 0 * 0 1 SET 1 0 RESET 1 1 NC Q
  • 13. RS - FLIP FLOP RS Latch using NAND Gate R 1 10 A 10 Q 10 S 1 10 B R S Q 0 0 * 0 1 SET 1 0 RESET 1 1 NC Q
  • 14. Clocked RS Flip Flop What is the Difference ???? A Clock signal is added to the input What Clock Signal will do ???? Clock Signal controls the instant at which flip flop changes the state How to Design ??? Basic NOR- Flip Flop + Two AND Gates + A Clock Signal R Q CLK nnn Q S
  • 15. Clocked RS Flip Flop Block Diagram of Clocked RS Flip Flop R Q CLK S Q Rule of RS Flip Flop : Q is always complement of Q
  • 17. Clocked RS Flip Flop Case 1 R S CLK Qn Qn+1 ACTION 0 0 0 0 0 NC 0 R 0 Q 10 0 CLK 10 nnn 10 S 0 0 10 Q
  • 18. Clocked RS Flip Flop Case 2 R CLK Qn Qn+1 ACTION 0 R S 0 0 1 1 NC 0 0 Q 0 0 CLK 1 nnn 0 S 0 0 1 Q
  • 19. Clocked RS Flip Flop Case 3 R S CLK Qn Qn+1 ACTION 0 0 1 0 0 NC 0 0 R CLK 10 Q 10 1 nnn 10 S 0 0 10 Q
  • 20. Clocked RS Flip Flop Case 4 R S CLK Qn Qn+1 ACTION 0 0 1 1 1 NC 0 R CLK 0 1 Q 0 1 nnn 0 S 0 0 1 Q
  • 21. Clocked RS Flip Flop Case 5 R S CLK Qn Qn+1 ACTION 0 1 0 0 0 NC 0 R Q nnn 10 S 1 0 0 10 0 CLK 0 1 0 10 Q
  • 22. Clocked RS Flip Flop Case 6 R CLK Qn Qn+1 ACTION 0 R S 1 0 1 1 NC 0 Q 0 CLK S 1 nnn Q
  • 23. Clocked RS Flip Flop Case 7 R S CLK Qn Qn+1 ACTION 0 1 1 0 1 SET R Q CLK nnn Q S
  • 24. Clocked RS Flip Flop Case 8 R S CLK Qn Qn+1 ACTION 0 1 1 1 1 SET R Q CLK nnn Q S
  • 25. Clocked RS Flip Flop Case 9 R S CLK Qn Qn+1 ACTION 1 0 0 0 0 NC R Q CLK nnn Q S
  • 26. Clocked RS Flip Flop Case 10 R S CLK Qn Qn+1 ACTION 1 0 0 1 1 NC R Q CLK nnn Q S
  • 27. Clocked RS Flip Flop Case 11 R S CLK Qn Qn+1 ACTION 1 0 1 0 0 RESET R Q CLK nnn Q S
  • 28. Clocked RS Flip Flop Case 12 R S CLK Qn Qn+1 ACTION 1 0 1 1 0 RESET R Q CLK nnn Q S
  • 29. Clocked RS Flip Flop Case 13 R S CLK Qn Qn+1 ACTION 1 1 0 0 0 NC R Q CLK nnn Q S
  • 30. Clocked RS Flip Flop Case 14 R S CLK Qn Qn+1 ACTION 1 1 0 1 1 NC R Q CLK nnn Q S
  • 31. Clocked RS Flip Flop Case 15 R S CLK Qn Qn+1 ACTION 1 1 1 0 ? ERROR R Q CLK nnn Q S
  • 32. Clocked RS Flip Flop Case 16 R S CLK Qn Qn+1 ACTION 1 1 1 1 ? ERROR R Q CLK nnn Q S
  • 33. D – Flip Flop (Delay Flip Flop) (Clocked) 1. Stores digital info 2. Has Single input 3. It does not have Race Condition D Flip Flop = One RS Latch + One Inverter Single Input D Clk D Flip Flop Q Q
  • 34. D – Flip Flop (Delay Flip Flop) (Clocked) D Flip Flop using NAND Gate When Clock is LOW : AND gates of Flip Flop are ENABLE When Clock is HIGH : AND gates of Flip Flop are DISABLE Single Input D Q CLK Q
  • 35. D – Flip Flop (Delay Flip Flop) (Clocked) Truth Table Clock Input ( D) Output (Q) 1 0 0 1 1 1 0 x No Change 0 1 D 10 Q 10 CLK bb 10 1 Q 1 0 1
  • 36. D – Flip Flop (Delay Flip Flop) (Clocked) Truth Table Clock Input ( D) Output (Q) 1 1 1 0 CLK 0 1 D 0 x No Change 1 0 1 Q 1 0 1 fff 1 0 Q 0 1 10
  • 37. D – Flip Flop (Delay Flip Flop) (Clocked) Truth Table Clock Input ( D) Output (Q) 1 0 0 1 1 1 0 x No Change 0 1 D CLK 1 0 Q 1 0 0 1 0 Q 1 1 1 0
  • 38. D – Flip Flop (Delay Flip Flop) (Clocked) Truth Table Clock Input ( D) Output (Q) 1 0 0 1 1 1 0 x No Change 1 1 D CLK 1 Q 1 0 0 1 0 Q 0 1 1
  • 39. D – Flip Flop (Delay Flip Flop) (Clocked) State Transition Diagram Q (t) D Q (t+1) 0 0 0 0 1 1 1 0 0 1 1 1 D D 0 D 1 D
  • 40. JK Flip Flop • Similar to SR Flip Flop •Input J and K behaves like SET and RESET When J = K = 1, the Flip Flop Output Toggles If Q = 0, it switches to 1 if Q = 1, it switches to 0
  • 41. JK Flip Flop using SR Flip Flop S=J.Q J CLK K Q S R =K. Q J CLK Q R Q CLK K Q
  • 42. JK Flip Flop X S J X CLK K Clock Q CLK R X X S=J.Q Inputs Q R =K. Q J K Output Qn+1 Action X 0 0 Qn NC 1 0 1 0 RESET 1 1 0 1 SET 1 1 1 Qn TOGGLE
  • 43. JK Flip Flop 0 S=J.Q 0 J CLK K 1 S 0 0 0 Q CLK R 0 1 0 0 Q R =K. Q 0 Clock Inputs J K Output Qn+1 Action X 0 0 Qn NC 1 0 1 0 RESET 1 1 0 1 SET 1 1 1 Qn TOGGLE
  • 44. JK Flip Flop S=J.Q 0 J 1 1 CLK K S0 1 Q CLK Q R0 0 0 0 R = K. Q Clock Inputs J K Output Qn+1 Action X 0 0 Qn NC 1 0 1 0 RESET 1 1 0 1 SET 1 1 1 Qn TOGGLE
  • 45. JK Flip Flop S=J.Q Q S J CLK K CLK Q R R =K. Q Clock Inputs J K Output Qn+1 Action X 0 0 Qn NC 1 0 1 0 RESET 1 1 0 1 SET 1 1 1 Qn TOGGLE