SlideShare a Scribd company logo
Mod 5 Synchronous Counter using J K flip-flop
Dr. Manjunatha. P
manjup.jnnce@gmail.com
Professor
Dept. of ECE
J.N.N. College of Engineering, Shimoga
March 13, 2022
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
The following steps are used in designing a synchronous counter:
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
The following steps are used in designing a synchronous counter:
1 Step 1: No of Flip-Flops required
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
The following steps are used in designing a synchronous counter:
1 Step 1: No of Flip-Flops required
2 Step 2: Draw the State diagram
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
The following steps are used in designing a synchronous counter:
1 Step 1: No of Flip-Flops required
2 Step 2: Draw the State diagram
3 Step 3: Excitation table based on the type of Flip-Flop
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
The following steps are used in designing a synchronous counter:
1 Step 1: No of Flip-Flops required
2 Step 2: Draw the State diagram
3 Step 3: Excitation table based on the type of Flip-Flop
4 Step 4: State Excitation table
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
The following steps are used in designing a synchronous counter:
1 Step 1: No of Flip-Flops required
2 Step 2: Draw the State diagram
3 Step 3: Excitation table based on the type of Flip-Flop
4 Step 4: State Excitation table
5 Step 5: Obtaining Flip-Flop inputs using K map
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
The following steps are used in designing a synchronous counter:
1 Step 1: No of Flip-Flops required
2 Step 2: Draw the State diagram
3 Step 3: Excitation table based on the type of Flip-Flop
4 Step 4: State Excitation table
5 Step 5: Obtaining Flip-Flop inputs using K map
6 Step 6: Draw the circuit diagram based on K map equations
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Design a synchronous Mod 5 counter using J K flip-flop
The following steps are used in designing a synchronous counter:
1 Step 1: No of Flip-Flops required
2 Step 2: Draw the State diagram
3 Step 3: Excitation table based on the type of Flip-Flop
4 Step 4: State Excitation table
5 Step 5: Obtaining Flip-Flop inputs using K map
6 Step 6: Draw the circuit diagram based on K map equations
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 1: No of Flip-Flops required
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 1: No of Flip-Flops required
Binary modulo 5 counter can count from 0 to 4.
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 1: No of Flip-Flops required
Binary modulo 5 counter can count from 0 to 4.
The number of flip flops ’n’ required for a modulo 5 counter is:
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 1: No of Flip-Flops required
Binary modulo 5 counter can count from 0 to 4.
The number of flip flops ’n’ required for a modulo 5 counter is:
2n−1
<= N
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 1: No of Flip-Flops required
Binary modulo 5 counter can count from 0 to 4.
The number of flip flops ’n’ required for a modulo 5 counter is:
2n−1
<= N
23−1
<= 5
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 1: No of Flip-Flops required
Binary modulo 5 counter can count from 0 to 4.
The number of flip flops ’n’ required for a modulo 5 counter is:
2n−1
<= N
23−1
<= 5
For N=5, the number of flip flops required is 3
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 1: No of Flip-Flops required
Binary modulo 5 counter can count from 0 to 4.
The number of flip flops ’n’ required for a modulo 5 counter is:
2n−1
<= N
23−1
<= 5
For N=5, the number of flip flops required is 3
Step 2: State diagram
001
100
011 010
000
0
4
3
2
1
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 3: J K excitation table
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 4 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 3: J K excitation table
Table 1: J K excitation table
Qn Qn+1 J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
001
100
011 010
000
0
4
3
2
1
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 4 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 3: J K excitation table
Table 1: J K excitation table
Qn Qn+1 J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
001
100
011 010
000
0
4
3
2
1
Step 4: State excitation table
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 4 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 3: J K excitation table
Table 1: J K excitation table
Qn Qn+1 J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
001
100
011 010
000
0
4
3
2
1
Step 4: State excitation table
Present State Next State Flip flop Inputs
Q3 Q2 Q1 Q3 Q2 Q1 J2 K2 J1 K1 J0 K0
0 0 0 0 0 1 0 X 0 X 1 X
0 0 1 0 1 0 0 X 1 X X 1
0 1 0 0 1 1 0 X X 0 1 X
0 1 1 1 0 0 1 X X 1 X 1
1 0 0 0 0 0 X 1 0 X 0 X
1 0 1 - - - - - - - - -
1 1 0 - - - - - - - - -
1 1 1 - - - - - - - - -
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 4 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 5: Obtaining Flip-Flop inputs using K map
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 5 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 5: Obtaining Flip-Flop inputs using K map
Present State Next State Flip flop Inputs
Q3 Q2 Q1 Q3 Q2 Q1 J2 K2 J1 K1 J0 K0
0 0 0 0 0 1 0 X 0 X 1 X
0 0 1 0 1 0 0 X 1 X X 1
0 1 0 0 1 1 0 X X 0 1 X
0 1 1 1 0 0 1 X X 1 X 1
1 0 0 0 0 0 X 1 0 X 0 X
1 0 1 - - - - - - - - -
1 1 0 - - - - - - - - -
1 1 1 - - - - - - - - -
0
7 6
5
4
3 2
1
0
1
00 01 11 10
Q2
Q1
Q0
0
2 1 0
J =Q Q
0
0 1
X
X
X
X
J2
0
7 6
5
4
3 2
1
0
1
00 01 11 10
Q2
Q1
Q0
2
K =1
X
X
X
X
X
1
K2
X
X
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 5 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 5: Obtaining Flip-Flop inputs using K map
Present State Next State Flip flop Inputs
Q3 Q2 Q1 Q3 Q2 Q1 J2 K2 J1 K1 J0 K0
0 0 0 0 0 1 0 X 0 X 1 X
0 0 1 0 1 0 0 X 1 X X 1
0 1 0 0 1 1 0 X X 0 1 X
0 1 1 1 0 0 1 X X 1 X 1
1 0 0 0 0 0 X 1 0 X 0 X
1 0 1 - - - - - - - - -
1 1 0 - - - - - - - - -
1 1 1 - - - - - - - - -
0
7 6
5
4
3 2
1
0
1
00 01 11 10
Q2
Q1
Q0
0
1 0
J =Q
X
1 X
X
X
X
0
J1
0
7 6
5
4
3 2
1
0
1
00 01 11 10
Q2
Q1
Q0
X

1 0
K Q
0
X 1
X
X
X
X
K1
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 6 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 5: Obtaining Flip-Flop inputs using K map
Present State Next State Flip flop Inputs
Q3 Q2 Q1 Q3 Q2 Q1 J2 K2 J1 K1 J0 K0
0 0 0 0 0 1 0 X 0 X 1 X
0 0 1 0 1 0 0 X 1 X X 1
0 1 0 0 1 1 0 X X 0 1 X
0 1 1 1 0 0 1 X X 1 X 1
1 0 0 0 0 0 X 0 0 X 0 X
1 0 1 - - - - - - - - -
1 1 0 - - - - - - - - -
1 1 1 - - - - - - - - -
0
7 6
5
4
3 2
1
0
1
00 01 11 10
Q2
Q1
Q0
 2
0
J Q
1
X
X
X
X
0
J0
0
7 6
5
4
3 2
1
0
1
00 01 11 10
Q2
Q1
Q0
X
0
K =1
X
1 1
X
X
X
X
K0
X
1
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 7 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 6: Draw the circuit diagram based on K map equations
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 6: Draw the circuit diagram based on K map equations
J2 = Q1Q0 K2 = 1
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 6: Draw the circuit diagram based on K map equations
J2 = Q1Q0 K2 = 1
J1 = Q0 K1 = Q0
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 6: Draw the circuit diagram based on K map equations
J2 = Q1Q0 K2 = 1
J1 = Q0 K1 = Q0
J0 = Q2 K0 = 1
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop
Step 6: Draw the circuit diagram based on K map equations
J2 = Q1Q0 K2 = 1
J1 = Q0 K1 = Q0
J0 = Q2 K0 = 1
2
J
2
K
2
Q
2
Q
Ck FF
1
J
1
K
1
Q
1
Q
Ck FF
0
J
0
K
0
Q
0
Q
Ck FF
Clk
1
Vcc
2
Q 1
Q 0
Q
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
Thank You
Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 9 / 9

More Related Content

PDF
Chapter 5 counter
PPTX
digital Counter
PPTX
Synchronous counters
PPTX
Mod 10 synchronous counter updated
PPTX
Datapath Design of Computer Architecture
PPTX
Flip flops, counters &amp; registers
PPTX
Counters
PPT
Sequential circuits
Chapter 5 counter
digital Counter
Synchronous counters
Mod 10 synchronous counter updated
Datapath Design of Computer Architecture
Flip flops, counters &amp; registers
Counters
Sequential circuits

What's hot (20)

PPT
Counters
PPTX
Counters
PDF
Encoder & Decoder
PPTX
Sequential circuits
PPT
Combinational circuits
PDF
Registers and counters
PPT
Digital Logic circuit
PPT
encoder and decoder in digital electronics
PDF
JK flip flops
PDF
Design and implementation of 32 bit alu using verilog
PPTX
quine mc cluskey method
PPTX
sequential circuits
PPTX
Ditial to Analog Converter
PPTX
Parity Generator and Parity Checker
PDF
Sequential circuits in Digital Electronics
PPTX
Asynchronous Sequential Circuit-Unit 4 ppt
PDF
Clocked Sequential circuit analysis and design
PPTX
Combinational circuits
PPTX
Number system in Digital Electronics
PPTX
Bcd to 7 segment display
Counters
Counters
Encoder & Decoder
Sequential circuits
Combinational circuits
Registers and counters
Digital Logic circuit
encoder and decoder in digital electronics
JK flip flops
Design and implementation of 32 bit alu using verilog
quine mc cluskey method
sequential circuits
Ditial to Analog Converter
Parity Generator and Parity Checker
Sequential circuits in Digital Electronics
Asynchronous Sequential Circuit-Unit 4 ppt
Clocked Sequential circuit analysis and design
Combinational circuits
Number system in Digital Electronics
Bcd to 7 segment display
Ad

Similar to Mod-5-synchronous-counter-using-J-K flip-flop.pdf (20)

PDF
Digital Counter Design
PPTX
Up counters,down and registers ppt.pptx
PPTX
Synchronous down counter
PPTX
2105_5_Flip-Flopsssssssssssssssssssss.pptx
PPT
EET107_Chapter 3_SLD(part2.1)-edit1.ppt
PPT
Lesson_8_2--Asynchronous_Counters1.ppt
PPT
Lesson_8_2--Asynchronous_Counters1.ppt
PPT
Synchronous COUNTER presentation eng.ppt
PPT
8.flip flops and registers
PDF
Sequential Circuit
PPTX
Counters-Counter is a sequential circuit.pptx
PDF
CSA Application of Flip Flop
PPT
Synchronous decade counters in digital logic design
PDF
Ijecet 06 07_005
PDF
EC8392 Digital Electronics- Unit-3 -S.Sesha Vidhya-ASP-ECE-RMKCET
PPT
Counters r012
PPT
Sequntial logic design
PPTX
COUNTERS(Synchronous & Asynchronous)
PPTX
COUNTERS(Synchronous & Asynchronous)
PPTX
COUNTERS [Synchronous and Asynchronous]
Digital Counter Design
Up counters,down and registers ppt.pptx
Synchronous down counter
2105_5_Flip-Flopsssssssssssssssssssss.pptx
EET107_Chapter 3_SLD(part2.1)-edit1.ppt
Lesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.ppt
Synchronous COUNTER presentation eng.ppt
8.flip flops and registers
Sequential Circuit
Counters-Counter is a sequential circuit.pptx
CSA Application of Flip Flop
Synchronous decade counters in digital logic design
Ijecet 06 07_005
EC8392 Digital Electronics- Unit-3 -S.Sesha Vidhya-ASP-ECE-RMKCET
Counters r012
Sequntial logic design
COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)
COUNTERS [Synchronous and Asynchronous]
Ad

More from Dr. Manjunatha. P (11)

PDF
Research paper publications: Meaning of Q1 Q2 Q3 Q4 Journal
PDF
Blood Pressure and it's information, Hypertension, Stroke
PDF
Aptitude-Problems on Trains.pdf
PDF
Aptitude-on-speed-distance-time.pdf
PDF
Innovative-Teaching-Methods.pdf
PDF
Advances in Computer Hardware.pdf
PDF
List of ICT Tools for Teaching and Learning.pdf
PDF
NAAC Distribution of Weightages.pdf
PDF
Logic gates
PDF
Matlab for beginners, Introduction, signal processing
PDF
Logic gates
Research paper publications: Meaning of Q1 Q2 Q3 Q4 Journal
Blood Pressure and it's information, Hypertension, Stroke
Aptitude-Problems on Trains.pdf
Aptitude-on-speed-distance-time.pdf
Innovative-Teaching-Methods.pdf
Advances in Computer Hardware.pdf
List of ICT Tools for Teaching and Learning.pdf
NAAC Distribution of Weightages.pdf
Logic gates
Matlab for beginners, Introduction, signal processing
Logic gates

Recently uploaded (20)

PDF
1_English_Language_Set_2.pdf probationary
PDF
Classroom Observation Tools for Teachers
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Cell Types and Its function , kingdom of life
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
1_English_Language_Set_2.pdf probationary
Classroom Observation Tools for Teachers
Chinmaya Tiranga quiz Grand Finale.pdf
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Supply Chain Operations Speaking Notes -ICLT Program
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Cell Types and Its function , kingdom of life
Weekly quiz Compilation Jan -July 25.pdf
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...

Mod-5-synchronous-counter-using-J-K flip-flop.pdf

  • 1. Mod 5 Synchronous Counter using J K flip-flop Dr. Manjunatha. P manjup.jnnce@gmail.com Professor Dept. of ECE J.N.N. College of Engineering, Shimoga March 13, 2022
  • 2. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 3. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop The following steps are used in designing a synchronous counter: Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 4. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop The following steps are used in designing a synchronous counter: 1 Step 1: No of Flip-Flops required Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 5. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop The following steps are used in designing a synchronous counter: 1 Step 1: No of Flip-Flops required 2 Step 2: Draw the State diagram Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 6. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop The following steps are used in designing a synchronous counter: 1 Step 1: No of Flip-Flops required 2 Step 2: Draw the State diagram 3 Step 3: Excitation table based on the type of Flip-Flop Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 7. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop The following steps are used in designing a synchronous counter: 1 Step 1: No of Flip-Flops required 2 Step 2: Draw the State diagram 3 Step 3: Excitation table based on the type of Flip-Flop 4 Step 4: State Excitation table Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 8. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop The following steps are used in designing a synchronous counter: 1 Step 1: No of Flip-Flops required 2 Step 2: Draw the State diagram 3 Step 3: Excitation table based on the type of Flip-Flop 4 Step 4: State Excitation table 5 Step 5: Obtaining Flip-Flop inputs using K map Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 9. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop The following steps are used in designing a synchronous counter: 1 Step 1: No of Flip-Flops required 2 Step 2: Draw the State diagram 3 Step 3: Excitation table based on the type of Flip-Flop 4 Step 4: State Excitation table 5 Step 5: Obtaining Flip-Flop inputs using K map 6 Step 6: Draw the circuit diagram based on K map equations Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 10. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Design a synchronous Mod 5 counter using J K flip-flop The following steps are used in designing a synchronous counter: 1 Step 1: No of Flip-Flops required 2 Step 2: Draw the State diagram 3 Step 3: Excitation table based on the type of Flip-Flop 4 Step 4: State Excitation table 5 Step 5: Obtaining Flip-Flop inputs using K map 6 Step 6: Draw the circuit diagram based on K map equations Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 2 / 9
  • 11. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 1: No of Flip-Flops required Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
  • 12. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 1: No of Flip-Flops required Binary modulo 5 counter can count from 0 to 4. Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
  • 13. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 1: No of Flip-Flops required Binary modulo 5 counter can count from 0 to 4. The number of flip flops ’n’ required for a modulo 5 counter is: Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
  • 14. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 1: No of Flip-Flops required Binary modulo 5 counter can count from 0 to 4. The number of flip flops ’n’ required for a modulo 5 counter is: 2n−1 <= N Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
  • 15. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 1: No of Flip-Flops required Binary modulo 5 counter can count from 0 to 4. The number of flip flops ’n’ required for a modulo 5 counter is: 2n−1 <= N 23−1 <= 5 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
  • 16. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 1: No of Flip-Flops required Binary modulo 5 counter can count from 0 to 4. The number of flip flops ’n’ required for a modulo 5 counter is: 2n−1 <= N 23−1 <= 5 For N=5, the number of flip flops required is 3 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
  • 17. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 1: No of Flip-Flops required Binary modulo 5 counter can count from 0 to 4. The number of flip flops ’n’ required for a modulo 5 counter is: 2n−1 <= N 23−1 <= 5 For N=5, the number of flip flops required is 3 Step 2: State diagram 001 100 011 010 000 0 4 3 2 1 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 3 / 9
  • 18. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 3: J K excitation table Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 4 / 9
  • 19. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 3: J K excitation table Table 1: J K excitation table Qn Qn+1 J K 0 0 0 X 0 1 1 X 1 0 X 1 1 1 X 0 001 100 011 010 000 0 4 3 2 1 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 4 / 9
  • 20. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 3: J K excitation table Table 1: J K excitation table Qn Qn+1 J K 0 0 0 X 0 1 1 X 1 0 X 1 1 1 X 0 001 100 011 010 000 0 4 3 2 1 Step 4: State excitation table Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 4 / 9
  • 21. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 3: J K excitation table Table 1: J K excitation table Qn Qn+1 J K 0 0 0 X 0 1 1 X 1 0 X 1 1 1 X 0 001 100 011 010 000 0 4 3 2 1 Step 4: State excitation table Present State Next State Flip flop Inputs Q3 Q2 Q1 Q3 Q2 Q1 J2 K2 J1 K1 J0 K0 0 0 0 0 0 1 0 X 0 X 1 X 0 0 1 0 1 0 0 X 1 X X 1 0 1 0 0 1 1 0 X X 0 1 X 0 1 1 1 0 0 1 X X 1 X 1 1 0 0 0 0 0 X 1 0 X 0 X 1 0 1 - - - - - - - - - 1 1 0 - - - - - - - - - 1 1 1 - - - - - - - - - Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 4 / 9
  • 22. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 5: Obtaining Flip-Flop inputs using K map Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 5 / 9
  • 23. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 5: Obtaining Flip-Flop inputs using K map Present State Next State Flip flop Inputs Q3 Q2 Q1 Q3 Q2 Q1 J2 K2 J1 K1 J0 K0 0 0 0 0 0 1 0 X 0 X 1 X 0 0 1 0 1 0 0 X 1 X X 1 0 1 0 0 1 1 0 X X 0 1 X 0 1 1 1 0 0 1 X X 1 X 1 1 0 0 0 0 0 X 1 0 X 0 X 1 0 1 - - - - - - - - - 1 1 0 - - - - - - - - - 1 1 1 - - - - - - - - - 0 7 6 5 4 3 2 1 0 1 00 01 11 10 Q2 Q1 Q0 0 2 1 0 J =Q Q 0 0 1 X X X X J2 0 7 6 5 4 3 2 1 0 1 00 01 11 10 Q2 Q1 Q0 2 K =1 X X X X X 1 K2 X X Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 5 / 9
  • 24. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 5: Obtaining Flip-Flop inputs using K map Present State Next State Flip flop Inputs Q3 Q2 Q1 Q3 Q2 Q1 J2 K2 J1 K1 J0 K0 0 0 0 0 0 1 0 X 0 X 1 X 0 0 1 0 1 0 0 X 1 X X 1 0 1 0 0 1 1 0 X X 0 1 X 0 1 1 1 0 0 1 X X 1 X 1 1 0 0 0 0 0 X 1 0 X 0 X 1 0 1 - - - - - - - - - 1 1 0 - - - - - - - - - 1 1 1 - - - - - - - - - 0 7 6 5 4 3 2 1 0 1 00 01 11 10 Q2 Q1 Q0 0 1 0 J =Q X 1 X X X X 0 J1 0 7 6 5 4 3 2 1 0 1 00 01 11 10 Q2 Q1 Q0 X  1 0 K Q 0 X 1 X X X X K1 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 6 / 9
  • 25. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 5: Obtaining Flip-Flop inputs using K map Present State Next State Flip flop Inputs Q3 Q2 Q1 Q3 Q2 Q1 J2 K2 J1 K1 J0 K0 0 0 0 0 0 1 0 X 0 X 1 X 0 0 1 0 1 0 0 X 1 X X 1 0 1 0 0 1 1 0 X X 0 1 X 0 1 1 1 0 0 1 X X 1 X 1 1 0 0 0 0 0 X 0 0 X 0 X 1 0 1 - - - - - - - - - 1 1 0 - - - - - - - - - 1 1 1 - - - - - - - - - 0 7 6 5 4 3 2 1 0 1 00 01 11 10 Q2 Q1 Q0  2 0 J Q 1 X X X X 0 J0 0 7 6 5 4 3 2 1 0 1 00 01 11 10 Q2 Q1 Q0 X 0 K =1 X 1 1 X X X X K0 X 1 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 7 / 9
  • 26. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 6: Draw the circuit diagram based on K map equations Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
  • 27. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 6: Draw the circuit diagram based on K map equations J2 = Q1Q0 K2 = 1 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
  • 28. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 6: Draw the circuit diagram based on K map equations J2 = Q1Q0 K2 = 1 J1 = Q0 K1 = Q0 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
  • 29. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 6: Draw the circuit diagram based on K map equations J2 = Q1Q0 K2 = 1 J1 = Q0 K1 = Q0 J0 = Q2 K0 = 1 Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
  • 30. Synchronous Counter Mod 5 Synchronous Counter using J K flip-flop Step 6: Draw the circuit diagram based on K map equations J2 = Q1Q0 K2 = 1 J1 = Q0 K1 = Q0 J0 = Q2 K0 = 1 2 J 2 K 2 Q 2 Q Ck FF 1 J 1 K 1 Q 1 Q Ck FF 0 J 0 K 0 Q 0 Q Ck FF Clk 1 Vcc 2 Q 1 Q 0 Q Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 8 / 9
  • 31. Thank You Dr. Manjunatha. P (JNNCE) Mod 5 Synchronous Counter using J K flip-flop March 13, 2022 9 / 9