Forum Discussion
Select the PLL reference clock used for timing analysis
When a PLL has multiple reference clock inputs how can you define the one to use for timing analysis?
The tool is selecting the first reference clock (pll_refclk0) for timing analysis but this is the slower of two reference clocks. The clock inputs cannot be swapped in the RTL as the slower clock is running when the PLL and transceivers are configured.
Here is the user guide in case you cannot follow: https://www.intel.com/content/www/us/en/docs/programmable/683068/18-1/derive-pll-clocks-derive-pll-clocks.html
7 Replies
- sstrell
Super Contributor
Depending on your device, you should always just use derive_pll_clocks in your .sdc and the generated clocks created by that command. Newer devices support this without you adding it explicitly to the .sdc file.
- KennyT_altera
Super Contributor
You may also check your timing report, some of the device like Agilex 7, the derive_pll_clocks is auto inserted. Do let me know if you have further question?
- SteveMellor
New Contributor
I have been using derive_pll_clocks but it uses the slower of the two input clocks for timing analysis. The clock tree analysis shows this. Reporting the timing of any path clocked by the output of the PLL also shows that it is using the slower clock period. The device is an Arria 10.
- sstrell
Super Contributor
I'm not sure why the source clock used matters here, but you could manually add create_generated_clock commands to your .sdc to define the correct source clock for the clock in question if derive_pll_clocks is using the wrong source.
- KennyT_altera
Super Contributor
Here is the user guide in case you cannot follow: https://www.intel.com/content/www/us/en/docs/programmable/683068/18-1/derive-pll-clocks-derive-pll-clocks.html
- KennyT_altera
Super Contributor
Hi,
Not sure if you have further question on this? If no, we shall close this forum thread.
Thanks,
Best regards,
Kenny Tan
- KennyT_altera
Super Contributor
We (Intel) have “signed-off ” from the post as we receive confirmation that we have answer your question. You can “Bring It Back To Our Attention” by logging in here ‘https://supporttickets.intel.com’ and reply within the next 15 days for further support.