Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

clock constraint

ymiler
Employee
1,232 Views

Hi,

My design includes two PLLs that generate clocks with the same frequency (128MHz) but with different phases. Both clocks feed into the "clkctrl IP," which selects the output clock through software (two input clocks, one output clock, and a select bit).

My question is how should I define these clocks? The ones generated by the PLLs are defined as "clock generated clocks," but what about the output clock from the "clkctrl IP"? Should I define it as a "clock generated clock" or use "create clock"?

Additionally, I have two source clocks for the output clock. How should I handle the definition of the source clock in this constraint?

 

Labels (1)
0 Kudos
4 Replies
sstrell
Honored Contributor III
1,213 Views

Depending on your target device, for the clocks output from the PLLs, all you really need is to add derive_pll_clocks to your .sdc file.  

The clock control block is basically a clock mux in this case, so you need to create additional generated clocks as "points of reference" both targeted to the output of the clock control block and then use set_clock_groups to indicate that only one clock is active at a time.  Here's an example from a training class I took.  You don't need the two initial create_clock commands since those are the clocks coming from the PLL and are created with derive_pll_clocks.  The example shows what it would be if the clocks were coming directly from clock input pins instead of from a PLL.

Screenshot 2024-01-31 at 10.00.29 AM.png

RichardTanSY_Intel
1,191 Views

I believe this is the training course. I don't see any sessions scheduled at the moment, but you should keep an eye out for updates.

https://learning.intel.com/developer/learn/courses/989/timing-analysis-lecture


Regards,

Richard Tan


0 Kudos
RichardTanSY_Intel
1,148 Views

I believe your inquiries are answered.

With that, I will transition this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out.

Thank you and have a great day!


Best Regards,

Richard Tan


0 Kudos
RichardTanSY_Intel
1,148 Views

.

0 Kudos
Reply