Finite State Machine Question

Discussion in 'Programmer's Corner' started by walrusa, May 10, 2016.

  1. walrusa

    Thread Starter New Member

    May 10, 2016
    2
    0
  2. WBahn

    Moderator

    Mar 31, 2012
    17,743
    4,792
    You have given us virtually nothing to go on. Just knowing that something didn't work gives no clue as to why it might not have worked. You need to provide details, preferably a screen shot of the schematic YOU used, information about this unidentified app you used to simulate it, and the waveforms for the relevant signals from the simulation. For all we can tell, the problem may be nothing more than you are not properly initializing your DFF states. Or it might be that you are not providing an unambiguous signal level to some asynchronous input. We aren't mind readers.
     
  3. walrusa

    Thread Starter New Member

    May 10, 2016
    2
    0
    Uploaded a screenshot. I am using Logic Simulator Pro (not sure how accurate this simulation is). The app doesn't include waveforms for the signals, but I rewired it multiple times in the App, so I don't think I made a mistake of wiring stuff wrong. Thanks for the response.
     
    Last edited: May 11, 2016
  4. Papabravo

    Expert

    Feb 24, 2006
    10,140
    1,790
    Maybe the Android app isn't what you think it is.
     
  5. WBahn

    Moderator

    Mar 31, 2012
    17,743
    4,792
    So.... what indicates HI and LO? Why make us (the people you are asking for free help) have to figure these kinds of things out?

    My best guess is that a blue wire is HI and a white wire is LO?

    If so, does it make sense that both the Q and Q' outputs of both flip flops are HI?

    What does CLR' and PRE' default to if left unconnected?

    It appears that you have possible shorts in three places (the outputs of the top DFF and the inputs of the two bottom AND gates). The colors of the wires imply that they aren't actually shorted, but it's then hard to tell which wire is actually connected to which pin.
     
Loading...