Forum Discussion
Altera_Forum
Honored Contributor
13 years agobtw cout is the AND of all the counter bits so it can be used to disable counting as you describe. If you're not sure try simulating it. Alternatively add a bit of logic to detect your own min and max "terminal" states in each direction.