I'm trying to implement a shift register and therefore need values to be stored on the downwards edge of the clock signal (otherwise the whole register just sets to the input), so I am using a master-slave D-type flip-flop to store each bit. The design also requires a control line that resets the value stored in each flip-flop to 0 (low voltage) regardless of the clock value. How would I implement this by editing the below circuit?
simulate this circuit – Schematic created using CircuitLab