sudp_mx21.v 3.2 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_mx21.v						*
*  description:	32 bit 2 to 1 high performance mux using mx21d1h cells	*
*									*
*  designer:	Phil Gossett						*
*  date:	4/7/95							*
*									*
*************************************************************************
*/

// $Id: sudp_mx21.v,v 1.1 2002/03/28 00:26:13 berndt Exp $

module sudp_mx21 (s, i0, i1, z) ;

input s;
input [31:0] i0;
input [31:0] i1;

output [31:0] z;

wire sa;
wire sb;
wire sc;
wire sd;

ni01d5  nisa (.i(s), .z(sa));
ni01d5  nisb (.i(s), .z(sb));
ni01d5  nisc (.i(s), .z(sc));
ni01d5  nisd (.i(s), .z(sd));

mx21d1h	mx0  (.z(z[0]),  .i0(i0[0]),  .i1(i1[0]),  .s(sa));
mx21d1h	mx1  (.z(z[1]),  .i0(i0[1]),  .i1(i1[1]),  .s(sa));
mx21d1h	mx2  (.z(z[2]),  .i0(i0[2]),  .i1(i1[2]),  .s(sa));
mx21d1h	mx3  (.z(z[3]),  .i0(i0[3]),  .i1(i1[3]),  .s(sa));
mx21d1h	mx4  (.z(z[4]),  .i0(i0[4]),  .i1(i1[4]),  .s(sa));
mx21d1h	mx5  (.z(z[5]),  .i0(i0[5]),  .i1(i1[5]),  .s(sa));
mx21d1h	mx6  (.z(z[6]),  .i0(i0[6]),  .i1(i1[6]),  .s(sa));
mx21d1h	mx7  (.z(z[7]),  .i0(i0[7]),  .i1(i1[7]),  .s(sa));
mx21d1h	mx8  (.z(z[8]),  .i0(i0[8]),  .i1(i1[8]),  .s(sb));
mx21d1h	mx9  (.z(z[9]),  .i0(i0[9]),  .i1(i1[9]),  .s(sb));
mx21d1h	mx10 (.z(z[10]), .i0(i0[10]), .i1(i1[10]), .s(sb));
mx21d1h	mx11 (.z(z[11]), .i0(i0[11]), .i1(i1[11]), .s(sb));
mx21d1h	mx12 (.z(z[12]), .i0(i0[12]), .i1(i1[12]), .s(sb));
mx21d1h	mx13 (.z(z[13]), .i0(i0[13]), .i1(i1[13]), .s(sb));
mx21d1h	mx14 (.z(z[14]), .i0(i0[14]), .i1(i1[14]), .s(sb));
mx21d1h	mx15 (.z(z[15]), .i0(i0[15]), .i1(i1[15]), .s(sb));
mx21d1h	mx16 (.z(z[16]), .i0(i0[16]), .i1(i1[16]), .s(sc));
mx21d1h	mx17 (.z(z[17]), .i0(i0[17]), .i1(i1[17]), .s(sc));
mx21d1h	mx18 (.z(z[18]), .i0(i0[18]), .i1(i1[18]), .s(sc));
mx21d1h	mx19 (.z(z[19]), .i0(i0[19]), .i1(i1[19]), .s(sc));
mx21d1h	mx20 (.z(z[20]), .i0(i0[20]), .i1(i1[20]), .s(sc));
mx21d1h	mx21 (.z(z[21]), .i0(i0[21]), .i1(i1[21]), .s(sc));
mx21d1h	mx22 (.z(z[22]), .i0(i0[22]), .i1(i1[22]), .s(sc));
mx21d1h	mx23 (.z(z[23]), .i0(i0[23]), .i1(i1[23]), .s(sc));
mx21d1h	mx24 (.z(z[24]), .i0(i0[24]), .i1(i1[24]), .s(sd));
mx21d1h	mx25 (.z(z[25]), .i0(i0[25]), .i1(i1[25]), .s(sd));
mx21d1h	mx26 (.z(z[26]), .i0(i0[26]), .i1(i1[26]), .s(sd));
mx21d1h	mx27 (.z(z[27]), .i0(i0[27]), .i1(i1[27]), .s(sd));
mx21d1h	mx28 (.z(z[28]), .i0(i0[28]), .i1(i1[28]), .s(sd));
mx21d1h	mx29 (.z(z[29]), .i0(i0[29]), .i1(i1[29]), .s(sd));
mx21d1h	mx30 (.z(z[30]), .i0(i0[30]), .i1(i1[30]), .s(sd));
mx21d1h	mx31 (.z(z[31]), .i0(i0[31]), .i1(i1[31]), .s(sd));

endmodule  //  sudp_mx21