tc_max_abs_dif_mx21.v 2.11 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:	tc_max_abs_dif_mx21.v					*
*  description:	14 bit 2 to 1 high performance mux using mx21d1h cells	*
*									*
*  designer:	Phil Gossett						*
*  date:	6/11/95							*
*									*
*************************************************************************
*/

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

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

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

output [13:0] z;

wire sa;
wire sb;

ni01d5  nisa (.i(s), .z(sa));
ni01d5  nisb (.i(s), .z(sb));

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));

endmodule  //  tc_max_abs_dif_mx21