Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: cpx_mar_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 | `ifndef FPGA | |
36 | module cpx_mar_dp ( | |
37 | data_out_x_, | |
38 | arb_grant_a, | |
39 | arb_qsel0_a, | |
40 | arb_qsel1_a, | |
41 | arb_q0_holdbar_a, | |
42 | arb_shift_a, | |
43 | src_cpx_data_a, | |
44 | l2clk, | |
45 | scan_in, | |
46 | tcu_pce_ov, | |
47 | ccx_aclk, | |
48 | ccx_bclk, | |
49 | tcu_scan_en, | |
50 | scan_out, | |
51 | ccx_aclk_out, | |
52 | ccx_bclk_out, | |
53 | tcu_pce_ov_out, | |
54 | tcu_scan_en_out); | |
55 | wire pce_ov; | |
56 | wire stop; | |
57 | wire siclk_in; | |
58 | wire soclk_in; | |
59 | wire se; | |
60 | wire [149:0] src_data_a; | |
61 | wire l1clka; | |
62 | wire l1clkb; | |
63 | wire i0_scanin; | |
64 | wire i0_scanout; | |
65 | wire i1_scanin; | |
66 | wire i1_scanout; | |
67 | wire i2_scanin; | |
68 | wire i2_scanout; | |
69 | wire i3_scanin; | |
70 | wire i3_scanout; | |
71 | wire i4_scanin; | |
72 | wire i4_scanout; | |
73 | wire i5_scanin; | |
74 | wire i5_scanout; | |
75 | wire i6_scanin; | |
76 | wire i6_scanout; | |
77 | wire i7_scanin; | |
78 | wire i7_scanout; | |
79 | wire i8_scanin; | |
80 | wire i8_scanout; | |
81 | wire i9_scanin; | |
82 | wire i9_scanout; | |
83 | wire i10_scanin; | |
84 | wire i10_scanout; | |
85 | wire i11_scanin; | |
86 | wire i11_scanout; | |
87 | wire i12_scanin; | |
88 | wire i12_scanout; | |
89 | wire i13_scanin; | |
90 | wire i13_scanout; | |
91 | wire i14_scanin; | |
92 | wire i14_scanout; | |
93 | ||
94 | ||
95 | output [149:0] data_out_x_; | |
96 | ||
97 | input arb_grant_a; | |
98 | input arb_qsel0_a; | |
99 | input arb_qsel1_a; | |
100 | input arb_q0_holdbar_a; | |
101 | input arb_shift_a; | |
102 | ||
103 | ||
104 | input [149:0] src_cpx_data_a; | |
105 | ||
106 | // globals | |
107 | input l2clk; | |
108 | input scan_in; | |
109 | input tcu_pce_ov; // scan signals | |
110 | input ccx_aclk; | |
111 | input ccx_bclk; | |
112 | input tcu_scan_en; | |
113 | ||
114 | output scan_out; | |
115 | ||
116 | // buffer the high fanout nets | |
117 | output ccx_aclk_out; | |
118 | output ccx_bclk_out; | |
119 | output tcu_pce_ov_out; | |
120 | output tcu_scan_en_out; | |
121 | ||
122 | // scan renames | |
123 | assign pce_ov = tcu_pce_ov_out; | |
124 | assign stop = 1'b0; | |
125 | assign siclk_in = ccx_aclk_out; | |
126 | assign soclk_in = ccx_bclk_out; | |
127 | assign se = tcu_scan_en_out ; | |
128 | // end scan | |
129 | ||
130 | assign src_data_a[149:0] = src_cpx_data_a[149:0]; | |
131 | ||
132 | //cl_dp1_l1hdr_24x gkt_hdr ( | |
133 | //.l2clk(l2clk), | |
134 | //.pce(1'b1), | |
135 | //.aclk(siclk), | |
136 | //.bclk(soclk), | |
137 | //.siclk_out(siclk_out_unused), | |
138 | //.soclk_out(soclk_out_unused), | |
139 | //.l1clk(l1clk), | |
140 | //.pce_ov(pce_ov), | |
141 | //.stop(stop) | |
142 | //); | |
143 | ||
144 | //l1clkhdr_dp_macro gkt_hdra | |
145 | // ( | |
146 | // .l2clk (l2clk), | |
147 | // .l1en (1'b1 ), | |
148 | // .siclk_out (sia_unused), | |
149 | // .soclk_out (soa_unused), | |
150 | // .l1clk (l1clka) | |
151 | // ); | |
152 | ||
153 | //l1clkhdr_dp_macro gkt_hdrb | |
154 | // ( | |
155 | // .l2clk (l2clk), | |
156 | // .l1en (1'b1 ), | |
157 | // .siclk_out (sib_unused), | |
158 | // .soclk_out (sob_unused), | |
159 | // .l1clk (l1clkb) | |
160 | // ); | |
161 | ||
162 | cpx_mar_dp_buff_macro__dbuff_8x__stack_none__vertical_1__width_4 buf_hfn ( | |
163 | .din ({ccx_aclk,ccx_bclk, tcu_pce_ov, tcu_scan_en}), | |
164 | .dout ({ccx_aclk_out,ccx_bclk_out,tcu_pce_ov_out,tcu_scan_en_out}) | |
165 | ); | |
166 | ||
167 | cpx_mar_dp_ccx_l1clkhdr_ctl_macro__dl1hdr_24x gkt_hdra | |
168 | ( | |
169 | .l2clk (l2clk), | |
170 | .l1en (1'b1 ), | |
171 | .l1clk (l1clka), | |
172 | .pce_ov(pce_ov), | |
173 | .stop(stop), | |
174 | .se(se) | |
175 | ); | |
176 | ||
177 | cpx_mar_dp_ccx_l1clkhdr_ctl_macro__dl1hdr_24x gkt_hdrb | |
178 | ( | |
179 | .l2clk (l2clk), | |
180 | .l1en (1'b1 ), | |
181 | .l1clk (l1clkb), | |
182 | .pce_ov(pce_ov), | |
183 | .stop(stop), | |
184 | .se(se) | |
185 | ); | |
186 | ||
187 | // ccx_new_macro_a AUTO_TEMPLATE | |
188 | // ( | |
189 | //.scan_in(AUTO_TEMPLATE_scanin), | |
190 | //.scan_out(AUTO_TEMPLATE_scanout), | |
191 | //.l2clk (l2clk), | |
192 | //.l1clk (l1clk), | |
193 | //.pce0 (arb_q0_holdbar_a), | |
194 | //.pce1 (arb_qsel1_a), | |
195 | //.pce_ov (pce_ov), | |
196 | //.stop (stop), | |
197 | //.siclk_in (siclk_in), | |
198 | //.soclk_in (soclk_in), | |
199 | //.grant_a (arb_grant_a), | |
200 | //.qsel0 (arb_qsel0_a), | |
201 | //.shift (arb_shift_a), | |
202 | //.data_a (src_data_a[@"(+ 9 (* 10 @))":@"(* 10 @)"]), | |
203 | //.data_x_l (data_out_x_[@"(+ 9 (* 10 @))":@"(* 10 @)"]), | |
204 | //); | |
205 | ||
206 | cpx_mar_dp_ccx_new_macro__type_a i0 ( | |
207 | // Outputs | |
208 | .data_x_l (data_out_x_[9:0]), // Templated | |
209 | // Inputs | |
210 | .scan_in(i0_scanin), | |
211 | .scan_out(i0_scanout), | |
212 | .l2clk (l2clk), // Templated | |
213 | .l1clk (l1clka), // Templated | |
214 | .pce0 (arb_q0_holdbar_a), // Templated | |
215 | .pce1 (arb_qsel1_a), // Templated | |
216 | .pce_ov (pce_ov), // Templated | |
217 | .stop (stop), // Templated | |
218 | .siclk_in (siclk_in), // Templated | |
219 | .soclk_in (soclk_in), // Templated | |
220 | .grant_a (arb_grant_a), // Templated | |
221 | .qsel0 (arb_qsel0_a), // Templated | |
222 | .shift (arb_shift_a), // Templated | |
223 | .data_a (src_data_a[9:0]), | |
224 | .se(se)); // Templated | |
225 | ||
226 | cpx_mar_dp_ccx_new_macro__type_a i1 ( | |
227 | // Outputs | |
228 | .data_x_l (data_out_x_[19:10]), // Templated | |
229 | // Inputs | |
230 | .scan_in(i1_scanin), | |
231 | .scan_out(i1_scanout), | |
232 | .l2clk (l2clk), // Templated | |
233 | .l1clk (l1clka), // Templated | |
234 | .pce0 (arb_q0_holdbar_a), // Templated | |
235 | .pce1 (arb_qsel1_a), // Templated | |
236 | .pce_ov (pce_ov), // Templated | |
237 | .stop (stop), // Templated | |
238 | .siclk_in (siclk_in), // Templated | |
239 | .soclk_in (soclk_in), // Templated | |
240 | .grant_a (arb_grant_a), // Templated | |
241 | .qsel0 (arb_qsel0_a), // Templated | |
242 | .shift (arb_shift_a), // Templated | |
243 | .data_a (src_data_a[19:10]), | |
244 | .se(se)); // Templated | |
245 | ||
246 | cpx_mar_dp_ccx_new_macro__type_a i2 ( | |
247 | // Outputs | |
248 | .data_x_l (data_out_x_[29:20]), // Templated | |
249 | // Inputs | |
250 | .scan_in(i2_scanin), | |
251 | .scan_out(i2_scanout), | |
252 | .l2clk (l2clk), // Templated | |
253 | .l1clk (l1clka), // Templated | |
254 | .pce0 (arb_q0_holdbar_a), // Templated | |
255 | .pce1 (arb_qsel1_a), // Templated | |
256 | .pce_ov (pce_ov), // Templated | |
257 | .stop (stop), // Templated | |
258 | .siclk_in (siclk_in), // Templated | |
259 | .soclk_in (soclk_in), // Templated | |
260 | .grant_a (arb_grant_a), // Templated | |
261 | .qsel0 (arb_qsel0_a), // Templated | |
262 | .shift (arb_shift_a), // Templated | |
263 | .data_a (src_data_a[29:20]), | |
264 | .se(se)); // Templated | |
265 | cpx_mar_dp_ccx_new_macro__type_a i3 ( | |
266 | // Outputs | |
267 | .data_x_l (data_out_x_[39:30]), // Templated | |
268 | // Inputs | |
269 | .scan_in(i3_scanin), | |
270 | .scan_out(i3_scanout), | |
271 | .l2clk (l2clk), // Templated | |
272 | .l1clk (l1clka), // Templated | |
273 | .pce0 (arb_q0_holdbar_a), // Templated | |
274 | .pce1 (arb_qsel1_a), // Templated | |
275 | .pce_ov (pce_ov), // Templated | |
276 | .stop (stop), // Templated | |
277 | .siclk_in (siclk_in), // Templated | |
278 | .soclk_in (soclk_in), // Templated | |
279 | .grant_a (arb_grant_a), // Templated | |
280 | .qsel0 (arb_qsel0_a), // Templated | |
281 | .shift (arb_shift_a), // Templated | |
282 | .data_a (src_data_a[39:30]), | |
283 | .se(se)); // Templated | |
284 | cpx_mar_dp_ccx_new_macro__type_a i4 ( | |
285 | // Outputs | |
286 | .data_x_l (data_out_x_[49:40]), // Templated | |
287 | // Inputs | |
288 | .scan_in(i4_scanin), | |
289 | .scan_out(i4_scanout), | |
290 | .l2clk (l2clk), // Templated | |
291 | .l1clk (l1clka), // Templated | |
292 | .pce0 (arb_q0_holdbar_a), // Templated | |
293 | .pce1 (arb_qsel1_a), // Templated | |
294 | .pce_ov (pce_ov), // Templated | |
295 | .stop (stop), // Templated | |
296 | .siclk_in (siclk_in), // Templated | |
297 | .soclk_in (soclk_in), // Templated | |
298 | .grant_a (arb_grant_a), // Templated | |
299 | .qsel0 (arb_qsel0_a), // Templated | |
300 | .shift (arb_shift_a), // Templated | |
301 | .data_a (src_data_a[49:40]), | |
302 | .se(se)); // Templated | |
303 | cpx_mar_dp_ccx_new_macro__type_a i5 ( | |
304 | // Outputs | |
305 | .data_x_l (data_out_x_[59:50]), // Templated | |
306 | // Inputs | |
307 | .scan_in(i5_scanin), | |
308 | .scan_out(i5_scanout), | |
309 | .l2clk (l2clk), // Templated | |
310 | .l1clk (l1clka), // Templated | |
311 | .pce0 (arb_q0_holdbar_a), // Templated | |
312 | .pce1 (arb_qsel1_a), // Templated | |
313 | .pce_ov (pce_ov), // Templated | |
314 | .stop (stop), // Templated | |
315 | .siclk_in (siclk_in), // Templated | |
316 | .soclk_in (soclk_in), // Templated | |
317 | .grant_a (arb_grant_a), // Templated | |
318 | .qsel0 (arb_qsel0_a), // Templated | |
319 | .shift (arb_shift_a), // Templated | |
320 | .data_a (src_data_a[59:50]), | |
321 | .se(se)); // Templated | |
322 | cpx_mar_dp_ccx_new_macro__type_a i6 ( | |
323 | // Outputs | |
324 | .data_x_l (data_out_x_[69:60]), // Templated | |
325 | // Inputs | |
326 | .scan_in(i6_scanin), | |
327 | .scan_out(i6_scanout), | |
328 | .l2clk (l2clk), // Templated | |
329 | .l1clk (l1clka), // Templated | |
330 | .pce0 (arb_q0_holdbar_a), // Templated | |
331 | .pce1 (arb_qsel1_a), // Templated | |
332 | .pce_ov (pce_ov), // Templated | |
333 | .stop (stop), // Templated | |
334 | .siclk_in (siclk_in), // Templated | |
335 | .soclk_in (soclk_in), // Templated | |
336 | .grant_a (arb_grant_a), // Templated | |
337 | .qsel0 (arb_qsel0_a), // Templated | |
338 | .shift (arb_shift_a), // Templated | |
339 | .data_a (src_data_a[69:60]), | |
340 | .se(se)); // Templated | |
341 | cpx_mar_dp_ccx_new_macro__type_a i7 ( | |
342 | // Outputs | |
343 | .data_x_l (data_out_x_[79:70]), // Templated | |
344 | // Inputs | |
345 | .scan_in(i7_scanin), | |
346 | .scan_out(i7_scanout), | |
347 | .l2clk (l2clk), // Templated | |
348 | .l1clk (l1clka), // Templated | |
349 | .pce0 (arb_q0_holdbar_a), // Templated | |
350 | .pce1 (arb_qsel1_a), // Templated | |
351 | .pce_ov (pce_ov), // Templated | |
352 | .stop (stop), // Templated | |
353 | .siclk_in (siclk_in), // Templated | |
354 | .soclk_in (soclk_in), // Templated | |
355 | .grant_a (arb_grant_a), // Templated | |
356 | .qsel0 (arb_qsel0_a), // Templated | |
357 | .shift (arb_shift_a), // Templated | |
358 | .data_a (src_data_a[79:70]), | |
359 | .se(se)); // Templated | |
360 | cpx_mar_dp_ccx_new_macro__type_a i8 ( | |
361 | // Outputs | |
362 | .data_x_l (data_out_x_[89:80]), // Templated | |
363 | // Inputs | |
364 | .scan_in(i8_scanin), | |
365 | .scan_out(i8_scanout), | |
366 | .l2clk (l2clk), // Templated | |
367 | .l1clk (l1clkb), // Templated | |
368 | .pce0 (arb_q0_holdbar_a), // Templated | |
369 | .pce1 (arb_qsel1_a), // Templated | |
370 | .pce_ov (pce_ov), // Templated | |
371 | .stop (stop), // Templated | |
372 | .siclk_in (siclk_in), // Templated | |
373 | .soclk_in (soclk_in), // Templated | |
374 | .grant_a (arb_grant_a), // Templated | |
375 | .qsel0 (arb_qsel0_a), // Templated | |
376 | .shift (arb_shift_a), // Templated | |
377 | .data_a (src_data_a[89:80]), | |
378 | .se(se)); // Templated | |
379 | cpx_mar_dp_ccx_new_macro__type_a i9 ( | |
380 | // Outputs | |
381 | .data_x_l (data_out_x_[99:90]), // Templated | |
382 | // Inputs | |
383 | .scan_in(i9_scanin), | |
384 | .scan_out(i9_scanout), | |
385 | .l2clk (l2clk), // Templated | |
386 | .l1clk (l1clkb), // Templated | |
387 | .pce0 (arb_q0_holdbar_a), // Templated | |
388 | .pce1 (arb_qsel1_a), // Templated | |
389 | .pce_ov (pce_ov), // Templated | |
390 | .stop (stop), // Templated | |
391 | .siclk_in (siclk_in), // Templated | |
392 | .soclk_in (soclk_in), // Templated | |
393 | .grant_a (arb_grant_a), // Templated | |
394 | .qsel0 (arb_qsel0_a), // Templated | |
395 | .shift (arb_shift_a), // Templated | |
396 | .data_a (src_data_a[99:90]), | |
397 | .se(se)); // Templated | |
398 | cpx_mar_dp_ccx_new_macro__type_a i10 ( | |
399 | // Outputs | |
400 | .data_x_l (data_out_x_[109:100]), // Templated | |
401 | // Inputs | |
402 | .scan_in(i10_scanin), | |
403 | .scan_out(i10_scanout), | |
404 | .l2clk (l2clk), // Templated | |
405 | .l1clk (l1clkb), // Templated | |
406 | .pce0 (arb_q0_holdbar_a), // Templated | |
407 | .pce1 (arb_qsel1_a), // Templated | |
408 | .pce_ov (pce_ov), // Templated | |
409 | .stop (stop), // Templated | |
410 | .siclk_in (siclk_in), // Templated | |
411 | .soclk_in (soclk_in), // Templated | |
412 | .grant_a (arb_grant_a), // Templated | |
413 | .qsel0 (arb_qsel0_a), // Templated | |
414 | .shift (arb_shift_a), // Templated | |
415 | .data_a (src_data_a[109:100]), | |
416 | .se(se)); // Templated | |
417 | cpx_mar_dp_ccx_new_macro__type_a i11 ( | |
418 | // Outputs | |
419 | .data_x_l (data_out_x_[119:110]), // Templated | |
420 | // Inputs | |
421 | .scan_in(i11_scanin), | |
422 | .scan_out(i11_scanout), | |
423 | .l2clk (l2clk), // Templated | |
424 | .l1clk (l1clkb), // Templated | |
425 | .pce0 (arb_q0_holdbar_a), // Templated | |
426 | .pce1 (arb_qsel1_a), // Templated | |
427 | .pce_ov (pce_ov), // Templated | |
428 | .stop (stop), // Templated | |
429 | .siclk_in (siclk_in), // Templated | |
430 | .soclk_in (soclk_in), // Templated | |
431 | .grant_a (arb_grant_a), // Templated | |
432 | .qsel0 (arb_qsel0_a), // Templated | |
433 | .shift (arb_shift_a), // Templated | |
434 | .data_a (src_data_a[119:110]), | |
435 | .se(se)); // Templated | |
436 | cpx_mar_dp_ccx_new_macro__type_a i12 ( | |
437 | // Outputs | |
438 | .data_x_l (data_out_x_[129:120]), // Templated | |
439 | // Inputs | |
440 | .scan_in(i12_scanin), | |
441 | .scan_out(i12_scanout), | |
442 | .l2clk (l2clk), // Templated | |
443 | .l1clk (l1clkb), // Templated | |
444 | .pce0 (arb_q0_holdbar_a), // Templated | |
445 | .pce1 (arb_qsel1_a), // Templated | |
446 | .pce_ov (pce_ov), // Templated | |
447 | .stop (stop), // Templated | |
448 | .siclk_in (siclk_in), // Templated | |
449 | .soclk_in (soclk_in), // Templated | |
450 | .grant_a (arb_grant_a), // Templated | |
451 | .qsel0 (arb_qsel0_a), // Templated | |
452 | .shift (arb_shift_a), // Templated | |
453 | .data_a (src_data_a[129:120]), | |
454 | .se(se)); // Templated | |
455 | cpx_mar_dp_ccx_new_macro__type_a i13 ( | |
456 | // Outputs | |
457 | .data_x_l (data_out_x_[139:130]), // Templated | |
458 | // Inputs | |
459 | .scan_in(i13_scanin), | |
460 | .scan_out(i13_scanout), | |
461 | .l2clk (l2clk), // Templated | |
462 | .l1clk (l1clkb), // Templated | |
463 | .pce0 (arb_q0_holdbar_a), // Templated | |
464 | .pce1 (arb_qsel1_a), // Templated | |
465 | .pce_ov (pce_ov), // Templated | |
466 | .stop (stop), // Templated | |
467 | .siclk_in (siclk_in), // Templated | |
468 | .soclk_in (soclk_in), // Templated | |
469 | .grant_a (arb_grant_a), // Templated | |
470 | .qsel0 (arb_qsel0_a), // Templated | |
471 | .shift (arb_shift_a), // Templated | |
472 | .data_a (src_data_a[139:130]), | |
473 | .se(se)); // Templated | |
474 | cpx_mar_dp_ccx_new_macro__type_a i14 ( | |
475 | // Outputs | |
476 | .data_x_l (data_out_x_[149:140]), // Templated | |
477 | // Inputs | |
478 | .scan_in(i14_scanin), | |
479 | .scan_out(i14_scanout), | |
480 | .l2clk (l2clk), // Templated | |
481 | .l1clk (l1clkb), // Templated | |
482 | .pce0 (arb_q0_holdbar_a), // Templated | |
483 | .pce1 (arb_qsel1_a), // Templated | |
484 | .pce_ov (pce_ov), // Templated | |
485 | .stop (stop), // Templated | |
486 | .siclk_in (siclk_in), // Templated | |
487 | .soclk_in (soclk_in), // Templated | |
488 | .grant_a (arb_grant_a), // Templated | |
489 | .qsel0 (arb_qsel0_a), // Templated | |
490 | .shift (arb_shift_a), // Templated | |
491 | .data_a (src_data_a[149:140]), | |
492 | .se(se)); // Templated | |
493 | ||
494 | // fixscan start: | |
495 | assign i14_scanin = scan_in ; | |
496 | assign i13_scanin = i14_scanout ; | |
497 | assign i12_scanin = i13_scanout ; | |
498 | assign i11_scanin = i12_scanout ; | |
499 | assign i10_scanin = i11_scanout ; | |
500 | assign i9_scanin = i10_scanout ; | |
501 | assign i8_scanin = i9_scanout ; | |
502 | assign i7_scanin = i8_scanout ; | |
503 | assign i6_scanin = i7_scanout ; | |
504 | assign i5_scanin = i6_scanout ; | |
505 | assign i4_scanin = i5_scanout ; | |
506 | assign i3_scanin = i4_scanout ; | |
507 | assign i2_scanin = i3_scanout ; | |
508 | assign i1_scanin = i2_scanout ; | |
509 | assign i0_scanin = i1_scanout ; | |
510 | assign scan_out = i0_scanout ; | |
511 | // fixscan end: | |
512 | endmodule | |
513 | ||
514 | //// scan renames | |
515 | //assign pce_ov = tcu_pce_ov; | |
516 | //assign stop = tcu_clk_stop; | |
517 | //assign siclk = tcu_aclk; | |
518 | //assign soclk = tcu_bclk; | |
519 | //// end scan | |
520 | // | |
521 | //// buffer the grant signal | |
522 | // | |
523 | //buff_macro i_buf_grant (width=1, stack=50c) | |
524 | //( | |
525 | // .din (arb_grant_a), | |
526 | // .dout (grant_a), | |
527 | // ); | |
528 | // | |
529 | //msff_macro i_dff_grant_x (width=12, stack=50c) | |
530 | //( | |
531 | // .scan_in(i_dff_grant_x_scanin), | |
532 | // .scan_out(i_dff_grant_x_scanout), | |
533 | // .clk (l2clk), | |
534 | // .din ({12{grant_a}}), | |
535 | // .dout (grant_x[11:0]), | |
536 | // .en (1'b1), | |
537 | // ); | |
538 | // | |
539 | // | |
540 | //// DATAPATH SECTION | |
541 | // | |
542 | //msff_macro i_dff_q1_2 (width=50, stack=50c) | |
543 | //( | |
544 | // .scan_in(i_dff_q1_2_scanin), | |
545 | // .scan_out(i_dff_q1_2_scanout), | |
546 | // .clk (l2clk), | |
547 | // .din (src_cpx_data_a[149:100]), | |
548 | // .dout (q1_dataout[149:100]), | |
549 | // .en (arb_qsel1_a), | |
550 | // ); | |
551 | // | |
552 | //msff_macro i_dff_q1_1 (width=50, stack=50c) | |
553 | //( | |
554 | // .scan_in(i_dff_q1_1_scanin), | |
555 | // .scan_out(i_dff_q1_1_scanout), | |
556 | // .clk (l2clk), | |
557 | // .din (src_cpx_data_a[99:50]), | |
558 | // .dout (q1_dataout[99:50]), | |
559 | // .en (arb_qsel1_a), | |
560 | // ); | |
561 | // | |
562 | //msff_macro i_dff_q1_0 (width=50, stack=50c) | |
563 | //( | |
564 | // .scan_in(i_dff_q1_0_scanin), | |
565 | // .scan_out(i_dff_q1_0_scanout), | |
566 | // .clk (l2clk), | |
567 | // .din (src_cpx_data_a[49:0]), | |
568 | // .dout (q1_dataout[49:0]), | |
569 | // .en (arb_qsel1_a), | |
570 | // ); | |
571 | // | |
572 | ////assign q0_datain_ca[149:0] = | |
573 | //// (arb_cpxdp_qsel0_ca ? src_cpx_data_ca[149:0] : 150'd0) | | |
574 | //// (arb_cpxdp_shift_cx ? q1_dataout[149:0] : 150'd0) ; | |
575 | // | |
576 | // | |
577 | //mux_macro i_mux_q0_2 (width=50, mux=aonpe, ports=2, stack=50c) | |
578 | //( | |
579 | // .din0 (src_cpx_data_a[149:100]), | |
580 | // .din1 (q1_dataout[149:100]), | |
581 | // .sel0 (arb_qsel0_a), | |
582 | // .sel1 (arb_shift_a), | |
583 | // .dout (q0_datain_a[149:100]), | |
584 | // ); | |
585 | // | |
586 | //mux_macro i_mux_q0_1 (width=50, mux=aonpe, ports=2, stack=50c) | |
587 | //( | |
588 | // .din0 (src_cpx_data_a[99:50]), | |
589 | // .din1 (q1_dataout[99:50]), | |
590 | // .sel0 (arb_qsel0_a), | |
591 | // .sel1 (arb_shift_a), | |
592 | // .dout (q0_datain_a[99:50]), | |
593 | // ); | |
594 | // | |
595 | //mux_macro i_mux_q0_0 (width=50, mux=aonpe, ports=2, stack=50c) | |
596 | //( | |
597 | // .din0 (src_cpx_data_a[49:0]), | |
598 | // .din1 (q1_dataout[49:0]), | |
599 | // .sel0 (arb_qsel0_a), | |
600 | // .sel1 (arb_shift_a), | |
601 | // .dout (q0_datain_a[49:0]), | |
602 | // ); | |
603 | // | |
604 | //msff_macro i_dff_q0_2 (width=50, stack=50c) | |
605 | //( | |
606 | // .scan_in(i_dff_q0_2_scanin), | |
607 | // .scan_out(i_dff_q0_2_scanout), | |
608 | // .clk (l2clk), | |
609 | // .din (q0_datain_a[149:100]), | |
610 | // .dout (q0_dataout[149:100]), | |
611 | // .en (arb_q0_holdbar_a), | |
612 | // ); | |
613 | // | |
614 | //msff_macro i_dff_q0_1 (width=50, stack=50c) | |
615 | //( | |
616 | // .scan_in(i_dff_q0_1_scanin), | |
617 | // .scan_out(i_dff_q0_1_scanout), | |
618 | // .clk (l2clk), | |
619 | // .din (q0_datain_a[99:50]), | |
620 | // .dout (q0_dataout[99:50]), | |
621 | // .en (arb_q0_holdbar_a), | |
622 | // ); | |
623 | // | |
624 | //msff_macro i_dff_q0_0 (width=50, stack=50c) | |
625 | //( | |
626 | // .scan_in(i_dff_q0_0_scanin), | |
627 | // .scan_out(i_dff_q0_0_scanout), | |
628 | // .clk (l2clk), | |
629 | // .din (q0_datain_a[49:0]), | |
630 | // .dout (q0_dataout[49:0]), | |
631 | // .en (arb_q0_holdbar_a), | |
632 | // ); | |
633 | // | |
634 | //// MUX | |
635 | //nand_macro i_nand_data_g_2 (width=50, ports=2, stack=50c) | |
636 | //( | |
637 | // .din0 (q0_dataout[149:100]), | |
638 | // .din1 ({{10{grant_x[11]}},{15{grant_x[10]}},{15{grant_x[9]}},{10{grant_x[8]}}}), | |
639 | // .dout (data_out_x_[149:100]), | |
640 | // ); | |
641 | // | |
642 | //nand_macro i_nand_data_g_1 (width=50, ports=2, stack=50c) | |
643 | //( | |
644 | // .din0 (q0_dataout[99:50]), | |
645 | // .din1 ({{10{grant_x[7]}},{15{grant_x[6]}},{15{grant_x[5]}},{10{grant_x[4]}}}), | |
646 | // .dout (data_out_x_[99:50]), | |
647 | // ); | |
648 | // | |
649 | //nand_macro i_nand_data_g_0 (width=50, ports=2, stack=50c) | |
650 | //( | |
651 | // .din0 (q0_dataout[49:0]), | |
652 | // .din1 ({{10{grant_x[3]}},{15{grant_x[2]}},{15{grant_x[1]}},{10{grant_x[0]}}}), | |
653 | // .dout (data_out_x_[49:0]), | |
654 | // ); | |
655 | // | |
656 | //// fixscan start: | |
657 | //assign i_dff_grant_x_scanin = scan_in ; | |
658 | //assign i_dff_q1_2_scanin = i_dff_grant_x_scanout ; | |
659 | //assign i_dff_q1_1_scanin = i_dff_q1_2_scanout ; | |
660 | //assign i_dff_q1_0_scanin = i_dff_q1_1_scanout ; | |
661 | //assign i_dff_q0_2_scanin = i_dff_q1_0_scanout ; | |
662 | //assign i_dff_q0_1_scanin = i_dff_q0_2_scanout ; | |
663 | //assign i_dff_q0_0_scanin = i_dff_q0_1_scanout ; | |
664 | //assign scan_out = i_dff_q0_0_scanout ; | |
665 | //// fixscan end: | |
666 | ||
667 | ||
668 | // | |
669 | // buff macro | |
670 | // | |
671 | // | |
672 | ||
673 | ||
674 | ||
675 | ||
676 | ||
677 | module cpx_mar_dp_buff_macro__dbuff_8x__stack_none__vertical_1__width_4 ( | |
678 | din, | |
679 | dout); | |
680 | input [3:0] din; | |
681 | output [3:0] dout; | |
682 | ||
683 | ||
684 | ||
685 | ||
686 | ||
687 | ||
688 | buff #(4) d0_0 ( | |
689 | .in(din[3:0]), | |
690 | .out(dout[3:0]) | |
691 | ); | |
692 | ||
693 | ||
694 | ||
695 | ||
696 | ||
697 | ||
698 | ||
699 | ||
700 | endmodule | |
701 | ||
702 | ||
703 | ||
704 | ||
705 | ||
706 | ||
707 | ||
708 | ||
709 | ||
710 | // any PARAMS parms go into naming of macro | |
711 | ||
712 | module cpx_mar_dp_ccx_l1clkhdr_ctl_macro__dl1hdr_24x ( | |
713 | l2clk, | |
714 | l1en, | |
715 | pce_ov, | |
716 | stop, | |
717 | se, | |
718 | l1clk); | |
719 | ||
720 | ||
721 | input l2clk; | |
722 | input l1en; | |
723 | input pce_ov; | |
724 | input stop; | |
725 | input se; | |
726 | output l1clk; | |
727 | ||
728 | ||
729 | ||
730 | ||
731 | ||
732 | cl_sc1_l1hdr_24x c_0 ( | |
733 | ||
734 | ||
735 | .l2clk(l2clk), | |
736 | .pce(l1en), | |
737 | .l1clk(l1clk), | |
738 | .se(se), | |
739 | .pce_ov(pce_ov), | |
740 | .stop(stop) | |
741 | ); | |
742 | ||
743 | ||
744 | ||
745 | ||
746 | ||
747 | ||
748 | endmodule | |
749 | ||
750 | ||
751 | ||
752 | ||
753 | ||
754 | ||
755 | ||
756 | ||
757 | ||
758 | // | |
759 | // ccx macro | |
760 | // | |
761 | // | |
762 | ||
763 | ||
764 | ||
765 | ||
766 | ||
767 | module cpx_mar_dp_ccx_new_macro__type_a ( | |
768 | l2clk, | |
769 | l1clk, | |
770 | pce0, | |
771 | pce1, | |
772 | pce_ov, | |
773 | se, | |
774 | stop, | |
775 | siclk_in, | |
776 | soclk_in, | |
777 | scan_in, | |
778 | grant_a, | |
779 | qsel0, | |
780 | shift, | |
781 | data_a, | |
782 | data_x_l, | |
783 | scan_out); | |
784 | wire so5; | |
785 | wire siclk_out; | |
786 | wire soclk_out; | |
787 | wire l1clk0; | |
788 | wire l1clk1; | |
789 | wire grant_x; | |
790 | wire qsel0_buf; | |
791 | wire shift_buf; | |
792 | ||
793 | input l2clk; | |
794 | input l1clk; | |
795 | input pce0; | |
796 | input pce1; | |
797 | input pce_ov; | |
798 | input se; | |
799 | input stop; | |
800 | input siclk_in; | |
801 | input soclk_in; | |
802 | input scan_in; | |
803 | input grant_a; | |
804 | input qsel0; | |
805 | input shift; | |
806 | input [9:0] data_a; | |
807 | output [9:0] data_x_l; | |
808 | output scan_out; | |
809 | cl_dp1_ccxhdr c0 ( | |
810 | .si(scan_in), | |
811 | .so(so5), | |
812 | .l2clk(l2clk), | |
813 | .pce0(pce0), | |
814 | .pce1(pce1), | |
815 | .pce_ov(pce_ov), | |
816 | .stop(stop), | |
817 | .siclk_in(siclk_in), | |
818 | .soclk_in(soclk_in), | |
819 | .siclk_out(siclk_out), | |
820 | .soclk_out(soclk_out), | |
821 | .l1clk0(l1clk0), | |
822 | .l1clk1(l1clk1), | |
823 | .se(se), | |
824 | .l1clk(l1clk), | |
825 | .grant_a(grant_a), | |
826 | .grant_x(grant_x), | |
827 | .qsel0(qsel0), | |
828 | .qsel0_buf(qsel0_buf), | |
829 | .shift(shift), | |
830 | .shift_buf(shift_buf) | |
831 | ); | |
832 | ||
833 | ||
834 | ||
835 | ||
836 | ||
837 | ||
838 | ccx_mac_a #(10) mac_a( | |
839 | .siclk(siclk_out), | |
840 | .soclk(soclk_out), | |
841 | .data_a(data_a[9:0]), | |
842 | .data_x_l(data_x_l[9:0]), | |
843 | .si(so5), | |
844 | .so(scan_out), | |
845 | .l1clk0(l1clk0), | |
846 | .l1clk1(l1clk1), | |
847 | .grant_x(grant_x), | |
848 | .qsel0_buf(qsel0_buf), | |
849 | .shift_buf(shift_buf) | |
850 | ); | |
851 | ||
852 | ||
853 | ||
854 | ||
855 | ||
856 | ||
857 | ||
858 | ||
859 | ||
860 | ||
861 | ||
862 | ||
863 | ||
864 | ||
865 | endmodule | |
866 | ||
867 | ||
868 | ||
869 | `endif // `ifndef FPGA | |
870 | ||
871 | `ifdef FPGA | |
872 | `timescale 1 ns / 100 ps | |
873 | module cpx_mar_dp(data_out_x_, arb_grant_a, arb_qsel0_a, arb_qsel1_a, | |
874 | arb_q0_holdbar_a, arb_shift_a, src_cpx_data_a, l2clk, scan_in, | |
875 | tcu_pce_ov, ccx_aclk, ccx_bclk, tcu_scan_en, scan_out, ccx_aclk_out, | |
876 | ccx_bclk_out, tcu_pce_ov_out, tcu_scan_en_out); | |
877 | ||
878 | output [149:0] data_out_x_; | |
879 | input arb_grant_a; | |
880 | input arb_qsel0_a; | |
881 | input arb_qsel1_a; | |
882 | input arb_q0_holdbar_a; | |
883 | input arb_shift_a; | |
884 | input [149:0] src_cpx_data_a; | |
885 | input l2clk; | |
886 | input scan_in; | |
887 | input tcu_pce_ov; | |
888 | input ccx_aclk; | |
889 | input ccx_bclk; | |
890 | input tcu_scan_en; | |
891 | output scan_out; | |
892 | output ccx_aclk_out; | |
893 | output ccx_bclk_out; | |
894 | output tcu_pce_ov_out; | |
895 | output tcu_scan_en_out; | |
896 | ||
897 | wire pce_ov; | |
898 | wire stop; | |
899 | wire siclk_in; | |
900 | wire soclk_in; | |
901 | wire se; | |
902 | wire [149:0] src_data_a; | |
903 | wire l1clka; | |
904 | wire l1clkb; | |
905 | wire i0_scanin; | |
906 | wire i0_scanout; | |
907 | wire i1_scanin; | |
908 | wire i1_scanout; | |
909 | wire i2_scanin; | |
910 | wire i2_scanout; | |
911 | wire i3_scanin; | |
912 | wire i3_scanout; | |
913 | wire i4_scanin; | |
914 | wire i4_scanout; | |
915 | wire i5_scanin; | |
916 | wire i5_scanout; | |
917 | wire i6_scanin; | |
918 | wire i6_scanout; | |
919 | wire i7_scanin; | |
920 | wire i7_scanout; | |
921 | wire i8_scanin; | |
922 | wire i8_scanout; | |
923 | wire i9_scanin; | |
924 | wire i9_scanout; | |
925 | wire i10_scanin; | |
926 | wire i10_scanout; | |
927 | wire i11_scanin; | |
928 | wire i11_scanout; | |
929 | wire i12_scanin; | |
930 | wire i12_scanout; | |
931 | wire i13_scanin; | |
932 | wire i13_scanout; | |
933 | wire i14_scanin; | |
934 | wire i14_scanout; | |
935 | ||
936 | assign pce_ov = tcu_pce_ov_out; | |
937 | assign stop = 1'b0; | |
938 | assign siclk_in = ccx_aclk_out; | |
939 | assign soclk_in = ccx_bclk_out; | |
940 | assign se = tcu_scan_en_out; | |
941 | assign src_data_a[149:0] = src_cpx_data_a[149:0]; | |
942 | assign i14_scanin = scan_in; | |
943 | assign i13_scanin = i14_scanout; | |
944 | assign i12_scanin = i13_scanout; | |
945 | assign i11_scanin = i12_scanout; | |
946 | assign i10_scanin = i11_scanout; | |
947 | assign i9_scanin = i10_scanout; | |
948 | assign i8_scanin = i9_scanout; | |
949 | assign i7_scanin = i8_scanout; | |
950 | assign i6_scanin = i7_scanout; | |
951 | assign i5_scanin = i6_scanout; | |
952 | assign i4_scanin = i5_scanout; | |
953 | assign i3_scanin = i4_scanout; | |
954 | assign i2_scanin = i3_scanout; | |
955 | assign i1_scanin = i2_scanout; | |
956 | assign i0_scanin = i1_scanout; | |
957 | assign scan_out = i0_scanout; | |
958 | ||
959 | buff_macro__dbuff_8x__stack_none__vertical_1__width_4 buf_hfn( | |
960 | .din ({ccx_aclk, ccx_bclk, | |
961 | tcu_pce_ov, tcu_scan_en}), | |
962 | .dout ({ccx_aclk_out, ccx_bclk_out, | |
963 | tcu_pce_ov_out, tcu_scan_en_out})); | |
964 | ccx_l1clkhdr_ctl_macro__dl1hdr_24x gkt_hdra( | |
965 | .l2clk (l2clk), | |
966 | .l1en (1'b1), | |
967 | .l1clk (l1clka), | |
968 | .pce_ov (pce_ov), | |
969 | .stop (stop), | |
970 | .se (se)); | |
971 | ccx_l1clkhdr_ctl_macro__dl1hdr_24x gkt_hdrb( | |
972 | .l2clk (l2clk), | |
973 | .l1en (1'b1), | |
974 | .l1clk (l1clkb), | |
975 | .pce_ov (pce_ov), | |
976 | .stop (stop), | |
977 | .se (se)); | |
978 | ccx_new_macro__type_a i0( | |
979 | .data_x_l (data_out_x_[9:0]), | |
980 | .scan_in (i0_scanin), | |
981 | .scan_out (i0_scanout), | |
982 | .l2clk (l2clk), | |
983 | .l1clk (l1clka), | |
984 | .pce0 (arb_q0_holdbar_a), | |
985 | .pce1 (arb_qsel1_a), | |
986 | .pce_ov (pce_ov), | |
987 | .stop (stop), | |
988 | .siclk_in (siclk_in), | |
989 | .soclk_in (soclk_in), | |
990 | .grant_a (arb_grant_a), | |
991 | .qsel0 (arb_qsel0_a), | |
992 | .shift (arb_shift_a), | |
993 | .data_a (src_data_a[9:0]), | |
994 | .se (se)); | |
995 | ccx_new_macro__type_a i1( | |
996 | .data_x_l (data_out_x_[19:10]), | |
997 | .scan_in (i1_scanin), | |
998 | .scan_out (i1_scanout), | |
999 | .l2clk (l2clk), | |
1000 | .l1clk (l1clka), | |
1001 | .pce0 (arb_q0_holdbar_a), | |
1002 | .pce1 (arb_qsel1_a), | |
1003 | .pce_ov (pce_ov), | |
1004 | .stop (stop), | |
1005 | .siclk_in (siclk_in), | |
1006 | .soclk_in (soclk_in), | |
1007 | .grant_a (arb_grant_a), | |
1008 | .qsel0 (arb_qsel0_a), | |
1009 | .shift (arb_shift_a), | |
1010 | .data_a (src_data_a[19:10]), | |
1011 | .se (se)); | |
1012 | ccx_new_macro__type_a i2( | |
1013 | .data_x_l (data_out_x_[29:20]), | |
1014 | .scan_in (i2_scanin), | |
1015 | .scan_out (i2_scanout), | |
1016 | .l2clk (l2clk), | |
1017 | .l1clk (l1clka), | |
1018 | .pce0 (arb_q0_holdbar_a), | |
1019 | .pce1 (arb_qsel1_a), | |
1020 | .pce_ov (pce_ov), | |
1021 | .stop (stop), | |
1022 | .siclk_in (siclk_in), | |
1023 | .soclk_in (soclk_in), | |
1024 | .grant_a (arb_grant_a), | |
1025 | .qsel0 (arb_qsel0_a), | |
1026 | .shift (arb_shift_a), | |
1027 | .data_a (src_data_a[29:20]), | |
1028 | .se (se)); | |
1029 | ccx_new_macro__type_a i3( | |
1030 | .data_x_l (data_out_x_[39:30]), | |
1031 | .scan_in (i3_scanin), | |
1032 | .scan_out (i3_scanout), | |
1033 | .l2clk (l2clk), | |
1034 | .l1clk (l1clka), | |
1035 | .pce0 (arb_q0_holdbar_a), | |
1036 | .pce1 (arb_qsel1_a), | |
1037 | .pce_ov (pce_ov), | |
1038 | .stop (stop), | |
1039 | .siclk_in (siclk_in), | |
1040 | .soclk_in (soclk_in), | |
1041 | .grant_a (arb_grant_a), | |
1042 | .qsel0 (arb_qsel0_a), | |
1043 | .shift (arb_shift_a), | |
1044 | .data_a (src_data_a[39:30]), | |
1045 | .se (se)); | |
1046 | ccx_new_macro__type_a i4( | |
1047 | .data_x_l (data_out_x_[49:40]), | |
1048 | .scan_in (i4_scanin), | |
1049 | .scan_out (i4_scanout), | |
1050 | .l2clk (l2clk), | |
1051 | .l1clk (l1clka), | |
1052 | .pce0 (arb_q0_holdbar_a), | |
1053 | .pce1 (arb_qsel1_a), | |
1054 | .pce_ov (pce_ov), | |
1055 | .stop (stop), | |
1056 | .siclk_in (siclk_in), | |
1057 | .soclk_in (soclk_in), | |
1058 | .grant_a (arb_grant_a), | |
1059 | .qsel0 (arb_qsel0_a), | |
1060 | .shift (arb_shift_a), | |
1061 | .data_a (src_data_a[49:40]), | |
1062 | .se (se)); | |
1063 | ccx_new_macro__type_a i5( | |
1064 | .data_x_l (data_out_x_[59:50]), | |
1065 | .scan_in (i5_scanin), | |
1066 | .scan_out (i5_scanout), | |
1067 | .l2clk (l2clk), | |
1068 | .l1clk (l1clka), | |
1069 | .pce0 (arb_q0_holdbar_a), | |
1070 | .pce1 (arb_qsel1_a), | |
1071 | .pce_ov (pce_ov), | |
1072 | .stop (stop), | |
1073 | .siclk_in (siclk_in), | |
1074 | .soclk_in (soclk_in), | |
1075 | .grant_a (arb_grant_a), | |
1076 | .qsel0 (arb_qsel0_a), | |
1077 | .shift (arb_shift_a), | |
1078 | .data_a (src_data_a[59:50]), | |
1079 | .se (se)); | |
1080 | ccx_new_macro__type_a i6( | |
1081 | .data_x_l (data_out_x_[69:60]), | |
1082 | .scan_in (i6_scanin), | |
1083 | .scan_out (i6_scanout), | |
1084 | .l2clk (l2clk), | |
1085 | .l1clk (l1clka), | |
1086 | .pce0 (arb_q0_holdbar_a), | |
1087 | .pce1 (arb_qsel1_a), | |
1088 | .pce_ov (pce_ov), | |
1089 | .stop (stop), | |
1090 | .siclk_in (siclk_in), | |
1091 | .soclk_in (soclk_in), | |
1092 | .grant_a (arb_grant_a), | |
1093 | .qsel0 (arb_qsel0_a), | |
1094 | .shift (arb_shift_a), | |
1095 | .data_a (src_data_a[69:60]), | |
1096 | .se (se)); | |
1097 | ccx_new_macro__type_a i7( | |
1098 | .data_x_l (data_out_x_[79:70]), | |
1099 | .scan_in (i7_scanin), | |
1100 | .scan_out (i7_scanout), | |
1101 | .l2clk (l2clk), | |
1102 | .l1clk (l1clka), | |
1103 | .pce0 (arb_q0_holdbar_a), | |
1104 | .pce1 (arb_qsel1_a), | |
1105 | .pce_ov (pce_ov), | |
1106 | .stop (stop), | |
1107 | .siclk_in (siclk_in), | |
1108 | .soclk_in (soclk_in), | |
1109 | .grant_a (arb_grant_a), | |
1110 | .qsel0 (arb_qsel0_a), | |
1111 | .shift (arb_shift_a), | |
1112 | .data_a (src_data_a[79:70]), | |
1113 | .se (se)); | |
1114 | ccx_new_macro__type_a i8( | |
1115 | .data_x_l (data_out_x_[89:80]), | |
1116 | .scan_in (i8_scanin), | |
1117 | .scan_out (i8_scanout), | |
1118 | .l2clk (l2clk), | |
1119 | .l1clk (l1clkb), | |
1120 | .pce0 (arb_q0_holdbar_a), | |
1121 | .pce1 (arb_qsel1_a), | |
1122 | .pce_ov (pce_ov), | |
1123 | .stop (stop), | |
1124 | .siclk_in (siclk_in), | |
1125 | .soclk_in (soclk_in), | |
1126 | .grant_a (arb_grant_a), | |
1127 | .qsel0 (arb_qsel0_a), | |
1128 | .shift (arb_shift_a), | |
1129 | .data_a (src_data_a[89:80]), | |
1130 | .se (se)); | |
1131 | ccx_new_macro__type_a i9( | |
1132 | .data_x_l (data_out_x_[99:90]), | |
1133 | .scan_in (i9_scanin), | |
1134 | .scan_out (i9_scanout), | |
1135 | .l2clk (l2clk), | |
1136 | .l1clk (l1clkb), | |
1137 | .pce0 (arb_q0_holdbar_a), | |
1138 | .pce1 (arb_qsel1_a), | |
1139 | .pce_ov (pce_ov), | |
1140 | .stop (stop), | |
1141 | .siclk_in (siclk_in), | |
1142 | .soclk_in (soclk_in), | |
1143 | .grant_a (arb_grant_a), | |
1144 | .qsel0 (arb_qsel0_a), | |
1145 | .shift (arb_shift_a), | |
1146 | .data_a (src_data_a[99:90]), | |
1147 | .se (se)); | |
1148 | ccx_new_macro__type_a i10( | |
1149 | .data_x_l (data_out_x_[109:100]), | |
1150 | .scan_in (i10_scanin), | |
1151 | .scan_out (i10_scanout), | |
1152 | .l2clk (l2clk), | |
1153 | .l1clk (l1clkb), | |
1154 | .pce0 (arb_q0_holdbar_a), | |
1155 | .pce1 (arb_qsel1_a), | |
1156 | .pce_ov (pce_ov), | |
1157 | .stop (stop), | |
1158 | .siclk_in (siclk_in), | |
1159 | .soclk_in (soclk_in), | |
1160 | .grant_a (arb_grant_a), | |
1161 | .qsel0 (arb_qsel0_a), | |
1162 | .shift (arb_shift_a), | |
1163 | .data_a (src_data_a[109:100]), | |
1164 | .se (se)); | |
1165 | ccx_new_macro__type_a i11( | |
1166 | .data_x_l (data_out_x_[119:110]), | |
1167 | .scan_in (i11_scanin), | |
1168 | .scan_out (i11_scanout), | |
1169 | .l2clk (l2clk), | |
1170 | .l1clk (l1clkb), | |
1171 | .pce0 (arb_q0_holdbar_a), | |
1172 | .pce1 (arb_qsel1_a), | |
1173 | .pce_ov (pce_ov), | |
1174 | .stop (stop), | |
1175 | .siclk_in (siclk_in), | |
1176 | .soclk_in (soclk_in), | |
1177 | .grant_a (arb_grant_a), | |
1178 | .qsel0 (arb_qsel0_a), | |
1179 | .shift (arb_shift_a), | |
1180 | .data_a (src_data_a[119:110]), | |
1181 | .se (se)); | |
1182 | ccx_new_macro__type_a i12( | |
1183 | .data_x_l (data_out_x_[129:120]), | |
1184 | .scan_in (i12_scanin), | |
1185 | .scan_out (i12_scanout), | |
1186 | .l2clk (l2clk), | |
1187 | .l1clk (l1clkb), | |
1188 | .pce0 (arb_q0_holdbar_a), | |
1189 | .pce1 (arb_qsel1_a), | |
1190 | .pce_ov (pce_ov), | |
1191 | .stop (stop), | |
1192 | .siclk_in (siclk_in), | |
1193 | .soclk_in (soclk_in), | |
1194 | .grant_a (arb_grant_a), | |
1195 | .qsel0 (arb_qsel0_a), | |
1196 | .shift (arb_shift_a), | |
1197 | .data_a (src_data_a[129:120]), | |
1198 | .se (se)); | |
1199 | ccx_new_macro__type_a i13( | |
1200 | .data_x_l (data_out_x_[139:130]), | |
1201 | .scan_in (i13_scanin), | |
1202 | .scan_out (i13_scanout), | |
1203 | .l2clk (l2clk), | |
1204 | .l1clk (l1clkb), | |
1205 | .pce0 (arb_q0_holdbar_a), | |
1206 | .pce1 (arb_qsel1_a), | |
1207 | .pce_ov (pce_ov), | |
1208 | .stop (stop), | |
1209 | .siclk_in (siclk_in), | |
1210 | .soclk_in (soclk_in), | |
1211 | .grant_a (arb_grant_a), | |
1212 | .qsel0 (arb_qsel0_a), | |
1213 | .shift (arb_shift_a), | |
1214 | .data_a (src_data_a[139:130]), | |
1215 | .se (se)); | |
1216 | ccx_new_macro__type_a i14( | |
1217 | .data_x_l (data_out_x_[149:140]), | |
1218 | .scan_in (i14_scanin), | |
1219 | .scan_out (i14_scanout), | |
1220 | .l2clk (l2clk), | |
1221 | .l1clk (l1clkb), | |
1222 | .pce0 (arb_q0_holdbar_a), | |
1223 | .pce1 (arb_qsel1_a), | |
1224 | .pce_ov (pce_ov), | |
1225 | .stop (stop), | |
1226 | .siclk_in (siclk_in), | |
1227 | .soclk_in (soclk_in), | |
1228 | .grant_a (arb_grant_a), | |
1229 | .qsel0 (arb_qsel0_a), | |
1230 | .shift (arb_shift_a), | |
1231 | .data_a (src_data_a[149:140]), | |
1232 | .se (se)); | |
1233 | endmodule | |
1234 | ||
1235 | /* Source file "cpx_pcx_fpga_files/ccx_tokens_frm_fpga_flist", line 16404 */ | |
1236 | `timescale 1 ns / 100 ps | |
1237 | module ccx_new_macro__type_a(l2clk, l1clk, pce0, pce1, pce_ov, se, stop, | |
1238 | siclk_in, soclk_in, scan_in, grant_a, qsel0, shift, data_a, data_x_l, | |
1239 | scan_out); | |
1240 | ||
1241 | input l2clk; | |
1242 | input l1clk; | |
1243 | input pce0; | |
1244 | input pce1; | |
1245 | input pce_ov; | |
1246 | input se; | |
1247 | input stop; | |
1248 | input siclk_in; | |
1249 | input soclk_in; | |
1250 | input scan_in; | |
1251 | input grant_a; | |
1252 | input qsel0; | |
1253 | input shift; | |
1254 | input [9:0] data_a; | |
1255 | output [9:0] data_x_l; | |
1256 | output scan_out; | |
1257 | ||
1258 | wire so5; | |
1259 | wire siclk_out; | |
1260 | wire soclk_out; | |
1261 | wire l1clk0; | |
1262 | wire l1clk1; | |
1263 | wire grant_x; | |
1264 | wire qsel0_buf; | |
1265 | wire shift_buf; | |
1266 | ||
1267 | cl_dp1_ccxhdr c0( | |
1268 | .si (scan_in), | |
1269 | .so (so5), | |
1270 | .l2clk (l2clk), | |
1271 | ||
1272 | .pce0 (pce0), | |
1273 | .pce1 (pce1), | |
1274 | .pce_ov (pce_ov), | |
1275 | .stop (stop), | |
1276 | .siclk_in (siclk_in), | |
1277 | .soclk_in (soclk_in), | |
1278 | .siclk_out (siclk_out), | |
1279 | .soclk_out (soclk_out), | |
1280 | .l1clk0 (l1clk0), | |
1281 | .l1clk1 (l1clk1), | |
1282 | .se (se), | |
1283 | .l1clk (l1clk), | |
1284 | .grant_a (grant_a), | |
1285 | .grant_x (grant_x), | |
1286 | .qsel0 (qsel0), | |
1287 | .qsel0_buf (qsel0_buf), | |
1288 | .shift (shift), | |
1289 | .shift_buf (shift_buf)); | |
1290 | ccx_mac_a #(10) mac_a( | |
1291 | .siclk (siclk_out), | |
1292 | .soclk (soclk_out), | |
1293 | .data_a (data_a[9:0]), | |
1294 | .data_x_l (data_x_l[9:0]), | |
1295 | .si (so5), | |
1296 | .so (scan_out), | |
1297 | .l1clk0 (l1clk0), | |
1298 | .l1clk1 (l1clk1), | |
1299 | .grant_x (grant_x), | |
1300 | .qsel0_buf (qsel0_buf), | |
1301 | .shift_buf (shift_buf)); | |
1302 | endmodule | |
1303 | ||
1304 | ||
1305 | ||
1306 | ||
1307 | `endif // `ifdef FPGA | |
1308 |