mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-02 02:17:13 +02:00
prefix bare generate blocks with conditionals in codegen
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
module top;
|
||||
wire x = 1;
|
||||
generate
|
||||
begin : f
|
||||
if (1) begin : f
|
||||
wire x;
|
||||
begin : a
|
||||
if (1) begin : a
|
||||
wire x;
|
||||
initial begin
|
||||
$display("bar got %b", x);
|
||||
end
|
||||
end
|
||||
assign a.x = x;
|
||||
begin : b
|
||||
if (1) begin : b
|
||||
wire x;
|
||||
initial begin
|
||||
$display("bar got %b", x);
|
||||
|
||||
Reference in New Issue
Block a user