ms_latch10.v
1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**************************************************************************
* *
* 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: ms_latch10.v,v 1.1.1.1 2002/05/17 06:07:47 blythe Exp $
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module: ms_latch10
// description: Transparent latches
//
// designer: Mike M. Cai / Robert W. Sherburne
// date: 12/16/94
//
////////////////////////////////////////////////////////////////////////
module ms_latch10 (d_out, clk, g, d_in);
output [9:0] d_out;
input [9:0] d_in;
input clk, g;
wire l_en_m, l_en;
nd02d2 lenm(.zn(l_en_m), .a1(g), .a2(clk));
in01d3 len1(.zn(l_en), .i(l_en_m));
lantnq
lat0(.e(l_en), .d(d_in[0]), .q(d_out[0])),
lat1(.e(l_en), .d(d_in[1]), .q(d_out[1])),
lat2(.e(l_en), .d(d_in[2]), .q(d_out[2])),
lat3(.e(l_en), .d(d_in[3]), .q(d_out[3])),
lat4(.e(l_en), .d(d_in[4]), .q(d_out[4])),
lat5(.e(l_en), .d(d_in[5]), .q(d_out[5])),
lat6(.e(l_en), .d(d_in[6]), .q(d_out[6])),
lat7(.e(l_en), .d(d_in[7]), .q(d_out[7])),
lat8(.e(l_en), .d(d_in[8]), .q(d_out[8])),
lat9(.e(l_en), .d(d_in[9]), .q(d_out[9]));
endmodule // ms_latch10