The D flip-flop is the most widely used storage element in digital design. Its rule fits in one line: at each rising clock edge, Q copies D. At all other times, Q holds.
Its characteristic equation is simply Q⁺ = D. The old Q has no say in what is loaded.
Think of a camera. At each rising edge it takes one photo of D, and Q shows that photo until the next edge. Whatever D does between photos is never seen.
Why it is everywhere:
- Put n of them on one clock and you have a register.
- Chain them and you have a shift register.
- Put logic in front of D and it can imitate any other flip-flop: drive D with the next-state expression you want. This is flip flop conversion.
- Because it is edge triggered, data moves exactly one stage per clock, never further.
The "D" stands for data (or delay): Q looks like D, delayed until the next edge.
To work reliably, D must be steady for the setup time before the edge and the hold time after it. Many D flip-flops also have preset and clear pins.