How do you plan to solve it?
module dff_sync_reset ( input CLK, input RST, input D, output reg Q ); // Write your code here always @ (posedge CLK or posedge RST) begin Q <= RST ? 1'b0 : D ; end endmodule