at_latch56.v
2.16 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
51
52
53
54
55
56
57
58
59
60
61
/**************************************************************************
* *
* 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_latch56.v,v 1.1 2002/03/28 00:26:12 berndt Exp $
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module: at_latch56
// description: Latches for attribute buffers.
//
// designer: Phil Gossett
// date: 9/5/94
//
////////////////////////////////////////////////////////////////////////
module at_latch56(clk, g, i, z);
input clk;
input g;
input [55:0] i;
output [55:0] z;
wire [7:0] d_0, d_1, d_2, d_3, d_4, d_5, d_6;
wire [7:0] q_0, q_1, q_2, q_3, q_4, q_5, q_6;
wire e_0, e_1, e_2, e_3, e_4, e_5, e_6;
wire gn;
assign {d_6, d_5, d_4, d_3, d_2, d_1, d_0} = i;
assign z = {q_6, q_5, q_4, q_3, q_2, q_1, q_0};
in01d2 in_0(.i(g), .zn(gn));
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));
nr02d2 nr_4(.a1(clk), .a2(gn), .zn(e_4));
nr02d2 nr_5(.a1(clk), .a2(gn), .zn(e_5));
nr02d2 nr_6(.a1(clk), .a2(gn), .zn(e_6));
at_latch_h #(8) l_0(.e(e_0), .d(d_0), .q(q_0));
at_latch_h #(8) l_1(.e(e_1), .d(d_1), .q(q_1));
at_latch_h #(8) l_2(.e(e_2), .d(d_2), .q(q_2));
at_latch_h #(8) l_3(.e(e_3), .d(d_3), .q(q_3));
at_latch_h #(8) l_4(.e(e_4), .d(d_4), .q(q_4));
at_latch_h #(8) l_5(.e(e_5), .d(d_5), .q(q_5));
at_latch_h #(8) l_6(.e(e_6), .d(d_6), .q(q_6));
endmodule // at_latch56