mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-04 08:45:29 +02:00
simplify shadowing notes non-trivial localparams too
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
module top;
|
||||
localparam i = 1234;
|
||||
if (1) begin
|
||||
genvar j;
|
||||
for (j = 0; j < 10; j = j + 1) begin
|
||||
localparam i = j;
|
||||
initial $display(i > 5 ? i + 100 : i - 100);
|
||||
end
|
||||
end
|
||||
endmodule
|
||||
Reference in New Issue
Block a user