mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 01:24:10 +00:00
18 lines
218 B
Systemverilog
18 lines
218 B
Systemverilog
module unnamed_block_decl(z);
|
|
output integer z;
|
|
initial begin
|
|
integer x;
|
|
x = 1;
|
|
begin
|
|
integer y;
|
|
y = x + 1;
|
|
begin
|
|
integer z;
|
|
z = y + 1;
|
|
y = z + 1;
|
|
end
|
|
z = y + 1;
|
|
end
|
|
end
|
|
endmodule
|