1. (50 POINTS) A divide-by-N counter is a special type of a counter with one output and no inputs. The output Y is high for one clock cycle out of every N, i.e. the output divides the clock frequency by N. As an example, the waveform for a divide-by-3 counter and the corresponding FSM for this counter are shown below: 2 Now, consider a divide-by-4 counter to answer the following:
1.A.) (5 POINTS) Draw the waveform.
1.B.) (5 POINTS) Draw the FSM.
1.C.) (20 POINTS) Using binary encoding, show the state transition table, simplify next state logic and output logic using K-map, and sketch the circuit for next state logic and output logic.
1.D.) (20 POINTS) Using one-hot encoding, show the state transition table, simplify next state logic and output logic using K-map, and sketch the circuit for next state logic and output logic