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.
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: