sudp_comp.v
2.79 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
/*
*************************************************************************
* *
* 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.1 2002/03/28 00:26:13 berndt 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;
ni01d5 gbufa (.z(ca), .i(c));
ni01d5 gbufb (.z(cb), .i(c));
ni01d5 gbufc (.z(cc), .i(c));
ni01d5 gbufd (.z(cd), .i(c));
xo02d1h comp0 (.z(z[0]), .a2(ca), .a1(i[0]));
xo02d1h comp1 (.z(z[1]), .a2(ca), .a1(i[1]));
xo02d1h comp2 (.z(z[2]), .a2(ca), .a1(i[2]));
xo02d1h comp3 (.z(z[3]), .a2(ca), .a1(i[3]));
xo02d1h comp4 (.z(z[4]), .a2(ca), .a1(i[4]));
xo02d1h comp5 (.z(z[5]), .a2(ca), .a1(i[5]));
xo02d1h comp6 (.z(z[6]), .a2(ca), .a1(i[6]));
xo02d1h comp7 (.z(z[7]), .a2(ca), .a1(i[7]));
xo02d1h comp8 (.z(z[8]), .a2(cb), .a1(i[8]));
xo02d1h comp9 (.z(z[9]), .a2(cb), .a1(i[9]));
xo02d1h comp10 (.z(z[10]), .a2(cb), .a1(i[10]));
xo02d1h comp11 (.z(z[11]), .a2(cb), .a1(i[11]));
xo02d1h comp12 (.z(z[12]), .a2(cb), .a1(i[12]));
xo02d1h comp13 (.z(z[13]), .a2(cb), .a1(i[13]));
xo02d1h comp14 (.z(z[14]), .a2(cb), .a1(i[14]));
xo02d1h comp15 (.z(z[15]), .a2(cb), .a1(i[15]));
xo02d1h comp16 (.z(z[16]), .a2(cc), .a1(i[16]));
xo02d1h comp17 (.z(z[17]), .a2(cc), .a1(i[17]));
xo02d1h comp18 (.z(z[18]), .a2(cc), .a1(i[18]));
xo02d1h comp19 (.z(z[19]), .a2(cc), .a1(i[19]));
xo02d1h comp20 (.z(z[20]), .a2(cc), .a1(i[20]));
xo02d1h comp21 (.z(z[21]), .a2(cc), .a1(i[21]));
xo02d1h comp22 (.z(z[22]), .a2(cc), .a1(i[22]));
xo02d1h comp23 (.z(z[23]), .a2(cc), .a1(i[23]));
xo02d1h comp24 (.z(z[24]), .a2(cd), .a1(i[24]));
xo02d1h comp25 (.z(z[25]), .a2(cd), .a1(i[25]));
xo02d1h comp26 (.z(z[26]), .a2(cd), .a1(i[26]));
xo02d1h comp27 (.z(z[27]), .a2(cd), .a1(i[27]));
xo02d1h comp28 (.z(z[28]), .a2(cd), .a1(i[28]));
xo02d1h comp29 (.z(z[29]), .a2(cd), .a1(i[29]));
xo02d1h comp30 (.z(z[30]), .a2(cd), .a1(i[30]));
xo02d1h comp31 (.z(z[31]), .a2(cd), .a1(i[31]));
endmodule // sudp_comp