tf_lerp_csa_fa10.v
1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Module instances modified by /home/rws/workarea/rf/sw/bbplayer/tools/necprimfix
//
// 10 instances of ad01d1h changed to j_ad01.
//
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module: tf_lerp_csa_fa10
// description: Full adder for csa tree for lerp for texture filter unit.
// 10 bits.
//
// designer: Phil Gossett
// date: 6/25/94
//
////////////////////////////////////////////////////////////////////////
module tf_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;
j_ad01 s0 (.a(a[0]), .b(b[0]), .ci(ci[0]), .co(co[0]), .s(s[0]));
j_ad01 s1 (.a(a[1]), .b(b[1]), .ci(ci[1]), .co(co[1]), .s(s[1]));
j_ad01 s2 (.a(a[2]), .b(b[2]), .ci(ci[2]), .co(co[2]), .s(s[2]));
j_ad01 s3 (.a(a[3]), .b(b[3]), .ci(ci[3]), .co(co[3]), .s(s[3]));
j_ad01 s4 (.a(a[4]), .b(b[4]), .ci(ci[4]), .co(co[4]), .s(s[4]));
j_ad01 s5 (.a(a[5]), .b(b[5]), .ci(ci[5]), .co(co[5]), .s(s[5]));
j_ad01 s6 (.a(a[6]), .b(b[6]), .ci(ci[6]), .co(co[6]), .s(s[6]));
j_ad01 s7 (.a(a[7]), .b(b[7]), .ci(ci[7]), .co(co[7]), .s(s[7]));
j_ad01 s8 (.a(a[8]), .b(b[8]), .ci(ci[8]), .co(co[8]), .s(s[8]));
j_ad01 s9 (.a(a[9]), .b(b[9]), .ci(ci[9]), .co(co[9]), .s(s[9]));
endmodule // tf_lerp_csa_fa10