Assignment: Counter
You are to design a 4-bit BCD up/down counter. Depending upon the value of the up/down bit, the circuit follows one of the two count sequences.
0000-0001-0010-0011-0100-0101-0110-0111-1000-1001-000
Or
1001-1000-0111-0110-0101-0100-0011-0010-0001-0000-1001
There is no requirement for the starting value.
a. Design the circuit.
b. Obtain the layout.
c. Simulate the layout and plot each of the four outputs and the clock input for both cases; when the counter is counting up and when it is counting down.