prefix bare generate blocks with conditionals in codegen

This commit is contained in:
Zachary Snow
2021-06-17 15:27:51 -04:00
parent 404385b00f
commit 108852060e
14 changed files with 35 additions and 31 deletions
+2 -2
View File
@@ -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