Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: l2t_ffrpt_dp.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 l2t_ffrpt_dp ( | |
36 | data_in, | |
37 | tcu_clk_stop, | |
38 | tcu_pce_ov, | |
39 | tcu_scan_en, | |
40 | tcu_aclk, | |
41 | tcu_bclk, | |
42 | l2clk, | |
43 | scan_in, | |
44 | scan_out, | |
45 | data_out) ; | |
46 | wire bank0_scanin; | |
47 | wire bank0_scanout; | |
48 | wire bank1_scanin; | |
49 | wire bank1_scanout; | |
50 | wire bank2_scanin; | |
51 | wire bank2_scanout; | |
52 | wire bank3_scanin; | |
53 | wire bank3_scanout; | |
54 | wire bank4_scanin; | |
55 | wire bank4_scanout; | |
56 | wire bank5_scanin; | |
57 | wire bank5_scanout; | |
58 | wire bank6_scanin; | |
59 | wire bank6_scanout; | |
60 | wire bank7_scanin; | |
61 | wire bank7_scanout; | |
62 | wire bank8_scanin; | |
63 | wire bank8_scanout; | |
64 | wire bank9_scanin; | |
65 | wire bank9_scanout; | |
66 | wire bank10_scanin; | |
67 | wire bank10_scanout; | |
68 | wire bank11_scanin; | |
69 | wire bank11_scanout; | |
70 | ||
71 | ||
72 | ||
73 | input [191:0] data_in; | |
74 | input tcu_clk_stop; | |
75 | input tcu_pce_ov; | |
76 | input tcu_scan_en; | |
77 | input tcu_aclk; | |
78 | input tcu_bclk; | |
79 | input l2clk; | |
80 | input scan_in; | |
81 | ||
82 | output scan_out; | |
83 | output [191:0] data_out; | |
84 | ||
85 | ||
86 | n2_flop_bank_cust bank0 | |
87 | ( | |
88 | .scan_in(bank0_scanin), | |
89 | .scan_out(bank0_scanout), | |
90 | .l2clk (l2clk), | |
91 | .tcu_aclk (tcu_aclk), | |
92 | .tcu_bclk (tcu_bclk), | |
93 | .tcu_scan_en (tcu_scan_en), | |
94 | .tcu_pce_ov (tcu_pce_ov), | |
95 | .local_stop (tcu_clk_stop), | |
96 | .data_out (data_out[15:0]), | |
97 | .data_in (data_in[15:0]) | |
98 | ); | |
99 | ||
100 | n2_flop_bank_cust bank1 | |
101 | ( | |
102 | .scan_in(bank1_scanin), | |
103 | .scan_out(bank1_scanout), | |
104 | .l2clk (l2clk), | |
105 | .tcu_aclk (tcu_aclk), | |
106 | .tcu_bclk (tcu_bclk), | |
107 | .tcu_scan_en (tcu_scan_en), | |
108 | .tcu_pce_ov (tcu_pce_ov), | |
109 | .local_stop (tcu_clk_stop), | |
110 | .data_out (data_out[31:16]), | |
111 | .data_in (data_in[31:16]) | |
112 | ); | |
113 | ||
114 | n2_flop_bank_cust bank2 | |
115 | ( | |
116 | .scan_in(bank2_scanin), | |
117 | .scan_out(bank2_scanout), | |
118 | .l2clk (l2clk), | |
119 | .tcu_aclk (tcu_aclk), | |
120 | .tcu_bclk (tcu_bclk), | |
121 | .tcu_scan_en (tcu_scan_en), | |
122 | .tcu_pce_ov (tcu_pce_ov), | |
123 | .local_stop (tcu_clk_stop), | |
124 | .data_out (data_out[47:32]), | |
125 | .data_in (data_in[47:32]) | |
126 | ); | |
127 | ||
128 | n2_flop_bank_cust bank3 | |
129 | ( | |
130 | .scan_in(bank3_scanin), | |
131 | .scan_out(bank3_scanout), | |
132 | .l2clk (l2clk), | |
133 | .tcu_aclk (tcu_aclk), | |
134 | .tcu_bclk (tcu_bclk), | |
135 | .tcu_scan_en (tcu_scan_en), | |
136 | .tcu_pce_ov (tcu_pce_ov), | |
137 | .local_stop (tcu_clk_stop), | |
138 | .data_out (data_out[63:48]), | |
139 | .data_in (data_in[63:48]) | |
140 | ); | |
141 | ||
142 | ||
143 | n2_flop_bank_cust bank4 | |
144 | ( | |
145 | .scan_in(bank4_scanin), | |
146 | .scan_out(bank4_scanout), | |
147 | .l2clk (l2clk), | |
148 | .tcu_aclk (tcu_aclk), | |
149 | .tcu_bclk (tcu_bclk), | |
150 | .tcu_scan_en (tcu_scan_en), | |
151 | .tcu_pce_ov (tcu_pce_ov), | |
152 | .local_stop (tcu_clk_stop), | |
153 | .data_out (data_out[79:64]), | |
154 | .data_in (data_in[79:64]) | |
155 | ); | |
156 | ||
157 | ||
158 | n2_flop_bank_cust bank5 | |
159 | ( | |
160 | .scan_in(bank5_scanin), | |
161 | .scan_out(bank5_scanout), | |
162 | .l2clk (l2clk), | |
163 | .tcu_aclk (tcu_aclk), | |
164 | .tcu_bclk (tcu_bclk), | |
165 | .tcu_scan_en (tcu_scan_en), | |
166 | .tcu_pce_ov (tcu_pce_ov), | |
167 | .local_stop (tcu_clk_stop), | |
168 | .data_out (data_out[95:80]), | |
169 | .data_in (data_in[95:80]) | |
170 | ); | |
171 | ||
172 | ||
173 | ||
174 | n2_flop_bank_cust bank6 | |
175 | ( | |
176 | .scan_in(bank6_scanin), | |
177 | .scan_out(bank6_scanout), | |
178 | .l2clk (l2clk), | |
179 | .tcu_aclk (tcu_aclk), | |
180 | .tcu_bclk (tcu_bclk), | |
181 | .tcu_scan_en (tcu_scan_en), | |
182 | .tcu_pce_ov (tcu_pce_ov), | |
183 | .local_stop (tcu_clk_stop), | |
184 | .data_out (data_out[111:96]), | |
185 | .data_in (data_in[111:96]) | |
186 | ); | |
187 | ||
188 | ||
189 | n2_flop_bank_cust bank7 | |
190 | ( | |
191 | .scan_in(bank7_scanin), | |
192 | .scan_out(bank7_scanout), | |
193 | .l2clk (l2clk), | |
194 | .tcu_aclk (tcu_aclk), | |
195 | .tcu_bclk (tcu_bclk), | |
196 | .tcu_scan_en (tcu_scan_en), | |
197 | .tcu_pce_ov (tcu_pce_ov), | |
198 | .local_stop (tcu_clk_stop), | |
199 | .data_out (data_out[127:112]), | |
200 | .data_in (data_in[127:112]) | |
201 | ); | |
202 | ||
203 | n2_flop_bank_cust bank8 | |
204 | ( | |
205 | .scan_in(bank8_scanin), | |
206 | .scan_out(bank8_scanout), | |
207 | .l2clk (l2clk), | |
208 | .tcu_aclk (tcu_aclk), | |
209 | .tcu_bclk (tcu_bclk), | |
210 | .tcu_scan_en (tcu_scan_en), | |
211 | .tcu_pce_ov (tcu_pce_ov), | |
212 | .local_stop (tcu_clk_stop), | |
213 | .data_out (data_out[143:128]), | |
214 | .data_in (data_in[143:128]) | |
215 | ); | |
216 | ||
217 | n2_flop_bank_cust bank9 | |
218 | ( | |
219 | .scan_in(bank9_scanin), | |
220 | .scan_out(bank9_scanout), | |
221 | .l2clk (l2clk), | |
222 | .tcu_aclk (tcu_aclk), | |
223 | .tcu_bclk (tcu_bclk), | |
224 | .tcu_scan_en (tcu_scan_en), | |
225 | .tcu_pce_ov (tcu_pce_ov), | |
226 | .local_stop (tcu_clk_stop), | |
227 | .data_out (data_out[159:144]), | |
228 | .data_in (data_in[159:144]) | |
229 | ); | |
230 | ||
231 | n2_flop_bank_cust bank10 | |
232 | ( | |
233 | .scan_in(bank10_scanin), | |
234 | .scan_out(bank10_scanout), | |
235 | .l2clk (l2clk), | |
236 | .tcu_aclk (tcu_aclk), | |
237 | .tcu_bclk (tcu_bclk), | |
238 | .tcu_scan_en (tcu_scan_en), | |
239 | .tcu_pce_ov (tcu_pce_ov), | |
240 | .local_stop (tcu_clk_stop), | |
241 | .data_out (data_out[175:160]), | |
242 | .data_in (data_in[175:160]) | |
243 | ); | |
244 | ||
245 | n2_flop_bank_cust bank11 | |
246 | ( | |
247 | .scan_in(bank11_scanin), | |
248 | .scan_out(bank11_scanout), | |
249 | .l2clk (l2clk), | |
250 | .tcu_aclk (tcu_aclk), | |
251 | .tcu_bclk (tcu_bclk), | |
252 | .tcu_scan_en (tcu_scan_en), | |
253 | .tcu_pce_ov (tcu_pce_ov), | |
254 | .local_stop (tcu_clk_stop), | |
255 | .data_out (data_out[191:176]), | |
256 | .data_in (data_in[191:176]) | |
257 | ); | |
258 | ||
259 | ||
260 | ||
261 | ||
262 | ||
263 | ||
264 | ||
265 | ||
266 | ||
267 | ||
268 | ||
269 | ||
270 | ||
271 | ||
272 | // fixscan start: | |
273 | assign bank0_scanin = scan_in ; | |
274 | assign bank1_scanin = bank0_scanout ; | |
275 | assign bank2_scanin = bank1_scanout ; | |
276 | assign bank3_scanin = bank2_scanout ; | |
277 | assign bank4_scanin = bank3_scanout ; | |
278 | assign bank5_scanin = bank4_scanout ; | |
279 | assign bank6_scanin = bank5_scanout ; | |
280 | assign bank7_scanin = bank6_scanout ; | |
281 | assign bank8_scanin = bank7_scanout ; | |
282 | assign bank9_scanin = bank8_scanout ; | |
283 | assign bank10_scanin = bank9_scanout ; | |
284 | assign bank11_scanin = bank10_scanout ; | |
285 | assign scan_out = bank11_scanout ; | |
286 | // fixscan end: | |
287 | endmodule | |
288 |