3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-23 12:59:15 +00:00
yosys/tests/csa_tree/add_multi_fanout.v
2026-03-13 12:09:50 +01:00

10 lines
161 B
Verilog

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