SlideShare a Scribd company logo
1 of 14
JK Flip-Flop
Today's Topic
Sequential Logic Circuits
• JK Flip-Flop
Why JK Flip-Flop
• SR
• D
J K Flip-Flop
• JK flip – flop is named after Jack Kilby, the electrical engineer who
invented IC.
• A JK flip – flop is called a Universal Programmable flip – flop
because, using its inputs J (Preset), K (Clear), function of any other
flip – flop can be imitated.
• It is the modification of SR flip – flop with no Invalid state.
JK Flip-Flop
• In this the J input is similar to the SET input of SR flip – flop and
the K input is similar to the RESET input
• And outputs are
– one is main output represented by Q and
– the other is complement of Q represented by Q’.
• The symbol of JK flip – flop is shown below.
Construction & Logic Circuit
JK Flip-Flop Using NOR gates
JK Flip-Flop Using NAND gates
NAND Truth table
1. J=0 , K=1 Q=0 Q’=1
2. J=0 , K=0 Q= 0 Q’= 1
3. J=1 , K=0 Q= 1 Q’= 0
4. J=0 , K=0 Q= 1 Q’= 0
5. J=1 , K=1 Q= T Q’= T
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
Clk J K Q Q’ State
↑ » 1 0 0 Q Q’ NC
↑ » 1 0 1 0 1 RESET
↑ » 1 1 0 1 0 SET
↑ » 1 1 1 T T Toggle
» 0 X X - - -
JK Flip-Flop Truth Table
Clk J K Q(t) Q(t+1) State
↑ » 1 0 0 0 0
Memory / No change state
↑ » 1 0 0 1 1
↑ » 1 0 1 0 0
RESET
↑ » 1 0 1 1 0
↑ » 1 1 0 0 1
SET
↑ » 1 1 0 1 1
↑ » 1 1 1 0 1 0 1 0..
Toggle
↑ » 1 1 1 1 0 1 0 1..
JK Flip-Flop Characteristic Table
 Toggle means switch between two states.
 Conditions for toggle in JK- flip flop :
 Both J and K should be 1.
 Clock should be present( Here I have considered +ve clock/rising edge)
Timing Diagram
Review
• A J-K flip-flop is nothing more than an S-R flip-flop with an added layer
of feedback.
• This eliminates the invalid condition.
• When both J and K inputs are activated (J=1,K=1), and the clock input
is applied then the circuit will toggle from a set state to a reset state or
vice versa.
• The limitation of JK Latch is Race Around Condition (in JK Latch)
 Race around condition means toggling is happening at the output many
a time within a single clock period.
Steps to avoid racing condition
• We can avoid the Race around condition by setting up the clock-on time
less than the propagation delay of the flip flop. It can be achieved by edge
triggering.
• By making the flip flop to toggle over one clock period.
This concept is introduced in Master Slave J K flip flop.
In Next Class
• Master Slave JK Flip Flop
• A

More Related Content

What's hot

flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applications
Gaditek
 

What's hot (20)

J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
 
Flip Flop
Flip FlopFlip Flop
Flip Flop
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOPMASTER SLAVE JK FLIP FLOP & T FLIP FLOP
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
flip flops
flip flops flip flops
flip flops
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
D flip Flop
D flip FlopD flip Flop
D flip Flop
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
Flip flop
Flip flopFlip flop
Flip flop
 
latches
 latches latches
latches
 
Registers siso, sipo
Registers siso, sipoRegisters siso, sipo
Registers siso, sipo
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
Presentation on Flip Flop
Presentation  on Flip FlopPresentation  on Flip Flop
Presentation on Flip Flop
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital 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
 
Jk flip flop
Jk flip flopJk flip flop
Jk flip flop
 

Similar to JK flip flop in Digital electronics

f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdff576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
ssuserd7ef0c
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
ThanmayiKumar
 

Similar to JK flip flop in Digital electronics (20)

Flip flop
Flip flopFlip flop
Flip flop
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
Digital principles
Digital principles  Digital principles
Digital principles
 
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdff576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
 
Sequential circuit-flip flops
Sequential circuit-flip flopsSequential circuit-flip flops
Sequential circuit-flip flops
 
Flip flops
Flip flopsFlip flops
Flip flops
 
Flip flop
Flip flop Flip flop
Flip flop
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.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.
 
9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx9flipflopsupdated-191016140658.pptx
9flipflopsupdated-191016140658.pptx
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
 
Flip flops & registers
Flip flops & registersFlip flops & registers
Flip flops & registers
 
Flipflop r012
Flipflop   r012Flipflop   r012
Flipflop r012
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
 
unit-4 (STLD) Lecture2.pptx
unit-4 (STLD) Lecture2.pptxunit-4 (STLD) Lecture2.pptx
unit-4 (STLD) Lecture2.pptx
 

More from Easy n Inspire L

More from Easy n Inspire L (13)

Rs flipflop or SR flipFlop
Rs flipflop or SR flipFlop Rs flipflop or SR flipFlop
Rs flipflop or SR flipFlop
 
D flip flop in Digital electronics
D flip flop in Digital electronicsD flip flop in Digital electronics
D flip flop in Digital electronics
 
Wireless Sensor Networks UNIT-3
Wireless Sensor Networks UNIT-3Wireless Sensor Networks UNIT-3
Wireless Sensor Networks UNIT-3
 
Wireless Sensor Networks UNIT-2
Wireless Sensor Networks UNIT-2Wireless Sensor Networks UNIT-2
Wireless Sensor Networks UNIT-2
 
Wireless Sensor Networks UNIT-1
Wireless Sensor Networks UNIT-1Wireless Sensor Networks UNIT-1
Wireless Sensor Networks UNIT-1
 
Encoders and types of encodrs
Encoders and types of encodrs Encoders and types of encodrs
Encoders and types of encodrs
 
Magnitude Comparator and types of MC
Magnitude Comparator and types of MCMagnitude Comparator and types of MC
Magnitude Comparator and types of MC
 
B.Tech Document Preparation tips
B.Tech Document Preparation tips B.Tech Document Preparation tips
B.Tech Document Preparation tips
 
Decoders in digital electronics
Decoders in digital electronicsDecoders in digital electronics
Decoders in digital electronics
 
Working on the B.Tech/ M.Tech Project
Working on the B.Tech/ M.Tech ProjectWorking on the B.Tech/ M.Tech Project
Working on the B.Tech/ M.Tech Project
 
D latch
D latchD latch
D latch
 
Latch Introduction & RS Latch
Latch Introduction &  RS LatchLatch Introduction &  RS Latch
Latch Introduction & RS Latch
 
SEQUENTIAL CIRCUITS INTRODUCTION
SEQUENTIAL CIRCUITS INTRODUCTIONSEQUENTIAL CIRCUITS INTRODUCTION
SEQUENTIAL CIRCUITS INTRODUCTION
 

Recently uploaded

Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 

Recently uploaded (20)

DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 

JK flip flop in Digital electronics

  • 2. Today's Topic Sequential Logic Circuits • JK Flip-Flop
  • 4. J K Flip-Flop • JK flip – flop is named after Jack Kilby, the electrical engineer who invented IC. • A JK flip – flop is called a Universal Programmable flip – flop because, using its inputs J (Preset), K (Clear), function of any other flip – flop can be imitated. • It is the modification of SR flip – flop with no Invalid state.
  • 5. JK Flip-Flop • In this the J input is similar to the SET input of SR flip – flop and the K input is similar to the RESET input • And outputs are – one is main output represented by Q and – the other is complement of Q represented by Q’. • The symbol of JK flip – flop is shown below.
  • 6. Construction & Logic Circuit JK Flip-Flop Using NOR gates JK Flip-Flop Using NAND gates
  • 7. NAND Truth table 1. J=0 , K=1 Q=0 Q’=1 2. J=0 , K=0 Q= 0 Q’= 1 3. J=1 , K=0 Q= 1 Q’= 0 4. J=0 , K=0 Q= 1 Q’= 0 5. J=1 , K=1 Q= T Q’= T A B Y 0 0 1 0 1 1 1 0 1 1 1 0
  • 8. Clk J K Q Q’ State ↑ » 1 0 0 Q Q’ NC ↑ » 1 0 1 0 1 RESET ↑ » 1 1 0 1 0 SET ↑ » 1 1 1 T T Toggle » 0 X X - - - JK Flip-Flop Truth Table
  • 9. Clk J K Q(t) Q(t+1) State ↑ » 1 0 0 0 0 Memory / No change state ↑ » 1 0 0 1 1 ↑ » 1 0 1 0 0 RESET ↑ » 1 0 1 1 0 ↑ » 1 1 0 0 1 SET ↑ » 1 1 0 1 1 ↑ » 1 1 1 0 1 0 1 0.. Toggle ↑ » 1 1 1 1 0 1 0 1.. JK Flip-Flop Characteristic Table  Toggle means switch between two states.  Conditions for toggle in JK- flip flop :  Both J and K should be 1.  Clock should be present( Here I have considered +ve clock/rising edge)
  • 11. Review • A J-K flip-flop is nothing more than an S-R flip-flop with an added layer of feedback. • This eliminates the invalid condition. • When both J and K inputs are activated (J=1,K=1), and the clock input is applied then the circuit will toggle from a set state to a reset state or vice versa. • The limitation of JK Latch is Race Around Condition (in JK Latch)  Race around condition means toggling is happening at the output many a time within a single clock period.
  • 12. Steps to avoid racing condition • We can avoid the Race around condition by setting up the clock-on time less than the propagation delay of the flip flop. It can be achieved by edge triggering. • By making the flip flop to toggle over one clock period. This concept is introduced in Master Slave J K flip flop.
  • 13. In Next Class • Master Slave JK Flip Flop
  • 14. • A