In: Electrical Engineering
2) Counters
a) Design a two-bit counter of value AB which cycles through the
following repeating pattern, using each of the following ?ip-?ops.
Clearly show your design with all the necessary connections.
AB : 00 ?? 10 ?? 01 ?? 00 ?? 10···
i) two D-FFs ii) two T-FFs iii) two JK-FFs
b) Design a three-bit counter of value ABC which cycles through the
following repeating pattern, using each of the following ?ip-?ops.
Clearly show your design with all the necessary connections.
ABC : 001 ?? 100 ?? 011 ?? 010 ?? 001 ?? 100···
i) three D-FFs ii) three T-FFs iii) three JK-FFs
JK Flip Flop Truth Table |
JK Flip Flop Excitation Table |
|||||
J |
K |
Q |
Q |
Q+ |
J |
K |
0 |
0 |
Q |
0 |
0 |
0 |
X |
0 |
1 |
0 |
0 |
1 |
1 |
X |
1 |
0 |
1 |
1 |
0 |
X |
1 |
1 |
1 |
Q’ |
1 |
1 |
X |
0 |
T Flip Flop Truth Table |
T Flip Flop Excitation Table |
|||
T |
Q |
Q |
Q+ |
T |
0 |
Q |
0 |
0 |
0 |
1 |
Q’ |
0 |
1 |
1 |
1 |
0 |
1 |
||
1 |
1 |
0 |
D Flip Flop Truth Table |
D Flip Flop Excitation Table |
|||
D |
Q |
Q |
Q+ |
D |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
||
1 |
1 |
1 |
2.a
Present State |
Next State |
T Flip Flop |
D Flip Flop |
JK Flip Flop |
|||||||
A |
B |
A+ |
B+ |
TA |
TB |
DA |
DB |
JA |
KA |
JB |
KB |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
X |
0 |
X |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
X |
X |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
X |
1 |
1 |
X |
1 |
1 |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
2.b
Present State |
Next State |
T Flip Flop |
D Flip Flop |
JK Flip Flop |
|||||||||||||
A |
B |
C |
A+ |
B+ |
C+ |
TA |
TB |
TC |
DA |
DB |
DC |
JA |
KA |
JB |
KB |
JC |
KC |
0 |
0 |
0 |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
X |
0 |
X |
X |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
0 |
X |
X |
1 |
1 |
X |
0 |
1 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
X |
X |
0 |
X |
1 |
1 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
1 |
0 |
1 |
1 |
X |
1 |
1 |
X |
1 |
X |
1 |
0 |
1 |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
1 |
1 |
0 |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
1 |
1 |
1 |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |