Question 6. Control [6 marks]
Part A. Algorithmic State Machines [6 marks]
Figure 1 shows a Moore Machine with four states, an input X, and an output Y.
00/1
0
01/0
1
0
10/0
11/0
Figure 1: State Diagram
i. Transform the Moore Machine into a Mealy Machine (Draw the state diagram).
ii. Draw the corresponding Algorithmic State Machine (ASM) of the Moore Machine.
iii. Implement a One Flip-Flop per State control unit based on the ASM you developed.