sudp_latg.v 2.96 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: sudp_latg.v,v 1.1.1.1 2002/05/17 06:14:58 blythe Exp $

////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:      sudp_latg
// description: Latches for scalar unit register file, std cell version.
//
// designer:    Phil Gossett
// date:        4/2/95
//
////////////////////////////////////////////////////////////////////////

module sudp_latg (clk, gn, i, z);

input clk;
input gn;
input [31:0] i;

output [31:0] z;

wire [3:0] e;

nr02d2 nr_0(.a1(clk), .a2(gn), .zn(e[0]));
nr02d2 nr_1(.a1(clk), .a2(gn), .zn(e[1]));
nr02d2 nr_2(.a1(clk), .a2(gn), .zn(e[2]));
nr02d2 nr_3(.a1(clk), .a2(gn), .zn(e[3]));

lantnq lat0  (.e(e[0]), .d(i[0]),  .q(z[0]));
lantnq lat1  (.e(e[0]), .d(i[1]),  .q(z[1]));
lantnq lat2  (.e(e[0]), .d(i[2]),  .q(z[2]));
lantnq lat3  (.e(e[0]), .d(i[3]),  .q(z[3]));
lantnq lat4  (.e(e[0]), .d(i[4]),  .q(z[4]));
lantnq lat5  (.e(e[0]), .d(i[5]),  .q(z[5]));
lantnq lat6  (.e(e[0]), .d(i[6]),  .q(z[6]));
lantnq lat7  (.e(e[0]), .d(i[7]),  .q(z[7]));
lantnq lat8  (.e(e[1]), .d(i[8]),  .q(z[8]));
lantnq lat9  (.e(e[1]), .d(i[9]),  .q(z[9]));
lantnq lat10 (.e(e[1]), .d(i[10]), .q(z[10]));
lantnq lat11 (.e(e[1]), .d(i[11]), .q(z[11]));
lantnq lat12 (.e(e[1]), .d(i[12]), .q(z[12]));
lantnq lat13 (.e(e[1]), .d(i[13]), .q(z[13]));
lantnq lat14 (.e(e[1]), .d(i[14]), .q(z[14]));
lantnq lat15 (.e(e[1]), .d(i[15]), .q(z[15]));
lantnq lat16 (.e(e[2]), .d(i[16]), .q(z[16]));
lantnq lat17 (.e(e[2]), .d(i[17]), .q(z[17]));
lantnq lat18 (.e(e[2]), .d(i[18]), .q(z[18]));
lantnq lat19 (.e(e[2]), .d(i[19]), .q(z[19]));
lantnq lat20 (.e(e[2]), .d(i[20]), .q(z[20]));
lantnq lat21 (.e(e[2]), .d(i[21]), .q(z[21]));
lantnq lat22 (.e(e[2]), .d(i[22]), .q(z[22]));
lantnq lat23 (.e(e[2]), .d(i[23]), .q(z[23]));
lantnq lat24 (.e(e[3]), .d(i[24]), .q(z[24]));
lantnq lat25 (.e(e[3]), .d(i[25]), .q(z[25]));
lantnq lat26 (.e(e[3]), .d(i[26]), .q(z[26]));
lantnq lat27 (.e(e[3]), .d(i[27]), .q(z[27]));
lantnq lat28 (.e(e[3]), .d(i[28]), .q(z[28]));
lantnq lat29 (.e(e[3]), .d(i[29]), .q(z[29]));
lantnq lat30 (.e(e[3]), .d(i[30]), .q(z[30]));
lantnq lat31 (.e(e[3]), .d(i[31]), .q(z[31]));

endmodule // sudp_latg