SlideShare a Scribd company logo
Instructor: Alexander Stoytchev
http://www.ece.iastate.edu/~alexs/classes/
CprE 281:
Digital Logic
T Flip-Flops
&
JK Flip-Flops
CprE 281: Digital Logic
Iowa State University, Ames, IA
Copyright © Alexander Stoytchev
Administrative Stuff
• HW 8 is out
• It is due next Monday (Oct 27)
T Flip-Flop
Motivation
A slight modification of the D flip-flop that can be used
for some nice applications.
In this case, T stands for Toggle.
[ Figure 5.15a from the textbook ]
T Flip-Flop
[ Figure 5.15a from the textbook ]
T Flip-Flop
Positive-edge-triggered
D Flip-Flop
[ Figure 5.15a from the textbook ]
T Flip-Flop
What is this?
What is this?
Q
Q
T
D
Q
Q
T
D
What is this?
+ = ?
T
0
1
D Q
Q
Clock
T Flip-Flop
What is this?
Q
T
D
What is this?
Q
T
D
D = QT + QT
What is this?
Q
T
D
D = Q + T
What is this?
D = Q + T
D
Q
T
What is this?
+ = ?
T
D Q
Q
Clock
T Flip-Flop
T Flip-Flop
(How it Works)
If T=0 then it stays in its current state
If T=1 then it reverses its current state
In other words the circuit “toggles” its state
when T=1. This is why it is called T flip-flop.
[ Figure 5.15a,b from the textbook ]
T Flip-Flop
(circuit and truth table)
[ Figure 5.15a,c from the textbook ]
T Flip-Flop
(circuit and graphical symbol)
[ Figure 5.15d from the textbook ]
T Flip-Flop (Timing Diagram)
JK Flip-Flop
[ Figure 5.16a from the textbook ]
JK Flip-Flop
D = JQ + KQ
[ Figure 5.16 from the textbook ]
JK Flip-Flop
J Q
Q
K
0
1
Q t 1
+
 
Q t
 
0
(b) Truth table (c) Graphical symbol
J
0
0
0 1
1
1 Q t
 
1
K
D Q
Q
Q
Q
J
Clock
(a) Circuit
K
JK Flip-Flop
(How it Works)
A versatile circuit that can be used both as a SR
flip-flop and as a T flip flop
If J=0 and S =0 it stays in the same state
Just like SR It can be set and reset
J=S and K=R
If J=K=1 then it behaves as a T flip-flop
Questions?
THE END
Ad

Recommended

Learn How T flip-flops Function in Digital Circuits and Understand their Trut...
Learn How T flip-flops Function in Digital Circuits and Understand their Trut...
CircuitDigest
 
D and T Flip Flop
D and T Flip Flop
Dhrumil Panchal
 
Lecture-digital logic design-32_Counters.ppt
Lecture-digital logic design-32_Counters.ppt
SherifElGohary7
 
Flipflop
Flipflop
Ravindra Rathore
 
Flip flops
Flip flops
Revathi Subramaniam
 
................................................................................
................................................................................
sanskarjunare99
 
flip-flops-181127064941_sequential logic circuits.pptx
flip-flops-181127064941_sequential logic circuits.pptx
anushachalla14
 
Computer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docx
ladonnacamplin
 
Chapter 6: Sequential Logic
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
 
Cse(b) g1 flipflop
Cse(b) g1 flipflop
KaranAgarwal71
 
DIGITAL SOLVED PROBLEMS FOR EDUCATION ENGG
DIGITAL SOLVED PROBLEMS FOR EDUCATION ENGG
ArunaDeviAssociatePr
 
flip-flops and its application virus harmfull ppt
flip-flops and its application virus harmfull ppt
Priyabratpanda4
 
FlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).ppt
SalmanHameed26
 
FlipFlopsLatches off different inputs a and b
FlipFlopsLatches off different inputs a and b
Meenakshi Munjal
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
diganta das
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
diganta das
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
manasSinghal11
 
Flipflopsupdated explanation and applications.pptx
Flipflopsupdated explanation and applications.pptx
amandavid6969
 
flip flops
flip flops
Unsa Shakir
 
''T-Flip-Flop-A-Comprehensive-Guide.pptx
''T-Flip-Flop-A-Comprehensive-Guide.pptx
dakshsuvarna46
 
Dld
Dld
Zain Ul Abedeen
 
Flipflop for Electronics and Communication Engineering students.pdf
Flipflop for Electronics and Communication Engineering students.pdf
izukumido
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.
Satya P. Joshi
 
Flip flops
Flip flops
rameshthombre1
 
Sequential logics
Sequential logics
faiqikhan
 
Sequential logics
Sequential logics
faiqikhan
 
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
AhmedAlAfandi5
 
DELD_UNIT III all the topics and subtopics.pptx
DELD_UNIT III all the topics and subtopics.pptx
nalwadekunal57
 
introduction to html and cssIntroHTML.ppt
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
introduction to html and css html1.ppt
introduction to html and css html1.ppt
SherifElGohary7
 

More Related Content

Similar to Lecture-digital-27_T_and_JK_Flip-Flops.ppt (20)

Chapter 6: Sequential Logic
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
 
Cse(b) g1 flipflop
Cse(b) g1 flipflop
KaranAgarwal71
 
DIGITAL SOLVED PROBLEMS FOR EDUCATION ENGG
DIGITAL SOLVED PROBLEMS FOR EDUCATION ENGG
ArunaDeviAssociatePr
 
flip-flops and its application virus harmfull ppt
flip-flops and its application virus harmfull ppt
Priyabratpanda4
 
FlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).ppt
SalmanHameed26
 
FlipFlopsLatches off different inputs a and b
FlipFlopsLatches off different inputs a and b
Meenakshi Munjal
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
diganta das
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
diganta das
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
manasSinghal11
 
Flipflopsupdated explanation and applications.pptx
Flipflopsupdated explanation and applications.pptx
amandavid6969
 
flip flops
flip flops
Unsa Shakir
 
''T-Flip-Flop-A-Comprehensive-Guide.pptx
''T-Flip-Flop-A-Comprehensive-Guide.pptx
dakshsuvarna46
 
Dld
Dld
Zain Ul Abedeen
 
Flipflop for Electronics and Communication Engineering students.pdf
Flipflop for Electronics and Communication Engineering students.pdf
izukumido
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.
Satya P. Joshi
 
Flip flops
Flip flops
rameshthombre1
 
Sequential logics
Sequential logics
faiqikhan
 
Sequential logics
Sequential logics
faiqikhan
 
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
AhmedAlAfandi5
 
DELD_UNIT III all the topics and subtopics.pptx
DELD_UNIT III all the topics and subtopics.pptx
nalwadekunal57
 
DIGITAL SOLVED PROBLEMS FOR EDUCATION ENGG
DIGITAL SOLVED PROBLEMS FOR EDUCATION ENGG
ArunaDeviAssociatePr
 
flip-flops and its application virus harmfull ppt
flip-flops and its application virus harmfull ppt
Priyabratpanda4
 
FlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).ppt
SalmanHameed26
 
FlipFlopsLatches off different inputs a and b
FlipFlopsLatches off different inputs a and b
Meenakshi Munjal
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
diganta das
 
FlipFlopsLatches1.ppt
FlipFlopsLatches1.ppt
diganta das
 
Flipflopsupdated explanation and applications.pptx
Flipflopsupdated explanation and applications.pptx
amandavid6969
 
''T-Flip-Flop-A-Comprehensive-Guide.pptx
''T-Flip-Flop-A-Comprehensive-Guide.pptx
dakshsuvarna46
 
Flipflop for Electronics and Communication Engineering students.pdf
Flipflop for Electronics and Communication Engineering students.pdf
izukumido
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.
Satya P. Joshi
 
Sequential logics
Sequential logics
faiqikhan
 
Sequential logics
Sequential logics
faiqikhan
 
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
AhmedAlAfandi5
 
DELD_UNIT III all the topics and subtopics.pptx
DELD_UNIT III all the topics and subtopics.pptx
nalwadekunal57
 

More from SherifElGohary7 (20)

introduction to html and cssIntroHTML.ppt
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
introduction to html and css html1.ppt
introduction to html and css html1.ppt
SherifElGohary7
 
2-Test biocompatibilitalty testing .ppt
2-Test biocompatibilitalty testing .ppt
SherifElGohary7
 
articulating mirrors laser application 1610922286.pptx
articulating mirrors laser application 1610922286.pptx
SherifElGohary7
 
Intrusion Detection and Prevention Systems.pptx
Intrusion Detection and Prevention Systems.pptx
SherifElGohary7
 
AAMI medical device standards program.pptx
AAMI medical device standards program.pptx
SherifElGohary7
 
dppc-breach-notification-slides-201804.ppt
dppc-breach-notification-slides-201804.ppt
SherifElGohary7
 
presentationsPPT-HIPAA-Privacy-Rule-Training.pptx
presentationsPPT-HIPAA-Privacy-Rule-Training.pptx
SherifElGohary7
 
Lectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).ppt
SherifElGohary7
 
Lecture digital logic design Chapter4_4Web.ppt
Lecture digital logic design Chapter4_4Web.ppt
SherifElGohary7
 
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
SherifElGohary7
 
Lecture of BloodGlucoseMonitoring2008.ppt
Lecture of BloodGlucoseMonitoring2008.ppt
SherifElGohary7
 
IT GovernanceChallenges facing IT Governance.pdf
IT GovernanceChallenges facing IT Governance.pdf
SherifElGohary7
 
Chapter 12 CSR and Corporate Governance.ppt
Chapter 12 CSR and Corporate Governance.ppt
SherifElGohary7
 
Digital logic design of 2nd Lecture 2.pdf
Digital logic design of 2nd Lecture 2.pdf
SherifElGohary7
 
Medical biophysics of Introduction-18.pdf
Medical biophysics of Introduction-18.pdf
SherifElGohary7
 
Digital-logic-design-16148_flip-flop1.ppt
Digital-logic-design-16148_flip-flop1.ppt
SherifElGohary7
 
Lecture-Logic Design_circuit-15-Registers.ppt
Lecture-Logic Design_circuit-15-Registers.ppt
SherifElGohary7
 
lecture_binary_logic_and_logic_gates.ppt
lecture_binary_logic_and_logic_gates.ppt
SherifElGohary7
 
Lecture of introduction for medical Equipment -defibrillators
Lecture of introduction for medical Equipment -defibrillators
SherifElGohary7
 
introduction to html and cssIntroHTML.ppt
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
introduction to html and css html1.ppt
introduction to html and css html1.ppt
SherifElGohary7
 
2-Test biocompatibilitalty testing .ppt
2-Test biocompatibilitalty testing .ppt
SherifElGohary7
 
articulating mirrors laser application 1610922286.pptx
articulating mirrors laser application 1610922286.pptx
SherifElGohary7
 
Intrusion Detection and Prevention Systems.pptx
Intrusion Detection and Prevention Systems.pptx
SherifElGohary7
 
AAMI medical device standards program.pptx
AAMI medical device standards program.pptx
SherifElGohary7
 
dppc-breach-notification-slides-201804.ppt
dppc-breach-notification-slides-201804.ppt
SherifElGohary7
 
presentationsPPT-HIPAA-Privacy-Rule-Training.pptx
presentationsPPT-HIPAA-Privacy-Rule-Training.pptx
SherifElGohary7
 
Lectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).ppt
SherifElGohary7
 
Lecture digital logic design Chapter4_4Web.ppt
Lecture digital logic design Chapter4_4Web.ppt
SherifElGohary7
 
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
SherifElGohary7
 
Lecture of BloodGlucoseMonitoring2008.ppt
Lecture of BloodGlucoseMonitoring2008.ppt
SherifElGohary7
 
IT GovernanceChallenges facing IT Governance.pdf
IT GovernanceChallenges facing IT Governance.pdf
SherifElGohary7
 
Chapter 12 CSR and Corporate Governance.ppt
Chapter 12 CSR and Corporate Governance.ppt
SherifElGohary7
 
Digital logic design of 2nd Lecture 2.pdf
Digital logic design of 2nd Lecture 2.pdf
SherifElGohary7
 
Medical biophysics of Introduction-18.pdf
Medical biophysics of Introduction-18.pdf
SherifElGohary7
 
Digital-logic-design-16148_flip-flop1.ppt
Digital-logic-design-16148_flip-flop1.ppt
SherifElGohary7
 
Lecture-Logic Design_circuit-15-Registers.ppt
Lecture-Logic Design_circuit-15-Registers.ppt
SherifElGohary7
 
lecture_binary_logic_and_logic_gates.ppt
lecture_binary_logic_and_logic_gates.ppt
SherifElGohary7
 
Lecture of introduction for medical Equipment -defibrillators
Lecture of introduction for medical Equipment -defibrillators
SherifElGohary7
 
Ad

Recently uploaded (20)

How to Un-Obsolete Your Legacy Keypad Design
How to Un-Obsolete Your Legacy Keypad Design
Epec Engineered Technologies
 
(Continuous Integration and Continuous Deployment/Delivery) is a fundamental ...
(Continuous Integration and Continuous Deployment/Delivery) is a fundamental ...
ketan09101
 
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
 
Structured Programming with C++ :: Kjell Backman
Structured Programming with C++ :: Kjell Backman
Shabista Imam
 
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
Shabista Imam
 
60 Years and Beyond eBook 1234567891.pdf
60 Years and Beyond eBook 1234567891.pdf
waseemalazzeh
 
Rapid Prototyping for XR: Lecture 3 - Video and Paper Prototyping
Rapid Prototyping for XR: Lecture 3 - Video and Paper Prototyping
Mark Billinghurst
 
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
IJDKP
 
retina_biometrics ruet rajshahi bangdesh.pptx
retina_biometrics ruet rajshahi bangdesh.pptx
MdRakibulIslam697135
 
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
Introduction to Python Programming Language
Introduction to Python Programming Language
merlinjohnsy
 
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
 
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
Call For Papers - 17th International Conference on Wireless & Mobile Networks...
Call For Papers - 17th International Conference on Wireless & Mobile Networks...
hosseinihamid192023
 
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
 
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
moonsony54
 
Solar thermal – Flat plate and concentrating collectors .pptx
Solar thermal – Flat plate and concentrating collectors .pptx
jdaniabraham1
 
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
SAMEER VISHWAKARMA
 
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
resming1
 
(Continuous Integration and Continuous Deployment/Delivery) is a fundamental ...
(Continuous Integration and Continuous Deployment/Delivery) is a fundamental ...
ketan09101
 
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
 
Structured Programming with C++ :: Kjell Backman
Structured Programming with C++ :: Kjell Backman
Shabista Imam
 
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
Shabista Imam
 
60 Years and Beyond eBook 1234567891.pdf
60 Years and Beyond eBook 1234567891.pdf
waseemalazzeh
 
Rapid Prototyping for XR: Lecture 3 - Video and Paper Prototyping
Rapid Prototyping for XR: Lecture 3 - Video and Paper Prototyping
Mark Billinghurst
 
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
IJDKP
 
retina_biometrics ruet rajshahi bangdesh.pptx
retina_biometrics ruet rajshahi bangdesh.pptx
MdRakibulIslam697135
 
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
Introduction to Python Programming Language
Introduction to Python Programming Language
merlinjohnsy
 
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
 
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
Call For Papers - 17th International Conference on Wireless & Mobile Networks...
Call For Papers - 17th International Conference on Wireless & Mobile Networks...
hosseinihamid192023
 
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
 
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
moonsony54
 
Solar thermal – Flat plate and concentrating collectors .pptx
Solar thermal – Flat plate and concentrating collectors .pptx
jdaniabraham1
 
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
SAMEER VISHWAKARMA
 
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
resming1
 
Ad

Lecture-digital-27_T_and_JK_Flip-Flops.ppt