Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help needed to draw a State Diagram for scale of 10 Gray code counter

  1. May 17, 2007 #1

    How do u arrive at the state diagram for a scale of 10 gray code counter?

    I know how to draw all the used states, but the problem comes when the unused states are considered.

    The unused states namely are:1100

    The gray code adapts a 2-4-2-1 code.

    If anyone knows how to draw this i would appreciate ur help.

  2. jcsd
  3. May 17, 2007 #2


    User Avatar

    Staff: Mentor

    Normally you will just have your unused states vector into your initial state. That way, even if the counter gets into a bad state somehow, it does not hang there. It just goes back and starts over. Making sure that unused states vector to some initial state is VERY important in state machine design. Always account for ALL of your states, and make sure that none of them is a dead end.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook