cc_lerp_csa_ha5.v 927 Bytes
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:	cc_lerp_csa_ha5
// description:	Half adder for csa tree for lerp for color combine unit.
//		5 bits.
//
// designer:	Phil Gossett
// date:	6/25/94
//
////////////////////////////////////////////////////////////////////////

module cc_lerp_csa_ha5 (a, b, s, co);

input [4:0] a;
input [4:0] b;

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

xo02d1h s0 (.z(s[0]),  .a1(a[0]), .a2(b[0]));
an02d1h c0 (.z(co[0]), .a1(a[0]), .a2(b[0]));
xo02d1h s1 (.z(s[1]),  .a1(a[1]), .a2(b[1]));
an02d1h c1 (.z(co[1]), .a1(a[1]), .a2(b[1]));
xo02d1h s2 (.z(s[2]),  .a1(a[2]), .a2(b[2]));
an02d1h c2 (.z(co[2]), .a1(a[2]), .a2(b[2]));
xo02d1h s3 (.z(s[3]),  .a1(a[3]), .a2(b[3]));
an02d1h c3 (.z(co[3]), .a1(a[3]), .a2(b[3]));
xo02d1h s4 (.z(s[4]),  .a1(a[4]), .a2(b[4]));
an02d1h c4 (.z(co[4]), .a1(a[4]), .a2(b[4]));

endmodule // cc_lerp_csa_ha5