Skip to content
BetterDL

Asynchronous clear

Also called: async clear, asynchronous reset, async reset, CLR, direct clear, direct reset, master reset, MR

A clear input that forces a flip-flop or register to 0 immediately, without waiting for a clock edge, and overrides all other inputs.

An asynchronous clear (CLR) forces Q to 0 right away. It does not wait for a clock edge and it overrides everything else: the clock, the data inputs and any load enable.

In a register, the clear pins of all the flip-flops are tied together, so one signal resets the whole word to 0 at once.

Why use it:

  • At power-up, flip-flops wake with random values. An asynchronous clear sets a known state even before the clock has started. See power on reset.
  • A clear can never be missed: even a short pulse between clock edges takes effect.

It is often active-low, written with a bubble or as . Then the pin sits at 1 in normal use and is pulled to 0 to clear.

Compare the synchronous clear, which is ordinary logic in front of D and only takes effect at the next clock edge. Both end with Q = 0; the difference is when.

The partner pin is the asynchronous preset, which forces Q to 1. Never assert both together.

One caution: because it ignores the clock, releasing an asynchronous clear right next to a clock edge can cause timing problems. Large designs often release reset through a synchronizer so every flip-flop leaves reset on the same edge.

Worked examples

Example

An active-low clear between edges

A register bit has D held at 1, so it loads 1 at every rising edge. Its clear, CLR', is active-low. Q starts at 0. CLR' is pulled low in slot 7, while CLK is low.

CLKCLR'Q
  1. 1.

    Slot 2: rising edge, CLR' = 1 (inactive). Q loads 1.

  2. 2.

    Slots 3–6: Q stays 1 (the edges in slots 4 and 6 load 1 again).

  3. 3.

    Slot 7: CLR' = 0. No edge, but Q drops to 0 immediately.

  4. 4.

    Slot 8: CLR' is back to 1 and a rising edge loads D = 1, so Q = 1.

  5. 5.

    A synchronous clear could not have acted in slot 7: there was no edge there.

Example

A pulse shorter than a clock period

A clear pulse lasts 3 ns and falls entirely between two rising edges that are 10 ns apart. Compare an asynchronous and a synchronous clear.

  1. 1.

    Asynchronous: Q goes to 0 during the pulse and stays 0 afterwards, until the next edge loads new data.

  2. 2.

    Synchronous: the clear is 0 again by the time the next edge arrives, so it is never sampled. The register is not cleared.

Common mistakes

  • Waiting for a clock edge. An asynchronous clear acts at once.

  • Holding an active-low clear at 0 in normal operation. That keeps the register stuck at 0; its idle level is 1.

  • Thinking a load or data input can override it. While asserted, clear wins over everything.

Practice Asynchronous clear

Interactive questions with instant feedback and a worked solution for every wrong answer.

Learn it step by step

Asynchronous clear is taught in Registers, Latches and Flip-Flops and Counters.