HDLbits
Browse Problems

Circuits/Sequential Logic

12-Hour Clock

hard
counterclocksequential

Reset the clock to 12:00:00. When tick is high at a rising edge, advance by one second. Roll seconds and minutes at 60 and hours from 12 to 1.