at_latch3.v 1.4 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.  *
 *                                                                        *
 *************************************************************************/

// $Id: at_latch3.v,v 1.1 2002/03/28 00:26:12 berndt Exp $

////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:      at_latch3
// description: Latches for attribute buffers.
//
// designer:    Phil Gossett
// date:        9/5/94
//
////////////////////////////////////////////////////////////////////////

module at_latch3 (clk, g, i, z);

input clk;
input g;
input [2:0] i;

output [2:0] z;

wire gn, e;

in01d1 in_0(.i(g), .zn(gn));
nr02d1 nr_0(.a1(clk), .a2(gn), .zn(e));
at_latch_h #(3) l_0(.e(e), .d(i), .q(z));

endmodule // at_latch3