yosys/tests/simple/genblk_port_shadow.v

11 lines
159 B
Verilog

module genblock_port_shadow_top(x);
generate
if (1) begin : blk
wire x;
assign x = 0;
end
endgenerate
output wire x;
assign x = blk.x;
endmodule