1
0
mirror of synced 2026-05-27 15:18:23 +00:00
Files
2014-02-02 22:26:26 +01:00

9 lines
151 B
Verilog

module test(input D, C, R, RV,
output reg Q);
always @(posedge C, posedge R)
if (R)
Q <= RV;
else
Q <= D;
endmodule