Forum Discussion

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

External clock in SOPC builder

Hi

I have an external clock (1Hz) which i would like to use as an input to my system. I would use this clk for the 7segment displays on the Altera DE2 to show the time. I would like to know how to add this signal in SOPC builder (do i just add a clock and set it to 0.000001MHz in SOPC?). Afterwards, i would like to use it for the 7segment displays.

Can anyone help please? Or maybe find a way to do an internal clock using the 50MHz clock to drive the 7segs?

I am using an DE2 dev board.

Thanks in advance

1 Reply

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

    Are you planning on using NIOS?

    If yes, you could simply add an "Interval Timer" to your system and set the period to 1 second. The 50 MHz clock will then be divided down to give you an interrupt once a second.