Altera_Forum
Honored Contributor
16 years agoAligning a derived PLL clock with an external clock
Hello,
previously i asked (http://www.alteraforum.com/forum/showthread.php?t=5439) about using a PLL to synchronize two clocks and received some excellent advice. My original question: --- Quote Start --- I have a 120 MHz external clock entering the FPGA (Stratix II). Part of the interface in the FPGA must work at the 120 MHz, but most of it (including a Nios CPU) works at 60 MHz. The 60 MHz clock is generated by dividing the main 120 MHz clock using a PLL. Can I use the zero-delay feature of the PLL to make sure that the rising edges of the two clocks are aligned, so that I can safely move signals between the two domains without synchronizing in a 2-stage DFF? (assuming the speed difference is not a problem). --- Quote End --- What I want to know now is how I can phase-align the derived 60MHz clock to the incoming 120MHz clock? The reason I need this is that I have a synchronous external interface that works at 120MHz and comes with a clock. I want my whole design to work at 60, to save power. But I don't want two separate clock domains - so if I could just phase-align my internal 60MHz clock to the external 120MHz clock, I can have a single domain. I suppose this is possible with an enhanced PLL and its zero-delay feature. Is this a common practice?