# CREATE OWN LIBRARY

## Moore machine to Mealy machine conversion:

Moore machine to Mealy machine conversion:

Conversion from Moore to Mealy is very easy just write the state as per the attached output at Moore. So, if the Moore machine has n states and m output then the Mealy machine has n states. So, mealy has at most n states because states may be less than n states

Sometimes we will get redundant states (we can remove them).

Here we can remove either ${\mathbf{q}}_{\mathbf{2}}$ or  ${\mathbf{q}}_{\mathbf{3}}$ Let’s remove ${\mathbf{q}}_{\mathbf{3}}$ .

If we remove ${\mathbf{q}}_{\mathbf{3}}$ then in the table we replace ${\mathbf{q}}_{\mathbf{3}}$ by ${\mathbf{q}}_{\mathbf{2}}$