Residue 3 Moore Machine

Thread Starter

zulfi100

Joined Jun 7, 2012
656
Hi,
I am trying to create residue 3 automata using Moore. I can't understand why we go to state q1 when we have input 0 in q0 and similalry why we go to q2 when we have input zero in q1.

I have attached an image of FA.

Some body please guide me.

Zulfiresidue three.jpg
 

WBahn

Joined Mar 31, 2012
32,707
According to your diagram, you DON'T go to state q1 when you have an input of 0 while in q0. Your diagram shows that you stay in q0.
 

Thread Starter

zulfi100

Joined Jun 7, 2012
656
According to your diagram, you DON'T go to state q1 when you have an input of 0 while in q0. Your diagram shows that you stay in q0.
Hi,
Why should I goto state q1? This is not clear to me. I am going to q1 when I have a input of '1'. Please guide me.

Zulfi.
 

Thread Starter

zulfi100

Joined Jun 7, 2012
656
Hi,
I think you have to check the number. 0 div 3 = 0 so state q0, 1 div 3 = 1 so state q1, 2 div 3 = 2 so state q2 and so on.

Zulfi.
 
Top