3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-23 04:49:15 +00:00
yosys/tests/csa_tree/add_partial_chain.v
2026-03-13 12:33:26 +01:00

9 lines
173 B
Verilog

module add_partial_chain(
input [7:0] a, b, c, d, e,
output [7:0] mid,
output [7:0] y
);
wire [7:0] ab = a + b;
assign mid = ab;
assign y = ab + c + d + e;
endmodule