preserve else block association, with timings

This commit is contained in:
Zachary Snow
2019-11-20 20:44:09 -05:00
parent 35a0587d2c
commit 92d827f3a5
2 changed files with 15 additions and 2 deletions
+12
View File
@@ -29,6 +29,18 @@ module top;
end
end
$display("3 (%b, %b, %b)", a, b, c);
if (a) begin
#1
if (b) begin
$display("FOO");
end
end else begin
if (c) begin
$display("BAR");
end
end
end
endtask