Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Problem with State Machine Editor

Hello,

I have created a state machine using the SM Editor provided in the Quartus II software. My initial idea was to simply set two input values at static levels so that I could simply pass through a given sequence of states, stopping on an idle level at the end. When testing this using a very slow clock I noticed my outputs were not changing at all, though having programmed a specific set of values for each state. Note: The condition to change states is the same for all states. Would this cause the SM to simply jump all states until the idle condition is reached? Thanks.

Andre

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If activation of the two inputs alternatively advances the SM by one step at a time, no uncontrolled transitions should occur. However, synchronisation of inputs to the SM clock domain is generally necessary. Without synchronisation, occasional, but very rare errors are expectable. Most likely not in a best, but when operating a real design.