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