at_latch1.v 1.42 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_latch1.v,v 1.1.1.1 2002/05/17 06:07:44 blythe Exp $

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

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

input clk;
input g;
input i;

output z;

wire latch_g;
wire latch_g_m;

wire gn, e;

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

endmodule // at_latch1