Forum Discussion
Altera_Forum
Honored Contributor
15 years agoYou have to synchronise asynchronous external inputs with a 2-stage register chain before letting it interact with the state machine.
You may want to look up 'metastability' to learn what can/will happen otherwise.