Home › Practice › RTL Design › Pulse synchronizer (toggle)

Pulse synchronizer (toggle)

MediumRTLCDCtwo clocks

A one-cycle pulse on pulse_in in the clk_a domain must become exactly one pulse on pulse_out in the clk_b domain. The two clocks are unrelated, so clk_b may be slower than the pulse. Use the toggle method.

What this grader can and cannot see. Simulators and Studio treat flops as ideal and cannot show metastability, so this grader checks the structure and the worst-case bit timing instead. A structure failure is shown as a message naming the net. A count failure is shown as a table of steps.

Solve in your browser →

No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.

More in this track

← Two-flop synchronizerAsynchronous FIFO (depth 4) →