You are on page 1of 11

FACULTY OF ELECTRICAL ENGINEERING

DIGITAL SYSTEM 1 (ECE 414)

TITLE: REPORT OF MINI PROJECT

PREPARED BY:
NAME STUDENT GROUP
NO.
1. NURIN NABIHAH BINTI 2020984535 PEE2002A2
MOHAMAD SAZALI
2. PUTERI NUR IMAN BINTI 2020973663 PEE2002A2
ISMAIL

PREPARED FOR:
LECTURER MADAM SHABINAR BINTI ABDUL HAMID

DATE OF SUBMISSION:
9th AUGUST 2020
QUESTION:

Design a synchronous counter that counts through the following sequence using J-K flip flop.

7→9→8→0→5→4→10

Step of programming:

a) Build an Excitation Table


b) Create an expression of the flip-flop
c) Sketch the circuit based on expression
d) Draw the circuit on Logisim
e) Run the program.

Please submit a report and a Logisim .circ file. The report should item a) to d).
SOLUTION:

a) Excitation Table:

J-K FLIP FLOP GENERAL EXCITATION TABLE

Excitation table

PRESENT STATE, Q NEXT STATE, Q (t+1) A B C D


QA QB QC QD QA’ QB’ Q C’ QD’ J K J K J K J K
7 0 1 1 1 1 0 0 1 1 X X 1 X 1 X 0

9 1 0 0 1 1 0 0 0 X 0 0 X 0 X X 1

8 1 0 0 0 0 0 0 0 X 1 0 X 0 X 0 X

0 0 0 0 0 0 1 0 1 0 X 1 X 0 X 1 X

5 0 1 0 1 0 1 0 0 0 X X 0 0 X X 1

4 0 1 0 0 1 0 1 0 1 X X 1 1 X 0 X

10 1 0 1 0 0 1 1 1 X 1 1 X X 0 1 X
b) Flip flop expression:

K-map:

Q CQ D Q CQ D
00 01 11 10 QAQB 00 01 11 10
QAQB

00 0 X X X 00 X X X X

01 1 0 1 X 01 X X X X

X X
11 X X 11 X X X X

10 X X X X 10 1 0 X 1

JA = QC + QB̅̅̅̅
QD KA = ̅̅̅̅
QD

Q CQ D Q CQ D
00 01 11 10 QAQB 00 01 11 10
QAQB
X
00 1 X X 00 X X X X

01 X X X X 01 1 0 1 X

11 X X X X 11 X X X X

10 0 0 X 1 10 X X X X

JB = ̅̅̅̅
Q A + QC KB = QC + ̅̅̅̅
QD
Q CQ D Q CQ D
QAQB 00 01 11 10 00 01 11 10
QAQB

00 0 X X X 00 X X X X
1 X
01 0 X 01 X X 1 X

11 X X X X 11 X X X X

10 0 0 X X 10 X X X 0

JC = ̅̅̅̅
Q D QB KC = ̅̅̅̅
QA

Q CQ D Q CQ D
00 01 11 10 QAQB 00 01 11 10
QAQB
X X
00 1 X 00 X X X X

01 0 X X X 01 X 1 0 X

11 X X X X 11 X X X X

10 0 X X 1 10 X 1 X X

JD = ̅̅̅̅
Q A ̅̅̅̅
Q B + QC KD = ̅̅̅̅
QC

JA = QC + QB̅̅̅̅
QD KA = ̅̅̅̅
QD
JB = ̅̅̅̅
Q A + QC KB = QC + ̅̅̅̅
QD
JC = ̅̅̅̅
Q D QB KC = ̅̅̅̅
QA
JD = ̅̅̅̅
Q A ̅̅̅̅
Q B + QC KD = ̅̅̅̅
QC
c) Circuit sketching:

d) Logisim circuit construction:


e) Running simulation
710 = 01112

910 = 10012
810 = 10002

010 = 00002
510 = 01012

410 = 01002
1010 = 10102
DISCUSSION:

From the simulation result, we successfully obtain the given sequence counter
from the question given; (7→9→8→0→5→4→10→7). The circuit is designed
from the K-Map that we gained from the Excitation table and I do obtain the
expression for each of the J-K flip flop from the K-Map. There were 4 J-K flip
flop where based on 4 bit data which is 0000 because the highest value is
1010 → 10102 . Next, the Hex Digit display is used to display the sequence from
the designed circuit and it successfully able to show all of the sequence given.
The gate such as AND gate and OR gate are used to create the circuit based on
the expression that we obtained from the K-Map.

CONCLUSION:

To be conclude that the simulation in Logisim to display the sequence given is


successfully. In the result attached, the operation of a synchronous counter
through the given sequence by using J-K flip flop, is shown by using the Hex
Digit display in the simulation tool. The circuit is designed based on the
expression produced through the K-Map.

You might also like