PLL lock usage into Altera Stratix devices

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

Reply to
g. giachella
Loading thread data ...

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

Reply to
Ben Twijnstra

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

Reply to
Martin Schoeberl

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

Reply to
Martin Schoeberl

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.