For pulse we use Pulse-Synchronizer and for Level Signal we use 2-flop synchronizer but what if the signal can be of Pulse or Level behaviour. Is there any way to synchronize that?


After @Paebbels's answer, there is modification in Circuit, it should be like that, signal transformation is in tx-clock domain instead of rx-clock domain.

enter image description here

and its simulation is like below,

enter image description here

But now issue is to transform number of cycle on tx-clock side to rx-clock side. Atleast level CDC will converge to level at rx-clock domain, we can remove the constraint of number of cycle transformation.

  • \$\begingroup\$ Can you show the basic circuit architecture of your two synchronizers? Sometimes the 2 or 3 flop synchronizer can pass a pulse if the pulse is wide compared to the clocking rate of the flops. Then you can apply edge detection techniques at the output of the synchronizer to create the pulse when needed. \$\endgroup\$ – Michael Karas Jun 28 '16 at 12:39
  • \$\begingroup\$ @MichaelKaras I want circuit works with irrespective of knowing clock rate, so your assumption of to generate pulse at output synchronizer is not fulfil criteria. \$\endgroup\$ – Prakash Darji Jun 29 '16 at 3:52

You can add an edge-detection to the pulse/strobe synchronizer.

How does a normal pulse/strobe synchronizer work?

  1. If it supports a busy signal, then the input is blocked until the circuit is ready
  2. The signal is transformed from impulse to a level change by a T-FF (D-FF + XOR)
  3. The level/flag signal is transferred to the other clock domain by 2 D-FF
  4. The impulse is restored by another XOR gate and a delay (D-FF)
  5. 2 more D-FF are transferring the signal back to the source clock domain, so a busy signal can be derived (XOR).

What can happen to this circuit, if pulses are forming a constant signal?

The circuit will start to toggle and generate many pulses on the output.


This toggling can be stopped by adding an edge-detection on the input (D-FF + NOT + AND) or if the sender complies to the busy signal.


simulate this circuit – Schematic created using CircuitLab

Source: PoC.misc.sync.Strobe

  • \$\begingroup\$ Thanks for your clear explanation, I will write Verilog code and see it works or not, also I will make sure it follow CDC rules, and let you know. If any problem is there. \$\endgroup\$ – Prakash Darji Jun 29 '16 at 3:54
  • \$\begingroup\$ You are targeting an ASIC? Make sure to use proper flip-flops for the 2-FF synchronizer, which are better suited for meta-stability. In our FPGA solution, we are using either vendor primitives + constraints (Xilinx ) or VHDL attributes (Altera). For example, you may need to disable shift register extraction, otherwise the synthesis might combined these 2 FF to a little shifter with poorer meta-stability properties. We are also using relative placement constraints, to restrict the path length between these 2 FF. P.S. See our other sync modules, for synchronizing more than 1 bit signals :). \$\endgroup\$ – Paebbels Jun 29 '16 at 7:45
  • \$\begingroup\$ Yes, I targeting for ASIC and FPGA both. But forth now concern is only method, and you have explained it very well. \$\endgroup\$ – Prakash Darji Jun 29 '16 at 10:44
  • \$\begingroup\$ Are you sure your "Signal Transformation" block will not affect by metastability? \$\endgroup\$ – Prakash Darji Jun 29 '16 at 11:41
  • \$\begingroup\$ because output of XOR will be combinational and depends on signal (You mentioned at that point "changed_clk1") which is async and may affect that FF. \$\endgroup\$ – Prakash Darji Jun 29 '16 at 11:52

Depends on what information about the signal is important. If you have something that can be either a relatively constant level as well as relatively short pulses that are closely spaced, then what you may need to do is use an asynchronous FIFO and store the value of the signal in the FIFO when it changes. Level and pulse synchronizers only work well with 'sparse' signals that don't change very often. However, if your pulses are at least several clock cycles long, a level synchronizer might be just fine.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.