Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20641 Discussions

50Mhz to 1hz Clock ic

Altera_Forum
Honored Contributor II
1,849 Views

Is there an ic that can convert a 50Mhz clock to 1hz?

0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
503 Views

Since you are asking in this forum I guess you are working with a FPGA or CPLD. Then you don't need any IC; simply instantiate a counter (at least 28bit wide) and reset it when it reaches 50'000'000. The reset signal will pulse at 1Hz frequency. 

Anyway, what's your purpose? Creating a 1Hz clock generally doesn't make sense: the common practice is using clocks in the MHz range and driving clock enable pins to get the proper switching rate.
0 Kudos
Altera_Forum
Honored Contributor II
503 Views

If you want a a clock with a 50% duty cycle, then count to 50M/2 -> 25000000 and I sometimes use a clock in the <10 Hz range for signals like heartbeats, or well clocks (those that count seconds), so although it is uncommon it has its advantages (mainly in simulation time).

0 Kudos
Altera_Forum
Honored Contributor II
503 Views

I am working with an FPGA, I'm designing a math game, I need a 60 second countdown timer.

0 Kudos
Altera_Forum
Honored Contributor II
503 Views

so write code that describes that behaviour. The point of FPGAs is to integrate all that stuff on one (reconfigurable) digital ic.

0 Kudos
Reply