Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI suppose your incoming signal is asynchronous to your processing clock. As such it will have a different propagation delay to each register in the state machine and in the end each of the state-machine registers may see a different level, and possibly clock in an invalid transition ending up in an undefined state.
So you have to synchronise this external input with a two-stage register chain to avoid this (and metastability) issue.