sv2v/test/core/reorder.v

19 lines
455 B
Verilog
Raw Normal View History

module top;
wire [5:0] arr;
assign arr[0] = 1;
initial $display("%b", arr);
2021-01-25 17:18:16 +01:00
parameter YES = 1;
generate
if (YES) begin : blk
wire [11:0] brr;
assign brr[0] = 1;
initial $display("%b", brr);
if (YES) begin : blk2
assign crr[0] = 1;
wire [19:0] crr;
initial $display("%b", crr);
end
end
endgenerate
endmodule