sudp_comp.v
2.94 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// Module instances modified by /home/rws/workarea/rf/sw/bbplayer/tools/necprimfix
//
// 4 instances of ni01d5 changed to j_ni01.
// 32 instances of xo02d1h changed to j_xo02.
//
/*
*************************************************************************
* *
* Copyright (C) 1994, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
*************************************************************************
*/
/*
*************************************************************************
* *
* Project Reality *
* *
* module: sudp_comp.v *
* description: 32 bit complement. *
* *
* designer: Phil Gossett *
* date: 4/7/95 *
* *
*************************************************************************
*/
// $Id: sudp_comp.v,v 1.2 2002/11/13 02:11:41 rws Exp $
module sudp_comp (i, c, z);
input [31:0] i;
input c;
output [31:0] z;
wire ca;
wire cb;
wire cc;
wire cd;
j_ni01 gbufa (.z(ca), .i(c));
j_ni01 gbufb (.z(cb), .i(c));
j_ni01 gbufc (.z(cc), .i(c));
j_ni01 gbufd (.z(cd), .i(c));
j_xo02 comp0 (.z(z[0]), .a2(ca), .a1(i[0]));
j_xo02 comp1 (.z(z[1]), .a2(ca), .a1(i[1]));
j_xo02 comp2 (.z(z[2]), .a2(ca), .a1(i[2]));
j_xo02 comp3 (.z(z[3]), .a2(ca), .a1(i[3]));
j_xo02 comp4 (.z(z[4]), .a2(ca), .a1(i[4]));
j_xo02 comp5 (.z(z[5]), .a2(ca), .a1(i[5]));
j_xo02 comp6 (.z(z[6]), .a2(ca), .a1(i[6]));
j_xo02 comp7 (.z(z[7]), .a2(ca), .a1(i[7]));
j_xo02 comp8 (.z(z[8]), .a2(cb), .a1(i[8]));
j_xo02 comp9 (.z(z[9]), .a2(cb), .a1(i[9]));
j_xo02 comp10 (.z(z[10]), .a2(cb), .a1(i[10]));
j_xo02 comp11 (.z(z[11]), .a2(cb), .a1(i[11]));
j_xo02 comp12 (.z(z[12]), .a2(cb), .a1(i[12]));
j_xo02 comp13 (.z(z[13]), .a2(cb), .a1(i[13]));
j_xo02 comp14 (.z(z[14]), .a2(cb), .a1(i[14]));
j_xo02 comp15 (.z(z[15]), .a2(cb), .a1(i[15]));
j_xo02 comp16 (.z(z[16]), .a2(cc), .a1(i[16]));
j_xo02 comp17 (.z(z[17]), .a2(cc), .a1(i[17]));
j_xo02 comp18 (.z(z[18]), .a2(cc), .a1(i[18]));
j_xo02 comp19 (.z(z[19]), .a2(cc), .a1(i[19]));
j_xo02 comp20 (.z(z[20]), .a2(cc), .a1(i[20]));
j_xo02 comp21 (.z(z[21]), .a2(cc), .a1(i[21]));
j_xo02 comp22 (.z(z[22]), .a2(cc), .a1(i[22]));
j_xo02 comp23 (.z(z[23]), .a2(cc), .a1(i[23]));
j_xo02 comp24 (.z(z[24]), .a2(cd), .a1(i[24]));
j_xo02 comp25 (.z(z[25]), .a2(cd), .a1(i[25]));
j_xo02 comp26 (.z(z[26]), .a2(cd), .a1(i[26]));
j_xo02 comp27 (.z(z[27]), .a2(cd), .a1(i[27]));
j_xo02 comp28 (.z(z[28]), .a2(cd), .a1(i[28]));
j_xo02 comp29 (.z(z[29]), .a2(cd), .a1(i[29]));
j_xo02 comp30 (.z(z[30]), .a2(cd), .a1(i[30]));
j_xo02 comp31 (.z(z[31]), .a2(cd), .a1(i[31]));
endmodule // sudp_comp