Forum Discussion
8 Replies
- Altera_Forum
Honored Contributor
The DE0 has a 50MHz oscillator built in. If this is too high you could create a clock divider circuit in HDL or use a PLL from the Altera MegaCore package that comes with Quartus.
- Altera_Forum
Honored Contributor
Thank you,
I guess there is no simple solution like clicking a CLOCK DIVIDE BY 2 or something in Quartus. // mr_embedded - Altera_Forum
Honored Contributor
employ megawizard pll primitive
- Altera_Forum
Honored Contributor
what is that? A module in SOPC-builder?
- Altera_Forum
Honored Contributor
--- Quote Start --- employ megawizard pll primitive --- Quote End --- The Altera DE2 has on-board 27 MHz and 50 MHz physical oscillators. Using the ALTPLL (or just the PLL), I can divide to the minimum clock frequency of 9.375 MHz (although the claimed minimum is 10 MHz). My question is how can I get a 5 MHz frequency? I know I can use an external clock through the SMA connector, but is there an on-board solution to solve this problem? thanks. Jack - Altera_Forum
Honored Contributor
You can keep a 10MHz clock and use a clock enable signal that is only active on half the cycles.
- Altera_Forum
Honored Contributor
what should be driving the clock enable signal physically?
- Altera_Forum
Honored Contributor
your logic e.g.
clked process... enable <= not enable;