mirror of https://github.com/YosysHQ/yosys.git
15 lines
295 B
Verilog
15 lines
295 B
Verilog
|
`default_nettype none
|
||
|
module top;
|
||
|
generate
|
||
|
if (1) begin
|
||
|
wire x;
|
||
|
genvar i;
|
||
|
for (i = 0; i < 1; i = i + 1) begin
|
||
|
if (1) begin
|
||
|
assign x = 1;
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
endgenerate
|
||
|
endmodule
|