DIGITAL ELECTRONICS

D Flip-Flop with Clear and Preset

A D flip-flop with clear and preset provides ordinary clocked storage plus direct state control. The D input is sampled at the clock edge, while the active-low clear and preset inputs can force Q low or high independently of the clock. These asynchronous controls are commonly used to establish a known state during reset, although they must be used according to the device timing rules. The diagram keeps the data, clock and control pins explicit so a reader can distinguish normal operation from initialization. It is useful for teaching, digital design notes and small control circuits.

UPDATED 2026-09-24
EXAMPLED Flip-Flop with Clear and Preset
Make this diagram your own.

Open it in the AI editor with a prompt pre-filled — keep what works, change what doesn't.

CASE ANALYSIS

Scenario

A register bit that needs asynchronous initialization.

Key decisions

  • Clear input: Clear forces the stored state low.
  • Preset input: Preset forces the stored state high.
  • Separate controls: Both asynchronous controls are drawn independently.

When to reuse this

Use this for logic that must initialize or override state without waiting for a clock.

FAQ

Frequently asked questions

What is asynchronous clear?01
It forces the output to a defined state without waiting for a clock edge.
Can preset and clear be asserted together?02
That condition is device-specific and is generally avoided unless the datasheet defines it.
Why are the control pins active low?03
Many logic families use active-low asynchronous controls, indicated by the bar in the signal name.
Open this example in the editor →

Tweak it with chat, export PNG/SVG, or fork it for your own use case.