dp_zerodet.v 2.07 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_zerodet.v						*
*  description:	16 bit buffer using ni01d5 cells			*
*									*
*  designer:	Brian Ferguson						*
*  date:	4/12/95							*
*									*
*************************************************************************
*/

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

module dp_zerodet (
			input_data,
			out
		 ) ;

input	[15:0]	input_data ;

output	out ;

	wire	[3:0]	intzerodet;
	wire	out ;
	

	nr04d1	zerodet0to3	(	.zn		(intzerodet[0]),
					.a1		(input_data[3]),
					.a2		(input_data[2]),
					.a3		(input_data[1]),
					.a4		(input_data[0])
				) ;

	nr04d1	zerodet4to7	(	.zn		(intzerodet[1]),
					.a1		(input_data[7]),
					.a2		(input_data[6]),
					.a3		(input_data[5]),
					.a4		(input_data[4])
				) ;

	nr04d1	zerodet8to11	(	.zn		(intzerodet[2]),
					.a1		(input_data[11]),
					.a2		(input_data[10]),
					.a3		(input_data[9]),
					.a4		(input_data[8])
				) ;

	nr04d1	zerodet12to15	(	.zn		(intzerodet[3]),
					.a1		(input_data[15]),
					.a2		(input_data[14]),
					.a3		(input_data[13]),
					.a4		(input_data[12])
				) ;

	nd04d1	zerodetfinal	(	.zn		(out_inv),
					.a1		(intzerodet[0]),
					.a2		(intzerodet[1]),
					.a3		(intzerodet[2]),
					.a4		(intzerodet[3])
				) ;

/*
*	in01d7	zerodetinv	(	.i		(out_inv),
*					.zn		(out)
*				) ;
*/

	assign	out =	!out_inv;

endmodule  //  dp_zerodet