tf_lerp_csa_fa13.v
1.48 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
40
41
42
// Module instances modified by /home/rws/workarea/rf/sw/bbplayer/tools/necprimfix
//
// 13 instances of ad01d1h changed to j_ad01.
//
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module: tf_lerp_csa_fa13
// description: Full adder for csa tree for lerp for texture filter unit.
// 13 bits.
//
// designer: Phil Gossett
// date: 6/25/94
//
////////////////////////////////////////////////////////////////////////
module tf_lerp_csa_fa13 (a, b, ci, co, s);
input [12:0] a;
input [12:0] b;
input [12:0] ci;
output [12:0] co;
output [12: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]));
j_ad01 s10 (.a(a[10]),.b(b[10]),.ci(ci[10]),.co(co[10]),.s(s[10]));
j_ad01 s11 (.a(a[11]),.b(b[11]),.ci(ci[11]),.co(co[11]),.s(s[11]));
j_ad01 s12 (.a(a[12]),.b(b[12]),.ci(ci[12]),.co(co[12]),.s(s[12]));
endmodule // tf_lerp_csa_fa13