Another sloppy mistake!
authorEddie Hung <eddie@fpgeh.com>
Fri, 22 Nov 2019 00:33:20 +0000 (16:33 -0800)
committerEddie Hung <eddie@fpgeh.com>
Fri, 22 Nov 2019 00:33:20 +0000 (16:33 -0800)
tests/various/abc9.v

index 85828bf30779e9f1ea99449c5bb02ea159ffe3d9..f0b3f68373fe3ce2bb1ec11b548407d94a5d3b55 100644 (file)
@@ -13,6 +13,6 @@ endmodule
 module abc9_test032(input clk, d, r, output reg q);
 initial q = 1'b0;
 always @(negedge clk or negedge r)
-    if (r) q <= 1'b0;
+    if (!r) q <= 1'b0;
     else q <= d;
 endmodule