SlideShare a Scribd company logo
JK & MASTER SLAVE
FLIP-FLOP
 MADE BY- Krishma Parekh
 Enrollment NO.-140210107039
 Computer branch- 3rd SEMESTER
INTRODUCTION
 After getting problems SR-Flip flops , D-Flip flops , T-
Flip flops…which gives invalid state in the execution of
the circuit
 To solve up that Problem we got a new Flip-Flop which
is called J-K Flip Flop
 This Flip Flop removes invalid state but instead of invalid
state the output of JK Flip Flop will toggle between 1
&0….
 Now we will look upon this construction and working of
this circuit and the solution of Toggle Condition…
What is a JK Flip-flop ?
 A flip-flop is a circuit that has two stable
states and can be used to store state
information.
 The flip-flop can be made to change state
by signals applied to one or more control
inputs and will have one or two outputs.
JK Terminology/Structure
Has 5 inputs named:
J(set),K(reset), PR, CLR, and CLK
Has 2 outputs: Q and Q’
Set: when it stores a binary 1
Cleared (reset): when it stores a binary 0
PR = Preset
CLR = Clear
CLK = Clock
Outputs
The Q output is the primary output.
This means that the binary bit stored
in the flip-flop, 1 or 0, is the same
as Q.
The Q’ output is the
opposite binary bit value
that is stored in Q.
The PR and CLR inputs always
override the J,K inputs.
Inputs: J and K
 The logic states applied to the J and K inputs cause
the flip-flop to operate 4 different ways.
 The way the logic state is applied to J and K is
called Mode of Operation.
 The mode of operation refers to the condition of the
flip-flop as it prepares for the positive clock pulse.
Four Modes Of Operation
J K Q Q’ Mode
0 0 Q Q’ Memory
1 0 1 0 Sets
0 1 0 1 Resets
1 1 Q’ Q Toggle
The 4 modes of operation
are: hold, set, reset,
toggle
JK contains an internal
Active Low SR latch.
Active Low SR Latch
S’ – “set” R’ – “reset” Q Q’
0 0 Invalid Invalid
0 1 1 0
1 0 0 1
1 1 Q Q’
Point to remember:
A ‘0’ at the set or the
reset will either set or
reset the value of Q.
Truth Table for NAND
A B X
0 0 1
0 1 1
1 0 1
1 1 0
A B C X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
2 Inputs: 3 Inputs:
Mode of Operation: Hold
J K Q Q’ Orig. Q Orig. Q’
0 0 0 1 0 1
Hold: no change in Q.
Mode of Operation: Set
J K Q Q’ Orig. Q Orig. Q’
1 0 1 0 0 1
Set: Q = 1.
Mode of Operation: Reset
J K Q Q’ Orig. Q Orig. Q’
0 1 0 1 1 0
Reset: Q = 0.
Mode of Operation: Toggle
J K Q Q’ Orig. Q Orig. Q’
1 1 1 0 0 1
Toggle: Q = Q’.
Mode of Operation: Toggle again
J K Q Q’ Orig. Q Orig. Q’
1 1 0 1 1 0
Toggle: Q = Q’.
During a Time Period
Characteristic Equation
Q J K Q(t + 1)
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
Characteristic Equation:
Q(t+1) = J.Q’+ K’.Q
J K Q Q’ Mode
0 0 Q Q’ Hold
1 0 1 0 Sets
0 1 0 1 Resets
1 1 Q’ Q Toggle
Q(t+1) = J.Q’+ K’.Q
Q is the primary output.
Characteristic Equation
Master Slave D Flip-flop
 A negative edge triggered flip-flop:
On the negative edge of the clock, the master
captures the D input and the slave outputs it.
D
C
Y D
C
Q
Q
Master Slav
e
Master-Slave J-K Flip-Flop
A master-slave flip-flop contains two flip-flops/latches:
Master S-C latch (S-C Flip-Flop) - receives data while the input trigger clock is
HIGH.
Slave S-C latch (S-C Flip-Flop) - receives data from the master and output it
when the clock goes LOW.
 Two RS flip-flops are combined together using an inverter to construct a master-slave JK
flip-flop.
 When the clock input Cp is 0, the output of the inverter is 1. The slave latch is then
enabled, and its output Q is equal to the master latch output. The master latch is disabled,
because Cp is 0.
 When a logic-1 clock pulse is applied, the values on S and R control the value stored in
the master latch. The slave is disabled as long as the pulse remains at the 1 level,
because its Cp input is equal to 0. Any changes in the external S and R inputs change the
master output, but cannot affect the slave output.
 When the pulse returns to 0, the master is disabled and is isolated from the S and R
inputs. At the same time, the slave is enabled, and the current value of master output is
transferred to the output of the flip-flop (slave output).
 It solves up the problem occur in JK Flip Flop and solves up race around condition which
occurs in other flip flops.
Master-Slave J-K Flip-Flop – Operation of the Circuit…
Master-Slave J-K Flip-Flop – Timing Diagram
Note: Here NC means no change.
THANKYOU
FOR
WATCHING !!!

More Related Content

What's hot

JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronics
Easy n Inspire L
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
Viraj Shah
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
Ramasubbu .P
 
D and T Flip Flop
D and T Flip FlopD and T Flip Flop
D and T Flip Flop
Dhrumil Panchal
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
mubashir farooq
 
D flip Flop
D flip FlopD flip Flop
D flip Flop
Talha Mudassar
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
Dharit Unadkat
 
Synchronous Counter
Synchronous Counter Synchronous Counter
Synchronous Counter
Akhilesh Kushwaha
 
Presentation on Flip Flop
Presentation  on Flip FlopPresentation  on Flip Flop
Presentation on Flip Flop
Nahian Ahmed
 
Synchronous counters
Synchronous countersSynchronous counters
Synchronous countersLee Diaz
 
digital Counter
digital Counterdigital Counter
digital Counter
shamshad alam
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
Nousheen Arshad
 
Counters
CountersCounters
Counters
Randaqra
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
DrSonali Vyas
 
Flip flop
Flip flopFlip flop
Flip flop
Moni Adhikary
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
Abhilash Nair
 
Flip Flop and Its Types
Flip Flop and Its TypesFlip Flop and Its Types
Flip Flop and Its Types
Jancypriya M
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
Satya P. Joshi
 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
Muhammad Anas Mustafvi
 
latches
 latches latches
latches
Unsa Shakir
 

What's hot (20)

JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronics
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
D and T Flip Flop
D and T Flip FlopD and T Flip Flop
D and T Flip Flop
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
D flip Flop
D flip FlopD flip Flop
D flip Flop
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
Synchronous Counter
Synchronous Counter Synchronous Counter
Synchronous Counter
 
Presentation on Flip Flop
Presentation  on Flip FlopPresentation  on Flip Flop
Presentation on Flip Flop
 
Synchronous counters
Synchronous countersSynchronous counters
Synchronous counters
 
digital Counter
digital Counterdigital Counter
digital Counter
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
Counters
CountersCounters
Counters
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Flip flop
Flip flopFlip flop
Flip flop
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
Flip Flop and Its Types
Flip Flop and Its TypesFlip Flop and Its Types
Flip Flop and Its Types
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
 
latches
 latches latches
latches
 

Similar to J - K & MASTERSLAVE FLIPFLOPS

Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
jyothir19
 
Flip flops
Flip flopsFlip flops
Flip flops
Shashi Lata
 
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 circuits
Sequential circuitsSequential circuits
Sequential circuits
DrSonali Vyas
 
Flip flop
Flip flopFlip flop
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdff576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
ssuserd7ef0c
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
Raghu Vamsi
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
Thapar Institute
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
amudhak10
 
Flipflop r012
Flipflop   r012Flipflop   r012
Flipflop r012
arunachalamr16
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
ganeshwalke3
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
Brenda Debra
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1
Sarah Sue Calbio
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
DSOOP
 
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
 
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docxLab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
DIPESH30
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
AreebaShoukat4
 

Similar to J - K & MASTERSLAVE FLIPFLOPS (20)

Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
 
Flip flops
Flip flopsFlip flops
Flip flops
 
Travis jf flip flops
Travis jf flip flopsTravis jf flip flops
Travis jf flip flops
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Flip flop
Flip flopFlip flop
Flip flop
 
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdff576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
f576923412c99d7fdcd05e60e352c89bde9c3953-1648269078926.pdf
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
Flipflop r012
Flipflop   r012Flipflop   r012
Flipflop r012
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
All flipflop
All flipflopAll flipflop
All flipflop
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
 
Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.Sequential circuit latchs and Flip-Flops.
Sequential circuit latchs and Flip-Flops.
 
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docxLab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 

More from Krishma Parekh

Longest Common Subsequence
Longest Common SubsequenceLongest Common Subsequence
Longest Common Subsequence
Krishma Parekh
 
Sunlight controlled lamp!!!
Sunlight controlled lamp!!!Sunlight controlled lamp!!!
Sunlight controlled lamp!!!
Krishma Parekh
 
Tourism
TourismTourism
The Loops
The LoopsThe Loops
The Loops
Krishma Parekh
 
Trigo. in daily life
Trigo. in daily lifeTrigo. in daily life
Trigo. in daily life
Krishma Parekh
 

More from Krishma Parekh (6)

Longest Common Subsequence
Longest Common SubsequenceLongest Common Subsequence
Longest Common Subsequence
 
Sunlight controlled lamp!!!
Sunlight controlled lamp!!!Sunlight controlled lamp!!!
Sunlight controlled lamp!!!
 
Tourism
TourismTourism
Tourism
 
The Loops
The LoopsThe Loops
The Loops
 
Trigo. in daily life
Trigo. in daily lifeTrigo. in daily life
Trigo. in daily life
 
An Untiring Odyssey
An Untiring OdysseyAn Untiring Odyssey
An Untiring Odyssey
 

Recently uploaded

Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 

Recently uploaded (20)

Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 

J - K & MASTERSLAVE FLIPFLOPS

  • 1. JK & MASTER SLAVE FLIP-FLOP  MADE BY- Krishma Parekh  Enrollment NO.-140210107039  Computer branch- 3rd SEMESTER
  • 2. INTRODUCTION  After getting problems SR-Flip flops , D-Flip flops , T- Flip flops…which gives invalid state in the execution of the circuit  To solve up that Problem we got a new Flip-Flop which is called J-K Flip Flop  This Flip Flop removes invalid state but instead of invalid state the output of JK Flip Flop will toggle between 1 &0….  Now we will look upon this construction and working of this circuit and the solution of Toggle Condition…
  • 3. What is a JK Flip-flop ?  A flip-flop is a circuit that has two stable states and can be used to store state information.  The flip-flop can be made to change state by signals applied to one or more control inputs and will have one or two outputs.
  • 4. JK Terminology/Structure Has 5 inputs named: J(set),K(reset), PR, CLR, and CLK Has 2 outputs: Q and Q’ Set: when it stores a binary 1 Cleared (reset): when it stores a binary 0 PR = Preset CLR = Clear CLK = Clock
  • 5. Outputs The Q output is the primary output. This means that the binary bit stored in the flip-flop, 1 or 0, is the same as Q. The Q’ output is the opposite binary bit value that is stored in Q. The PR and CLR inputs always override the J,K inputs.
  • 6. Inputs: J and K  The logic states applied to the J and K inputs cause the flip-flop to operate 4 different ways.  The way the logic state is applied to J and K is called Mode of Operation.  The mode of operation refers to the condition of the flip-flop as it prepares for the positive clock pulse.
  • 7. Four Modes Of Operation J K Q Q’ Mode 0 0 Q Q’ Memory 1 0 1 0 Sets 0 1 0 1 Resets 1 1 Q’ Q Toggle The 4 modes of operation are: hold, set, reset, toggle JK contains an internal Active Low SR latch.
  • 8. Active Low SR Latch S’ – “set” R’ – “reset” Q Q’ 0 0 Invalid Invalid 0 1 1 0 1 0 0 1 1 1 Q Q’ Point to remember: A ‘0’ at the set or the reset will either set or reset the value of Q.
  • 9. Truth Table for NAND A B X 0 0 1 0 1 1 1 0 1 1 1 0 A B C X 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 2 Inputs: 3 Inputs:
  • 10. Mode of Operation: Hold J K Q Q’ Orig. Q Orig. Q’ 0 0 0 1 0 1 Hold: no change in Q.
  • 11. Mode of Operation: Set J K Q Q’ Orig. Q Orig. Q’ 1 0 1 0 0 1 Set: Q = 1.
  • 12. Mode of Operation: Reset J K Q Q’ Orig. Q Orig. Q’ 0 1 0 1 1 0 Reset: Q = 0.
  • 13. Mode of Operation: Toggle J K Q Q’ Orig. Q Orig. Q’ 1 1 1 0 0 1 Toggle: Q = Q’.
  • 14. Mode of Operation: Toggle again J K Q Q’ Orig. Q Orig. Q’ 1 1 0 1 1 0 Toggle: Q = Q’.
  • 15. During a Time Period
  • 16. Characteristic Equation Q J K Q(t + 1) 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 Characteristic Equation: Q(t+1) = J.Q’+ K’.Q
  • 17. J K Q Q’ Mode 0 0 Q Q’ Hold 1 0 1 0 Sets 0 1 0 1 Resets 1 1 Q’ Q Toggle Q(t+1) = J.Q’+ K’.Q Q is the primary output. Characteristic Equation
  • 18. Master Slave D Flip-flop  A negative edge triggered flip-flop: On the negative edge of the clock, the master captures the D input and the slave outputs it. D C Y D C Q Q Master Slav e
  • 19. Master-Slave J-K Flip-Flop A master-slave flip-flop contains two flip-flops/latches: Master S-C latch (S-C Flip-Flop) - receives data while the input trigger clock is HIGH. Slave S-C latch (S-C Flip-Flop) - receives data from the master and output it when the clock goes LOW.
  • 20.  Two RS flip-flops are combined together using an inverter to construct a master-slave JK flip-flop.  When the clock input Cp is 0, the output of the inverter is 1. The slave latch is then enabled, and its output Q is equal to the master latch output. The master latch is disabled, because Cp is 0.  When a logic-1 clock pulse is applied, the values on S and R control the value stored in the master latch. The slave is disabled as long as the pulse remains at the 1 level, because its Cp input is equal to 0. Any changes in the external S and R inputs change the master output, but cannot affect the slave output.  When the pulse returns to 0, the master is disabled and is isolated from the S and R inputs. At the same time, the slave is enabled, and the current value of master output is transferred to the output of the flip-flop (slave output).  It solves up the problem occur in JK Flip Flop and solves up race around condition which occurs in other flip flops. Master-Slave J-K Flip-Flop – Operation of the Circuit…
  • 21. Master-Slave J-K Flip-Flop – Timing Diagram Note: Here NC means no change.

Editor's Notes

  1. Invalid because 0 0 gives matching outputs for both Q and Q’