Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Yangon Technological University

Department of Mechatronic Engineering

Name: Kaung Lwin Phyo


Roll no: II.McE-1
Subject: Digital Electronic
Date: 12.1.2024
Assignment II
Constructing a 3-bits synchronous up-counter with three JK FF
Step 1 – Excitable table for JK FF
Input Output

J K

0 0 Qn (h olding)

0 1 0 (Reset)
1 0 1 (Set)
1 1 Qn (Toggle)

Step 2 – Output transition table


Input Qn Qn +1

J K

0 x 0 0
1 x 0 1
x 1 1 0
x 0 1 1
Step 3 – Number of states
No of state = 2^3 = 8
1. 000
2. 001
3. 010
4. 011
5. 100
6. 101
7. 110
8. 111

Step 4 – Construction state table with corresponding excitable table


Present state Next state J2 K2 J1 K1 J0 K0
Q2 Q1 Q0 Q2 Q1 Q0
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 1 0 1 x 0 0 x 1 x

1 0 1 1 1 0 x 0 1 x x 1

1 1 0 1 1 1 x 0 x 0 1 x

1 1 1 0 0 0 x 1 x 1 x 1
Step 5 – Building Karnaugh-map for each JK FF

For J2;

00 01 11 10
Q1 Q0
Q2
0 1 0 0 0 J2 =Q 1 Q 0

1 x x x x

For J1;

00 01 11 10
Q1 Q0
Q2
0 1 0 x x J1 = Q 0

1 1 0 x x
For J0;

00 01 11 10
Q1 Q0
Q2
0 1 x x 1 J0 = 1

1 1 x x 1

For K2;

00 01 11 10
Q1 Q0
Q2
0 x x x X K2 =Q 1 Q 0

1 1 0 0 0
For K1;

00 01 11 10
Q1 Q0
Q2
0 x x 0 1 K1 = Q 0

1 x x 0 1

For K0;

00 01 11 10
Q1 Q0
Q2
0 x 1 1 x K0 = 1

1 x 1 1 x

You might also like