dp_4to1mx16.v 4.13 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:	dp_4to1mx16.v.v						*
*  description:	16 bit 4 to 1 high performance mux using me41d1h cells	*
*									*
*  designer:	Brian Ferguson						*
*  date:	3/15/95							*
*									*
*************************************************************************
*/

// $Id: dp_4to1mx16.v,v 1.1.1.1 2002/05/17 06:14:58 blythe Exp $


module dp_4to1mx16 (
			input0,
			input1,
			input2,
			input3,
			select,
			output_data
		     ) ;

input	[15:0]	input0 ;
input	[15:0]	input1 ;
input	[15:0]	input2 ;
input	[15:0]	input3 ;
input	[1:0]	select ;

output	[15:0]	output_data ;


	mx41d2	mx_b0 (	.z		(output_data[0]),
			.i0		(input0[0]),
			.i1		(input1[0]),
			.i2		(input2[0]),
			.i3		(input3[0]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b1 (	.z		(output_data[1]),
			.i0		(input0[1]),
			.i1		(input1[1]),
			.i2		(input2[1]),
			.i3		(input3[1]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b2 (	.z		(output_data[2]),
			.i0		(input0[2]),
			.i1		(input1[2]),
			.i2		(input2[2]),
			.i3		(input3[2]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b3 (	.z		(output_data[3]),
			.i0		(input0[3]),
			.i1		(input1[3]),
			.i2		(input2[3]),
			.i3		(input3[3]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b4 (	.z		(output_data[4]),
			.i0		(input0[4]),
			.i1		(input1[4]),
			.i2		(input2[4]),
			.i3		(input3[4]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b5 (	.z		(output_data[5]),
			.i0		(input0[5]),
			.i1		(input1[5]),
			.i2		(input2[5]),
			.i3		(input3[5]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b6 (	.z		(output_data[6]),
			.i0		(input0[6]),
			.i1		(input1[6]),
			.i2		(input2[6]),
			.i3		(input3[6]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b7 (	.z		(output_data[7]),
			.i0		(input0[7]),
			.i1		(input1[7]),
			.i2		(input2[7]),
			.i3		(input3[7]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b8 (	.z		(output_data[8]),
			.i0		(input0[8]),
			.i1		(input1[8]),
			.i2		(input2[8]),
			.i3		(input3[8]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b9 (	.z		(output_data[9]),
			.i0		(input0[9]),
			.i1		(input1[9]),
			.i2		(input2[9]),
			.i3		(input3[9]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b10 (.z		(output_data[10]),
			.i0		(input0[10]),
			.i1		(input1[10]),
			.i2		(input2[10]),
			.i3		(input3[10]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b11 (.z		(output_data[11]),
			.i0		(input0[11]),
			.i1		(input1[11]),
			.i2		(input2[11]),
			.i3		(input3[11]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b12 (.z		(output_data[12]),
			.i0		(input0[12]),
			.i1		(input1[12]),
			.i2		(input2[12]),
			.i3		(input3[12]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b13 (.z		(output_data[13]),
			.i0		(input0[13]),
			.i1		(input1[13]),
			.i2		(input2[13]),
			.i3		(input3[13]),
			.s0		(select[0]),
			.s1		(select[1])
		      ) ;


	mx41d2	mx_b14 (
			.z		(output_data[14]),
			.i0		(input0[14]),
			.i1		(input1[14]),
			.i2		(input2[14]),
			.i3		(input3[14]),
			.s0		(select[0]),
			.s1		(select[1])
		       ) ;


	mx41d2	mx_b15 (
			.z		(output_data[15]),
			.i0		(input0[15]),
			.i1		(input1[15]),
			.i2		(input2[15]),
			.i3		(input3[15]),
			.s0		(select[0]),
			.s1		(select[1])
		       ) ;



endmodule  //  dp_4to1mx16.v