Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThe latch issue is brought up by assigning other signals than NextState in the asynchronous process, and assigning them only in some of the states. Besides generating a lot of warnings, you can be rather sure that constructs like "index<=index+1;" will never work based on latches.
A simple solution, although not usually suggested in the text books is to change the design to a single synchronous process state machine, simply merging both processes.