Fix (async latch).

This commit is contained in:
nella 2026-06-24 13:01:52 +02:00
parent a800a5b5cb
commit 6675c45e29
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
design -reset
read_verilog <<EOT
module top(input g, rn, d, output reg q);
always @* if (~rn) q <= 0; else if (g) q <= d;
module top(input g, d, output reg q);
always @* if (g) q = d;
endmodule
EOT
hierarchy -top top