Sequential Circuits: D Flip-Flop
The D (Data or Delay) flip-flop has a single input, D, and is often used for data storage.
The D flip-flop stores the value of D at the moment of the clock pulse and retains this value until the next clock pulse. This design prevents the undefined state present in SR flip-flops, as there is only one input.
D flip-flop: black-box representation. Figure 3.32.(a) on page 184 of Essentials of Computer Organization and Architecture by Linda Null, 2023.
D flip-flop: logic gate diagram. Figure 3.32.(c) on page 184 of Essentials of Computer Organization and Architecture by Linda Null, 2023.