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

How to give sdc constraint between CPU and IP.

Altera_Forum
Honored Contributor II
1,304 Views

Hi All, 

 

I have designed one memory controller. I have used one PLL to generate clock frequency for my memory controller.When I compiled the system, I got almost 1000 paths between CPU and Memroy Controller which are violating set up or hold timings.I want to give false path between all the NIOS II signals to memory controller signals.I can't use set clock groups because PLL input clock and CPU clocks are the same. 

 

Thanks in advance, 

 

Regards, 

 

Krupesh.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
608 Views

I suggest you to give an exception constraint between two different time domains: you may give 

 

set_clock_groups -asynchronous -group {clk_A} -group {clk_B} 

 

---or--- 

 

set_false_path -from clk_A -to clk_B 

set_false_path -to clk_A -from clk_B 

 

where clk_A and clk_B have been declared with create_clock or cretate_generated_clock or derive_pll_clocks (depending on your design). 

You ought to check your design contains proper synchronization among time domains. 

 

 

Regards, 

Gabriele
0 Kudos
Altera_Forum
Honored Contributor II
607 Views

Thanks for your reply Gabriele. 

 

I think I can't give constraint in that manner because my PLL input clock and CPU clock both are same. And I am generating my memory controller core from PLL. So if I assign set clock group between CPU clock and PLL generated clock then ultimately it will be same as to give false path between PLL input clock to PLL output clock. Correct me if I am wrong. 

 

Regards, 

 

Krupesh.
0 Kudos
Altera_Forum
Honored Contributor II
607 Views

I must have missed a point: 

Which clock feeds the CPU logic? 

Which clock feeds the controller logic? 

 

Anyway, as generic suggestion: 

You may use another clock output from the PLL to feed the logic that is currently fed by pll inclk. Have you got any spare PLL output?
0 Kudos
Reply