Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20866 Discussions

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.

0 Kudos
1 Reply
Honored Contributor III

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:

0 Kudos