Creating low freq. clock on Altera FPGA

Feb 11, 2006 2 Replies

Hello all, I have to create a low speed clock (8KHz) out of a high speed one (50MHz) on an Altera FPGA (Cyclone II). It has to be a real clock, not a clock enable. PLL is of course out of question because this frequency is out of its range. Trying to generate it with a simple couter generates many warning, and in some cases Quartus reports that the design does not meet time constraints. I tried to designate the generated signal as a clock, but it doesn't improve the situation. Is there another, "correct" way for doing this? Maybe I should insert some kind of buffer after the counter? I would appreciate your advice.



Thanks, Avishay Orpaz



As mentioned, just use a synchronous counter. I generate a 8kHz clock (for PCM framing) from a 20.48MHz clock using precisely that scheme and it works fine.

Does your output clock have a specific phase timing requirement to the original clock? That might be where your errors are coming from. If you are using a completely synchronous design, the 8kHz clock will be only a couple of propagation delays behind the master clock.

Cheers

PeteS

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required