mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-02 19:48:30 +02:00
prefix bare generate blocks with conditionals in codegen
This commit is contained in:
@@ -13,10 +13,10 @@ endmodule
|
||||
|
||||
module top;
|
||||
generate
|
||||
begin : x
|
||||
if (1) begin : x
|
||||
wire [31:0] data = 0;
|
||||
end
|
||||
begin : y
|
||||
if (1) begin : y
|
||||
wire [9:0] data = 0;
|
||||
end
|
||||
endgenerate
|
||||
|
||||
Reference in New Issue
Block a user