I am designing a digital clock and I am having trouble figuring out the hours section. I have the seconds and minutes working but I'm not sure where to go with the logic for the hours. I would like to create it in a 12 hr format.
I currently have the Clock signal from the seconds disconnected so I can test things on the hours side.
I know if I put a NAND gate on Qd and Qb it will make HR1 count modulo 10 but after it resets it only needs to count modulo 3 and then both HR1 and HR2 need to reset. I'm pretty lost on how to make this happen.
BCDH2 and BCDH1 are identical.
Any help would be appreciated.
I currently have the Clock signal from the seconds disconnected so I can test things on the hours side.
I know if I put a NAND gate on Qd and Qb it will make HR1 count modulo 10 but after it resets it only needs to count modulo 3 and then both HR1 and HR2 need to reset. I'm pretty lost on how to make this happen.
BCDH2 and BCDH1 are identical.
Any help would be appreciated.
Attachments
-
53.7 KB Views: 78
-
119.6 KB Views: 78