Electronic – use 2 Flop synchronizer to migrate a pulse from one clock domain to another provided that clocks phase shifted but of same frequency

cdcfrequencyphase shiftpulseverilog

I want to migrate this signal from CLKA to CLKB. Frequencies of both the clocks are same but they are out of phase.

enter image description here

Can 2-Flop synchronizer be used for this? Please note that the signal can be low/high for one CLKA clock cycle (pulse).

Best Answer

The issue is how much they're out of phase. If the data can change during the FF's setup and hold times you have a metastability problem and need to use 2 FFs: the second will be clocked when any ringing on the first is over. Otherwise 1 will suffice. PW limits are based on the same consideration.