Another sloppy mistake!

This commit is contained in:
Eddie Hung 2019-11-21 16:33:20 -08:00
parent fe36275234
commit 6841e3b1c2
1 changed files with 1 additions and 1 deletions

View 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