Digital Clock in Quartus

Thread Starter

samar86

Joined Mar 4, 2012
1
hello
i have to design a digital clock in quartus that displays minutes and hours and its a 12 hr clock that indicates AM/PM.

i know how to design the clock but i am having some trouble assigning clock to the seconds counter.Can some one tell me what the frequency should be and how to assign that in VHDL?
 

panic mode

Joined Oct 10, 2011
2,703
you only need one clock (1second period or frequency 1HZ).
pair of leds representing column are powered by it (0.5sec on, 0.5sec off: this is period of T=1sec, and frequency is 1/T=1Hz).


this clock should be driving Seconds counter (base 60).
output of which goes into Minute counter (base 60).
output of which goes into Hour counter (base 12).
output of which goes into one last flip-flop (1bit counter) to turn on AM/PM indicator.
 

kyleMAC

Joined Dec 5, 2019
8
you only need one clock (1second period or frequency 1HZ).
pair of leds representing column are powered by it (0.5sec on, 0.5sec off: this is period of T=1sec, and frequency is 1/T=1Hz).


this clock should be driving Seconds counter (base 60).
output of which goes into Minute counter (base 60).
output of which goes into Hour counter (base 12).
output of which goes into one last flip-flop (1bit counter) to turn on AM/PM indicator.
you only need one clock (1second period or frequency 1HZ).
pair of leds representing column are powered by it (0.5sec on, 0.5sec off: this is period of T=1sec, and frequency is 1/T=1Hz).


this clock should be driving Seconds counter (base 60).
output of which goes into Minute counter (base 60).
output of which goes into Hour counter (base 12).
output of which goes into one last flip-flop (1bit counter) to turn on AM/PM indicator.
Is there any way I could get in contact with you for help with this?
 
Top