In: Electrical Engineering
Design a counter with an external control, x, to count the sequence of multiples of 3 (i.e., 0-3-6 and repeat) when the control is 0, and non-multiples of 3 (i.e., 1-2-4-5-7 and repeat) when the control is 1. These values will be displayed on a seven-segment display. When the control value changes, the first clock should drive the output to the first value in the appropriate count- e.g., if the circuit has been counting non multiples and the control switches to 0, the first clock should drive the output to 0 (or if you have been counting multiples and the control switches to 1, the first clock pulse should make the output 1).