cc_lerp_csa_fa10.v 1.14 KB
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:	cc_lerp_csa_fa10
// description:	Full adder for csa tree for lerp for color combine unit.
//		10 bits.
//
// designer:	Phil Gossett
// date:	6/25/94
//
////////////////////////////////////////////////////////////////////////

module cc_lerp_csa_fa10 (a, b, ci, co, s);

input [9:0] a;
input [9:0] b;
input [9:0] ci;

output [9:0] co;
output [9:0] s;

ad01d1h s0  (.a(a[0]), .b(b[0]), .ci(ci[0]), .co(co[0]), .s(s[0]));
ad01d1h s1  (.a(a[1]), .b(b[1]), .ci(ci[1]), .co(co[1]), .s(s[1]));
ad01d1h s2  (.a(a[2]), .b(b[2]), .ci(ci[2]), .co(co[2]), .s(s[2]));
ad01d1h s3  (.a(a[3]), .b(b[3]), .ci(ci[3]), .co(co[3]), .s(s[3]));
ad01d1h s4  (.a(a[4]), .b(b[4]), .ci(ci[4]), .co(co[4]), .s(s[4]));
ad01d1h s5  (.a(a[5]), .b(b[5]), .ci(ci[5]), .co(co[5]), .s(s[5]));
ad01d1h s6  (.a(a[6]), .b(b[6]), .ci(ci[6]), .co(co[6]), .s(s[6]));
ad01d1h s7  (.a(a[7]), .b(b[7]), .ci(ci[7]), .co(co[7]), .s(s[7]));
ad01d1h s8  (.a(a[8]), .b(b[8]), .ci(ci[8]), .co(co[8]), .s(s[8]));
ad01d1h s9  (.a(a[9]), .b(b[9]), .ci(ci[9]), .co(co[9]), .s(s[9]));

endmodule // cc_lerp_csa_fa10