← ProblemsCircuits / Sequential Logic / Latches and Flip-Flops
Sync-reset D flip-flop
36%flip-flopsproceduresImplement a single D flip-flop with an active-high synchronous reset r:
- At every rising edge of
clk: ifris 1,qbecomes 0; otherwiseqcapturesd. - Between clock edges,
rhas no effect — it is sampled only at the edge.