yosys/tests/various/abc9.v

7 lines
155 B
Verilog
Raw Normal View History

module abc9_test032(input clk, d, r, output reg q);
2019-11-20 02:05:14 +01:00
initial q = 1'b0;
always @(negedge clk or negedge r)
2019-11-22 01:33:20 +01:00
if (!r) q <= 1'b0;
2019-11-20 02:05:14 +01:00
else q <= d;
endmodule