cc_lerp_csa_ha5.v
1.08 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
//
// 5 instances of an02d1h changed to j_an02.
// 5 instances of xo02d1h changed to j_xo02.
//
////////////////////////////////////////////////////////////////////////
//
// 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;
j_xo02 s0 (.z(s[0]), .a1(a[0]), .a2(b[0]));
j_an02 c0 (.z(co[0]), .a1(a[0]), .a2(b[0]));
j_xo02 s1 (.z(s[1]), .a1(a[1]), .a2(b[1]));
j_an02 c1 (.z(co[1]), .a1(a[1]), .a2(b[1]));
j_xo02 s2 (.z(s[2]), .a1(a[2]), .a2(b[2]));
j_an02 c2 (.z(co[2]), .a1(a[2]), .a2(b[2]));
j_xo02 s3 (.z(s[3]), .a1(a[3]), .a2(b[3]));
j_an02 c3 (.z(co[3]), .a1(a[3]), .a2(b[3]));
j_xo02 s4 (.z(s[4]), .a1(a[4]), .a2(b[4]));
j_an02 c4 (.z(co[4]), .a1(a[4]), .a2(b[4]));
endmodule // cc_lerp_csa_ha5