sudp_comp.v 2.79 KB
/*
*************************************************************************
*									*
*               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.1.1 2002/05/17 06:14:58 blythe 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