yosys/tests/csa_tree/sub_signed.v

7 lines
115 B
Verilog

module sub_signed(
input signed [7:0] a, b, c, d,
output signed [9:0] y
);
assign y = a + b - c - d;
endmodule