Forum Discussion
Altera_Forum
Honored Contributor
8 years agoThis seems way over complicated for what you want to do. Just do an up counter and when a certain bit goes high, you reset the counter. I don't understand how you would not "know" the counter size in bits and why doing a bit check is "ugly".