Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

50Mhz to 1hz Clock ic

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

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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).

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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