PLL lock usage into Altera Stratix devices

Oct 07, 2004 3 Replies

Dear all, I'm currently using a Fast Pll clock output as main clock of my design inside an Altera Stratix device. I have some doubts about the usage of the Pll Lock signal (the output of the Fast Pll, which indicates the Pll locked the input clock). In particular, I'm currently assuming that, after power on, the Pll locks before the completion of the fpga configuration, so that the PLL clock output can feed the internal logic without any protection against VCO transients. If this is not correct, I should in some way gate the Pll clock output with the lock output.



Any advice about this point ?


Thanks in advance


The PLL will lock AFTER configuration, so after configuration (or a circuit break or so), lock will be deasserted. Also note that the lock signal is direcly derived from the phase comparator, so while the PLL is locking, you'll see the lock pin be asserted and deasserted a few times before it becomes a stable '1'.

The best solution is to have a counter that counts up to some value as long as lock is '1', and gets reset when it becomes '0'. Once it reaches the count value (say 31) it should stop counting and tell the logic that the clock is stable, which I think is easiest to achieve by ANDing this signal with the (synchronous) reset signal for the circuit.

Best regards,

Ben

circuit

is

it

long

the

signal

Does that mean we have to do this in every design that uses a PLL? Can the FPGA be driven (and therefore violation setup times) with a too fast clock during PLL startup ? I didn't care about the PLL lock till now, just inserted it in the clock path.

Martin

---------------------------------------------- JOP - a Java Processor core for FPGAs:

formatting link

I thought this is already common sense. And with an FPGA you need no external reset at all. To be on the safe side (as you suggested) take a small counter till you release the reset signal.

Martin

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required