3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-28 15:07:58 +00:00
yosys/tests/opt/opt_hier_simple2.v
2025-07-05 16:45:52 +02:00

7 lines
132 B
Verilog

module m(input [3:0] i, output [3:0] y);
assign y = i + 1;
endmodule
module top(output [3:0] y);
m inst(.i(4), .y(y));
endmodule