In: Electrical Engineering
Design and implement a sequential circuit that counts from 0-3
in a repeating cycle with two inputs: step and reset. If the step
input is 1 the count progresses to the next value, if 0 you stay at
the current value. If the reset input is 1 the count returns to 0,
if 0 it has no effect. If both step and reset are 1, reset takes
precedence.
Use J-K flip flops in your design and follow the design process
outlined:
• Derive a state diagram for the circuit
• Create a state table
• Derive the flip-flop input equations and output equations
• Draw the logic diagram
• Implement the logic circuit on your breadboard for
presentation
PRESENT STATE |
INPUTs |
NEXT STATE |
JK EXCITATION INPUT |
||||||
Q1 |
Q0 |
STEP |
RESET |
Q1+ |
Q0+ |
J1 |
K1 |
J0 |
K0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X |
0 |
X |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
X |
0 |
X |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
X |
1 |
X |
0 |
0 |
1 |
1 |
0 |
0 |
0 |
X |
0 |
X |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
X |
X |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
X |
X |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
X |
X |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
X |
X |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
X |
0 |
0 |
X |
1 |
0 |
0 |
1 |
0 |
0 |
X |
1 |
0 |
X |
1 |
0 |
1 |
0 |
1 |
1 |
X |
0 |
1 |
X |
1 |
0 |
1 |
1 |
0 |
0 |
X |
1 |
0 |
X |
1 |
1 |
0 |
0 |
1 |
1 |
X |
0 |
X |
0 |
1 |
1 |
0 |
1 |
0 |
0 |
X |
1 |
X |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
X |
1 |
X |
1 |
1 |
1 |
1 |
1 |
0 |
0 |
X |
1 |
X |
1 |