Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
914 Views

How to set SDC constraints for cross clock sample?

My device is Cyclone III EP3C16F256. In my design, I have two clock, clk2 is derived from clk1 in PLL with 180 degree phase shift. There is 1bit data in clk2 clock domain which need to be sampled in clk1 clock domain.

 

Since the clk2 is derived from clk1 with fixed phase difference, is it possible to sample the data correctly just with SDC constraints instead of traditional asynchronous methods(asynchronous fifo or two FFs)? If so, which SDC command should I use?

 

Thank you for help.

Tags (3)
0 Kudos
1 Reply
Highlighted
Retired Employee
8 Views

The clock domains are synchronous to each other, so you can use multicycle timing exceptions to choose the correct edges for setup and hold analysis.

 

While you're not creating an external source synchronous interface, it sounds like you're creating something similar internally. See the timing exceptions section of this OLT for ideas on the multicycle exceptions you'll need:

 

https://www.intel.com/content/www/us/en/programmable/support/training/course/ocss1000.html

0 Kudos