vi_lerp_csa_ha3.v
981 Bytes
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
//
// 3 instances of an02d1 changed to j_an02.
// 3 instances of xo02d1 changed to j_xo02.
//
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module: vi_lerp_csa_ha3
// description: Half adder for csa tree for lerp for video interface.
// 3 bit.
//
// designer: Phil Gossett
// date: 10/9/94
//
////////////////////////////////////////////////////////////////////////
// $Id: vi_lerp_csa_ha3.v,v 1.2 2002/11/13 02:11:42 rws Exp $
module vi_lerp_csa_ha3 (a, b, s, co);
input [2:0] a;
input [2:0] b;
output [2:0] s;
output [2: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]));
endmodule // vi_lerp_csa_ha3