I put a couple extra signals in the state-machine process in order to use chip scope to check which state I am in. After a reset is pulled low, the state is supposed to change, and my test signals are supposed to go from “10” to “01”... however on chip scope, I see the change from “10” to “11” and stays that way. This problem occurs about 1 in 10 trials.
and also make sure external signals are longer then just one clock period, they needs to be actually triggered, and when machine change state they get reset