Question: 4. (14 points total) You are asked to design a 3-bit counter that will count either 2 places upward or 3 places upward every clock

4. (14 points total) You are asked to design a 3-bit counter that will count either 2 places upward or 3 places upward every clock cycle according to a control input X whose function is explained in the following table. The counter has an output signal Z in which Z-1 only if when X-0 and the present state is 001,010, or 100, or when X1 and the present state is 011, 101, or 110: otherwise Z 0. Three bits Q2 (MS), Qi, and Qo (LS) are needed to represent the state. It is required that Qi needs to be implemented with a JK flip flop. Command state is n, then the next state is (n 2) mod 8) state is n, then the next state is (n+3) mod 8) Count from present state to the number 2 places upward (i.e. if present 1 Count from present state to the number 3 places upward (i.e. if present a. Complete the design truth table below. (12 points) Present Input Present State PresentFlip-Flop Output Next State Input Row Ki 0 0 0 0 0 10 0 12 0 0 13 14 Does the value of Z depend on X? Is this a Mealy or a Moore design? Explai your answer. (2 points) b. u t hoor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
