blob: 8e440f6cec80b34c9da0e3faa905149667406870 [file] [log] [blame] [edit]
module test(input D, C, R, RV,
output reg Q);
always @(posedge C, posedge R)
if (R)
Q <= RV;
else
Q <= D;
endmodule