Forum Discussion
Altera_Forum
Honored Contributor
13 years agoQuirk with my clocks
I'm building a Binary Game for my final project in Digital Logic and Design and a small portion of this game I'm building uses a countdown timer to show how much time you have left in your round. ...
Altera_Forum
Honored Contributor
13 years agoIn that case all you need is to make sure your divided clocks are in phase. But to avoid the hassle I will run counter1sec on its clock starting from say 1000 at reset release. Then I will run counter10sec starting from say 100 after reset release on same clock but use the other 1/10 clock as clockenable to count down.
Thus at start after reset release it should align like this: 1000 999 998 997 996 995 994 993 992 991 990 ... 100 100 100 100 100 100 100 100 100 100 99 ... and don't forget to keep clock enable under reset till release.