RGPV 2020
Construct Moore machine for the following Mealy machine.
Sol.
Transition table for above Mealy machine.
Present State 
Next State 

Input = 0 
Input = 1 

State 
Output 
State 
Output 

q0 
q0 
0 
q1 
1 
q1 
q2 
2 
q0 
0 
q2 
q1 
1 
q2 
2 
Present State 
Next State 
Output 

Input = 0 
Input = 1 

q0 
q0 
q1 
0 
q1 
q2 
q0 
1 
q2 
q1 
q2 
2 