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
+1 -1
View File
@@ -11,7 +11,7 @@ module top;
assign c = x ? d : e;
generate
begin : A
if (1) begin : A
wire [1:0] c [0:2];
wire [5:0] d;
end