Forum Discussion
Altera_Forum
Honored Contributor
8 years agoYou didnt post the whole code, so I have to assume you're using a 2 process state machine style?
increment appears to not be set in all states, so a latch will be created. Latches can have timing problems in hardware - so it is recommended that you avoid them.