mirror of https://github.com/zachjs/sv2v.git
13 lines
242 B
Verilog
13 lines
242 B
Verilog
|
|
module top;
|
||
|
|
generate
|
||
|
|
if (1) begin : i
|
||
|
|
wire [3:0] x;
|
||
|
|
end
|
||
|
|
if (1) begin : blk
|
||
|
|
wire i;
|
||
|
|
assign i = 0;
|
||
|
|
end
|
||
|
|
endgenerate
|
||
|
|
initial $display("%b %b", i.x, blk.i);
|
||
|
|
endmodule
|