← ProblemsCircuits / Sequential Logic / Latches and Flip-Flops

D flip-flop

64%flip-flopsprocedures

A D flip-flop is the basic 1-bit memory element: it captures its input d at every rising edge of the clock and holds that value on its output q until the next rising edge.

Build a single D flip-flop. Between clock edges, q must not change no matter what d does.