What is Reset synchronizer?

A circuit that applies an asynchronous reset immediately but aligns its release to the clock through two flip-flops before distributing it.

Field: HDL & Verification

Japanese name: リセット同期化回路

Circuit structure

Two flip-flops are connected in series. They use the same clock as the logic that will receive the reset. The incoming reset is connected to the asynchronous reset pins of both flip-flops. The data input of the first stage is tied to the level that means reset is inactive. For an active-low reset, which is asserted at 0, it is tied to 1. The output of the second stage is the reset distributed to the whole circuit.

Assertion and release

When the incoming reset is asserted, both flip-flops are cleared without waiting for the clock, and the distributed reset becomes active at once. On release, the first stage captures 1 at the next rising edge and the second stage becomes 1 at the edge after that. With a 10 ns clock period, the time from release to that second edge is between 10 ns and 20 ns. The delay of the flip-flops themselves is ignored here. Even if the first stage becomes metastable, it is likely to settle during the one period before the second stage captures it. In that case the release may come one period later.

Points to watch

One such circuit is placed in each clock domain. A reset aligned to one clock is asynchronous as seen from another. The distributed reset is synchronous to the clock, so its release timing can be checked by static timing analysis. Recovery and removal checks, which define how far the release must be kept from a clock edge, are still needed. Note also that the reset is not released until the clock starts running. A glitch on the incoming reset still resets the whole circuit, so a filter is added where necessary.

Try it: questions about Reset synchronizer

Which is the correct structure of a reset synchronizer that generates, from an active-low external reset, an internal reset that is "asserted asynchronously and deasserted synchronously"?

  1. AConnect the external reset to the asynchronous reset pins of two flip-flops, tie the first stage's D input to 1, and use the second stage's output as the internal reset
  2. BSynchronize the external reset by feeding it into the D inputs of two flip-flops, and use only that output as the internal reset
  3. CUse the AND of the external reset and the clock directly as the internal reset
Show answer and explanation

Answer: A. Connect the external reset to the asynchronous reset pins of two flip-flops, tie the first stage's D input to 1, and use the second stage's output as the internal reset

When the external reset goes to 0, the two flip-flops are immediately cleared to 0 through their asynchronous reset pins without waiting for the clock, and the internal reset is asserted. After the external reset returns to 1, the 1 on the first stage's D input shifts one stage per clock, and on the second clock the second stage's output becomes 1, releasing reset. The release is aligned to the clock, and even if the first stage goes metastable, one period is secured for it to resolve before it reaches the second stage. Synchronizing only through the D input does not apply reset while the clock is stopped.

FAQ

How does it differ from an ordinary two-stage synchronizer?

In where the reset enters. An ordinary synchronizer takes the signal at the data input, so assertion also waits for the clock. A reset synchronizer takes it at the asynchronous reset pins, so assertion works even without a clock.

Is assertion of the reset also delayed by two clocks?

No. Assertion acts immediately through the asynchronous reset pins. It is the release that waits for the clock.

Questions that mention Reset synchronizer (1)

Reset synchronizer appears in 2 practice questions across 2 topics, including Timing analysis and CDC, HDL & Verification.

  1. In circuits using an active-low asynchronous reset (rst_n), why is reset release (the 0-to-1 transition) synchronized to the clock through two flip-flops before distribution?

Books on HDL & Verification Ad

As an Amazon Associate I earn from qualifying purchases.

Comparisons that include this term

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary