bl_lerp_fa5.v
807 Bytes
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module: bl_lerp_fa5
// description: Full adder for csa tree for lerp for blend unit.
// 5 bits.
//
// designer: Phil Gossett
// date: 8/11/94
//
////////////////////////////////////////////////////////////////////////
module bl_lerp_fa5 (a, b, ci, co, s);
input [4:0] a;
input [4:0] b;
input [4:0] ci;
output [4:0] co;
output [4: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]));
endmodule // bl_lerp_fa5