State Diagram for The State Machine

Discussion in 'Homework Help' started by Aamirkhan, Nov 2, 2013.

  1. Aamirkhan

    Thread Starter New Member

    Nov 1, 2013
    1
    0
    hi,
    I would like to know how to draw state machine diagram according to my table. What five possible states: INIT,A0,A1,OKo,OK1 for the two input A and B.
    here is my table.

    Present StateS011110ZINITA0A0A1A10A0OK0OK0A1A10A1A0A0OK1OK10OK0OK0OK0OK1OK11OK1A0OK0OK1OK11NEXT STATE S*

    Thanks in Advance.
     
  2. WBahn

    Moderator

    Mar 31, 2012
    17,777
    4,805
  3. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    ...that is not a table...
     
  4. WBahn

    Moderator

    Mar 31, 2012
    17,777
    4,805
    At first I assumed that it was just all on one line and we could deal with that when the time came. But a casual inspection sure shows that it is basically indecipherable. I guess we can deal with that when the time comes. :D
     
  5. Danm1

    Member

    Jul 19, 2010
    55
    7
    if you are trying to make a state diagram, based on this information, I would say draw 5 circles, put the name of each state inside the circles. Now all that's left is to draw arrows from one circle to the next which relates the state transitions. Give that a try then see what you have, like WBahn said, give your best attempt then post it.
     
Loading...