Forum Discussion
Altera_Forum
Honored Contributor
9 years agodigital watch
hello every one i have design digital watch second , minute , hour after i execute the code the counter second and minute counter ok work . for 0 to 59 but hour counter form 0 to 99 ? i have quest...
Altera_Forum
Honored Contributor
9 years agosure you mean 0 to 23, as 0 to 24 is 25 hours, which is longer than a normal earth day.
Questions: why is everything a variable? you should only be using signals dont use buffer - use an internal reference signal if you need to read it (or use VHDL 2008 and you can read output ports)