Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: ccx_new_macro.v | |
4 | // Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved | |
5 | // 4150 Network Circle, Santa Clara, California 95054, U.S.A. | |
6 | // | |
7 | // * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
8 | // | |
9 | // This program is free software; you can redistribute it and/or modify | |
10 | // it under the terms of the GNU General Public License as published by | |
11 | // the Free Software Foundation; version 2 of the License. | |
12 | // | |
13 | // This program is distributed in the hope that it will be useful, | |
14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | // GNU General Public License for more details. | |
17 | // | |
18 | // You should have received a copy of the GNU General Public License | |
19 | // along with this program; if not, write to the Free Software | |
20 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 | // | |
22 | // For the avoidance of doubt, and except that if any non-GPL license | |
23 | // choice is available it will apply instead, Sun elects to use only | |
24 | // the General Public License version 2 (GPLv2) at this time for any | |
25 | // software where a choice of GPL license versions is made | |
26 | // available with the language indicating that GPLv2 or any later version | |
27 | // may be used, or where a choice of which version of the GPL is applied is | |
28 | // otherwise unspecified. | |
29 | // | |
30 | // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
31 | // CA 95054 USA or visit www.sun.com if you need additional information or | |
32 | // have any questions. | |
33 | // | |
34 | // ========== Copyright Header End ============================================ | |
35 | module ccx_new_macro_ccx_new_macro ( | |
36 | l2clk, | |
37 | l1clk, | |
38 | pce0, | |
39 | pce1, | |
40 | pce_ov, | |
41 | se, | |
42 | stop, | |
43 | siclk_in, | |
44 | soclk_in, | |
45 | scan_in, | |
46 | grant_a, | |
47 | qsel0, | |
48 | shift, | |
49 | data_a, | |
50 | data_x_l, | |
51 | scan_out); | |
52 | wire so5; | |
53 | wire siclk_out; | |
54 | wire soclk_out; | |
55 | wire l1clk0; | |
56 | wire l1clk1; | |
57 | wire grant_x; | |
58 | wire qsel0_buf; | |
59 | wire shift_buf; | |
60 | ||
61 | input l2clk; | |
62 | input l1clk; | |
63 | input pce0; | |
64 | input pce1; | |
65 | input pce_ov; | |
66 | input se; | |
67 | input stop; | |
68 | input siclk_in; | |
69 | input soclk_in; | |
70 | input scan_in; | |
71 | input grant_a; | |
72 | input qsel0; | |
73 | input shift; | |
74 | input [9:0] data_a; | |
75 | output [9:0] data_x_l; | |
76 | output scan_out; | |
77 | cl_dp1_ccxhdr c0 ( | |
78 | .si(scan_in), | |
79 | .so(so5), | |
80 | .l2clk(l2clk), | |
81 | .pce0(pce0), | |
82 | .pce1(pce1), | |
83 | .pce_ov(pce_ov), | |
84 | .stop(stop), | |
85 | .siclk_in(siclk_in), | |
86 | .soclk_in(soclk_in), | |
87 | .siclk_out(siclk_out), | |
88 | .soclk_out(soclk_out), | |
89 | .l1clk0(l1clk0), | |
90 | .l1clk1(l1clk1), | |
91 | .se(se), | |
92 | .l1clk(l1clk), | |
93 | .grant_a(grant_a), | |
94 | .grant_x(grant_x), | |
95 | .qsel0(qsel0), | |
96 | .qsel0_buf(qsel0_buf), | |
97 | .shift(shift), | |
98 | .shift_buf(shift_buf) | |
99 | ); | |
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ccx_mac_a #(10) mac_a( | |
107 | .siclk(siclk_out), | |
108 | .soclk(soclk_out), | |
109 | .data_a(data_a[9:0]), | |
110 | .data_x_l(data_x_l[9:0]), | |
111 | .si(so5), | |
112 | .so(scan_out), | |
113 | .l1clk0(l1clk0), | |
114 | .l1clk1(l1clk1), | |
115 | .grant_x(grant_x), | |
116 | .qsel0_buf(qsel0_buf), | |
117 | .shift_buf(shift_buf) | |
118 | ); | |
119 | ||
120 | ||
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | ||
128 | ||
129 | ||
130 | ||
131 | ||
132 | ||
133 | endmodule | |
134 | ||
135 | ||
136 | ||
137 |