In: Electrical Engineering
Design an up/down counter with four states (0, 1, 2, 3) using clocked JK flip flops. A control signal x is used as follows: When x = 0 the machine counts forward (up), when x = 1, backward (down). Simulate using MultiSim and attach a simulation printout.
Please address the following:
EXCITATION TABLE OF JK FLIP FLOP
Q |
Q+ |
J |
K |
0 |
0 |
0 |
X |
0 |
1 |
1 |
X |
1 |
0 |
X |
1 |
1 |
1 |
X |
0 |
STATE TABLE
PRESENT STATE |
INPUT |
NEXT STATE |
JK FLIP FLOP INPUTs |
|||||
Q1 |
Q0 |
X |
Q1+ |
Q0+ |
J1 |
K1 |
J0 |
K0 |
0 |
0 |
0 |
0 |
1 |
0 |
X |
1 |
X |
0 |
0 |
1 |
1 |
1 |
1 |
X |
1 |
X |
0 |
1 |
0 |
1 |
0 |
1 |
X |
X |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
X |
X |
1 |
1 |
0 |
0 |
1 |
1 |
X |
0 |
1 |
X |
1 |
0 |
1 |
0 |
1 |
X |
1 |
1 |
X |
1 |
1 |
0 |
0 |
0 |
X |
1 |
X |
1 |
1 |
1 |
1 |
1 |
0 |
X |
0 |
X |
1 |