mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-07 11:51:28 +02:00
preserve else block association, with timings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user