Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / design / sys / iop / tcu / rtl / tcu.v
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: tcu.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`define CNT_ADDR_HI 14
36`define CNT_ADDR_LO 12
37`define IAB_ADDR_HI 11
38`define IAB_ADDR_LO 9
39`define DAB_ADDR_HI 8
40`define DAB_ADDR_LO 6
41`define EXT_ADDR_HI 5
42`define EXT_ADDR_LO 3
43`define AE_ADDR_HI 2
44`define AE_ADDR_LO 0
45
46//debug event codes
47`define WATCH_POINT 2'b00
48`define HARD_STOP 2'b01
49`define SOFT_STOP 2'b10
50`define START_COUNT 2'b11
51
52//debug event status bit location
53`define CNT 4
54`define IAB 3
55`define DAB 2
56`define EXT 1
57`define AE 0
58
59// UCB defines, copied from Niagara iop/include/sys.h or iop.h
60`define UCB_BUF_HI 11 // (2) buffer ID
61`define UCB_BUF_LO 10
62`define UCB_THR_HI 9 // (6) cpu/thread ID
63`define UCB_THR_LO 4
64`define UCB_DATA_HI 127 // (64) data
65`define UCB_DATA_LO 64
66`define UCB_PKT_HI 3 // (4) packet type
67`define UCB_PKT_LO 0
68`define UCB_READ_ACK 4'b0001
69`define UCB_READ_REQ 4'b0100 // req types
70`define UCB_WRITE_ACK 4'b0010
71`define UCB_WRITE_REQ 4'b0101
72`define UCB_SIZE_HI 14 // (3) request size
73`define UCB_SIZE_LO 12
74`define UCB_BID_TAP 2'b01
75`define UCB_ADDR_HI 54 // (40) bit address
76`define UCB_ADDR_LO 15
77`define PCX_SZ_8B 3'b011 // encoding for 8B access
78
79// MBIST Defines
80`define NUM_TOTAL_MBIST_M1 47
81`define NUM_TOTAL_MBIST 48
82
83`define NUM_TOTAL_LBIST 8
84`define NUM_TOTAL_LBIST_M1 7
85
86`define MBIST_IDLE 4'd0
87`define POR_CLR_DF 4'd1
88`define POR_START 4'd2
89`define POR_CLR_START 4'd3
90`define POR_END_WAIT 4'd4
91`define WMR_DUMMY 4'd5
92`define WMR_CLR_DF 4'd6
93`define WMR_START 4'd7
94`define WMR_CLR_START 4'd8
95`define WMR_END_WAIT 4'd9
96`define BISX_CLR_DF 4'd10
97`define BISX_START 4'd11
98`define BISX_CLR_START 4'd12
99
100
101
102module tcu (
103 gclk,
104 ccu_cmp_io_sync_en,
105 ccu_io_cmp_sync_en,
106 ccu_cmp_io2x_sync_en,
107 ccu_cmp_dr_sync_en,
108 ccu_io_out,
109 cluster_arst_l,
110 tcu_ccu_clk_stop,
111 tcu_ccu_io_clk_stop,
112 io_test_mode,
113 jtag_revid_out,
114 spc0_tcu_scan_in,
115 spc1_tcu_scan_in,
116 spc2_tcu_scan_in,
117 spc3_tcu_scan_in,
118 spc4_tcu_scan_in,
119 spc5_tcu_scan_in,
120 spc6_tcu_scan_in,
121 spc7_tcu_scan_in,
122 soca_tcu_scan_in,
123 socb_tcu_scan_in,
124 socc_tcu_scan_in,
125 socd_tcu_scan_in,
126 soce_tcu_scan_in,
127 socf_tcu_scan_in,
128 socg_tcu_scan_in,
129 soch_tcu_scan_in,
130 soc0_tcu_scan_in,
131 soc1_tcu_scan_in,
132 soc2_tcu_scan_in,
133 soc3_tcu_scan_in,
134 soc4_tcu_scan_in,
135 soc5_tcu_scan_in,
136 soc6_tcu_scan_in,
137 peu_tcu_scan_in,
138 ccu_tcu_scan_in,
139 io_tms,
140 io_tdi,
141 io_trst_l,
142 io_tck,
143 tcu_mio_tdo,
144 tcu_mio_tdo_en,
145 tcu_ncu_stall,
146 ncu_tcu_vld,
147 ncu_tcu_data,
148 tcu_ncu_vld,
149 tcu_ncu_data,
150 ncu_tcu_stall,
151 tcu_sck_bypass,
152 tcu_aclk,
153 tcu_bclk,
154 tcu_pce_ov,
155 tcu_scan_en,
156 tcu_spc0_scan_out,
157 tcu_spc1_scan_out,
158 tcu_spc2_scan_out,
159 tcu_spc3_scan_out,
160 tcu_spc4_scan_out,
161 tcu_spc5_scan_out,
162 tcu_spc6_scan_out,
163 tcu_spc7_scan_out,
164 tcu_soca_scan_out,
165 tcu_socb_scan_out,
166 tcu_socc_scan_out,
167 tcu_socd_scan_out,
168 tcu_soce_scan_out,
169 tcu_socf_scan_out,
170 tcu_socg_scan_out,
171 tcu_soch_scan_out,
172 tcu_soc0_scan_out,
173 tcu_soc1_scan_out,
174 tcu_soc2_scan_out,
175 tcu_soc3_scan_out,
176 tcu_soc4_scan_out,
177 tcu_soc5_scan_out,
178 tcu_soc6_scan_out,
179 tcu_peu_scan_out,
180 tcu_rst_scan_out,
181 tcu_spc0_aclk,
182 tcu_spc0_bclk,
183 tcu_spc0_scan_en,
184 tcu_spc0_se_scancollar_in,
185 tcu_spc0_se_scancollar_out,
186 tcu_spc0_array_wr_inhibit,
187 tcu_spc1_aclk,
188 tcu_spc1_bclk,
189 tcu_spc1_scan_en,
190 tcu_spc1_se_scancollar_in,
191 tcu_spc1_se_scancollar_out,
192 tcu_spc1_array_wr_inhibit,
193 tcu_spc2_aclk,
194 tcu_spc2_bclk,
195 tcu_spc2_scan_en,
196 tcu_spc2_se_scancollar_in,
197 tcu_spc2_se_scancollar_out,
198 tcu_spc2_array_wr_inhibit,
199 tcu_spc3_aclk,
200 tcu_spc3_bclk,
201 tcu_spc3_scan_en,
202 tcu_spc3_se_scancollar_in,
203 tcu_spc3_se_scancollar_out,
204 tcu_spc3_array_wr_inhibit,
205 tcu_spc4_aclk,
206 tcu_spc4_bclk,
207 tcu_spc4_scan_en,
208 tcu_spc4_se_scancollar_in,
209 tcu_spc4_se_scancollar_out,
210 tcu_spc4_array_wr_inhibit,
211 tcu_spc5_aclk,
212 tcu_spc5_bclk,
213 tcu_spc5_scan_en,
214 tcu_spc5_se_scancollar_in,
215 tcu_spc5_se_scancollar_out,
216 tcu_spc5_array_wr_inhibit,
217 tcu_spc6_aclk,
218 tcu_spc6_bclk,
219 tcu_spc6_scan_en,
220 tcu_spc6_se_scancollar_in,
221 tcu_spc6_se_scancollar_out,
222 tcu_spc6_array_wr_inhibit,
223 tcu_spc7_aclk,
224 tcu_spc7_bclk,
225 tcu_spc7_scan_en,
226 tcu_spc7_se_scancollar_in,
227 tcu_spc7_se_scancollar_out,
228 tcu_spc7_array_wr_inhibit,
229 tcu_asic_aclk,
230 tcu_asic_bclk,
231 tcu_asic_scan_en,
232 tcu_asic_se_scancollar_in,
233 tcu_asic_se_scancollar_out,
234 tcu_asic_array_wr_inhibit,
235 tcu_spc0_clk_stop,
236 tcu_spc1_clk_stop,
237 tcu_spc2_clk_stop,
238 tcu_spc3_clk_stop,
239 tcu_spc4_clk_stop,
240 tcu_spc5_clk_stop,
241 tcu_spc6_clk_stop,
242 tcu_spc7_clk_stop,
243 tcu_l2d0_clk_stop,
244 tcu_l2d1_clk_stop,
245 tcu_l2d2_clk_stop,
246 tcu_l2d3_clk_stop,
247 tcu_l2d4_clk_stop,
248 tcu_l2d5_clk_stop,
249 tcu_l2d6_clk_stop,
250 tcu_l2d7_clk_stop,
251 tcu_l2t0_clk_stop,
252 tcu_l2t1_clk_stop,
253 tcu_l2t2_clk_stop,
254 tcu_l2t3_clk_stop,
255 tcu_l2t4_clk_stop,
256 tcu_l2t5_clk_stop,
257 tcu_l2t6_clk_stop,
258 tcu_l2t7_clk_stop,
259 tcu_l2b0_clk_stop,
260 tcu_l2b1_clk_stop,
261 tcu_l2b2_clk_stop,
262 tcu_l2b3_clk_stop,
263 tcu_l2b4_clk_stop,
264 tcu_l2b5_clk_stop,
265 tcu_l2b6_clk_stop,
266 tcu_l2b7_clk_stop,
267 tcu_mcu0_clk_stop,
268 tcu_mcu0_dr_clk_stop,
269 tcu_mcu0_io_clk_stop,
270 tcu_mcu0_fbd_clk_stop,
271 tcu_mcu1_clk_stop,
272 tcu_mcu1_dr_clk_stop,
273 tcu_mcu1_io_clk_stop,
274 tcu_mcu1_fbd_clk_stop,
275 tcu_mcu2_clk_stop,
276 tcu_mcu2_dr_clk_stop,
277 tcu_mcu2_io_clk_stop,
278 tcu_mcu2_fbd_clk_stop,
279 tcu_mcu3_clk_stop,
280 tcu_mcu3_dr_clk_stop,
281 tcu_mcu3_io_clk_stop,
282 tcu_mcu3_fbd_clk_stop,
283 tcu_ccx_clk_stop,
284 tcu_sii_clk_stop,
285 tcu_sii_io_clk_stop,
286 tcu_sio_clk_stop,
287 tcu_sio_io_clk_stop,
288 tcu_ncu_clk_stop,
289 tcu_ncu_io_clk_stop,
290 tcu_efu_clk_stop,
291 tcu_efu_io_clk_stop,
292 tcu_rst_clk_stop,
293 tcu_rst_io_clk_stop,
294 tcu_dmu_io_clk_stop,
295 tcu_rdp_io_clk_stop,
296 tcu_mac_io_clk_stop,
297 tcu_rtx_io_clk_stop,
298 tcu_tds_io_clk_stop,
299 tcu_peu_pc_clk_stop,
300 tcu_peu_io_clk_stop,
301 tcu_mcu_testmode,
302 tcu_dectest,
303 tcu_muxtest,
304 tcu_sii_data,
305 tcu_sii_vld,
306 sio_tcu_data,
307 sio_tcu_vld,
308 tcu_efu_rowaddr,
309 tcu_efu_coladdr,
310 tcu_efu_read_en,
311 tcu_efu_read_mode,
312 tcu_efu_read_start,
313 tcu_efu_fuse_bypass,
314 tcu_efu_dest_sample,
315 tcu_efu_data_in,
316 efu_tcu_data_out,
317 tcu_efu_updatedr,
318 tcu_efu_shiftdr,
319 tcu_efu_capturedr,
320 tck,
321 tcu_efu_rvclr,
322 tcu_rst_efu_done,
323 tcu_test_protect,
324 tcu_dbr_gateoff,
325 tcu_spc_mbist_start,
326 tcu_mbist_bisi_en,
327 tcu_mbist_user_mode,
328 spc0_tcu_mbist_done,
329 spc0_tcu_mbist_fail,
330 spc0_tcu_mbist_scan_in,
331 tcu_spc0_mbist_scan_out,
332 spc1_tcu_mbist_done,
333 spc1_tcu_mbist_fail,
334 spc1_tcu_mbist_scan_in,
335 tcu_spc1_mbist_scan_out,
336 spc2_tcu_mbist_done,
337 spc2_tcu_mbist_fail,
338 spc2_tcu_mbist_scan_in,
339 tcu_spc2_mbist_scan_out,
340 spc3_tcu_mbist_done,
341 spc3_tcu_mbist_fail,
342 spc3_tcu_mbist_scan_in,
343 tcu_spc3_mbist_scan_out,
344 spc4_tcu_mbist_done,
345 spc4_tcu_mbist_fail,
346 spc4_tcu_mbist_scan_in,
347 tcu_spc4_mbist_scan_out,
348 spc5_tcu_mbist_done,
349 spc5_tcu_mbist_fail,
350 spc5_tcu_mbist_scan_in,
351 tcu_spc5_mbist_scan_out,
352 spc6_tcu_mbist_done,
353 spc6_tcu_mbist_fail,
354 spc6_tcu_mbist_scan_in,
355 tcu_spc6_mbist_scan_out,
356 spc7_tcu_mbist_done,
357 spc7_tcu_mbist_fail,
358 spc7_tcu_mbist_scan_in,
359 tcu_spc7_mbist_scan_out,
360 tcu_sii_mbist_start,
361 tcu_sii_mbist_scan_in,
362 sii_tcu_mbist_done,
363 sii_tcu_mbist_fail,
364 sii_tcu_mbist_scan_out,
365 tcu_sio_mbist_start,
366 tcu_sio_mbist_scan_in,
367 sio_tcu_mbist_done,
368 sio_tcu_mbist_fail,
369 sio_tcu_mbist_scan_out,
370 tcu_ncu_mbist_start,
371 tcu_ncu_mbist_scan_in,
372 ncu_tcu_mbist_done,
373 ncu_tcu_mbist_fail,
374 ncu_tcu_mbist_scan_out,
375 tcu_mcu0_mbist_start,
376 tcu_mcu0_mbist_scan_in,
377 mcu0_tcu_mbist_done,
378 mcu0_tcu_mbist_fail,
379 mcu0_tcu_mbist_scan_out,
380 tcu_mcu1_mbist_start,
381 tcu_mcu1_mbist_scan_in,
382 mcu1_tcu_mbist_done,
383 mcu1_tcu_mbist_fail,
384 mcu1_tcu_mbist_scan_out,
385 tcu_mcu2_mbist_start,
386 tcu_mcu2_mbist_scan_in,
387 mcu2_tcu_mbist_done,
388 mcu2_tcu_mbist_fail,
389 mcu2_tcu_mbist_scan_out,
390 tcu_mcu3_mbist_start,
391 tcu_mcu3_mbist_scan_in,
392 mcu3_tcu_mbist_done,
393 mcu3_tcu_mbist_fail,
394 mcu3_tcu_mbist_scan_out,
395 tcu_l2b0_mbist_start,
396 tcu_l2b0_mbist_scan_in,
397 l2b0_tcu_mbist_done,
398 l2b0_tcu_mbist_fail,
399 l2b0_tcu_mbist_scan_out,
400 tcu_l2b1_mbist_start,
401 tcu_l2b1_mbist_scan_in,
402 l2b1_tcu_mbist_done,
403 l2b1_tcu_mbist_fail,
404 l2b1_tcu_mbist_scan_out,
405 tcu_l2b2_mbist_start,
406 tcu_l2b2_mbist_scan_in,
407 l2b2_tcu_mbist_done,
408 l2b2_tcu_mbist_fail,
409 l2b2_tcu_mbist_scan_out,
410 tcu_l2b3_mbist_start,
411 tcu_l2b3_mbist_scan_in,
412 l2b3_tcu_mbist_done,
413 l2b3_tcu_mbist_fail,
414 l2b3_tcu_mbist_scan_out,
415 tcu_l2b4_mbist_start,
416 tcu_l2b4_mbist_scan_in,
417 l2b4_tcu_mbist_done,
418 l2b4_tcu_mbist_fail,
419 l2b4_tcu_mbist_scan_out,
420 tcu_l2b5_mbist_start,
421 tcu_l2b5_mbist_scan_in,
422 l2b5_tcu_mbist_done,
423 l2b5_tcu_mbist_fail,
424 l2b5_tcu_mbist_scan_out,
425 tcu_l2b6_mbist_start,
426 tcu_l2b6_mbist_scan_in,
427 l2b6_tcu_mbist_done,
428 l2b6_tcu_mbist_fail,
429 l2b6_tcu_mbist_scan_out,
430 tcu_l2b7_mbist_start,
431 tcu_l2b7_mbist_scan_in,
432 l2b7_tcu_mbist_done,
433 l2b7_tcu_mbist_fail,
434 l2b7_tcu_mbist_scan_out,
435 tcu_l2t0_mbist_start,
436 tcu_l2t0_mbist_scan_in,
437 l2t0_tcu_mbist_done,
438 l2t0_tcu_mbist_fail,
439 l2t0_tcu_mbist_scan_out,
440 tcu_l2t1_mbist_start,
441 tcu_l2t1_mbist_scan_in,
442 l2t1_tcu_mbist_done,
443 l2t1_tcu_mbist_fail,
444 l2t1_tcu_mbist_scan_out,
445 tcu_l2t2_mbist_start,
446 tcu_l2t2_mbist_scan_in,
447 l2t2_tcu_mbist_done,
448 l2t2_tcu_mbist_fail,
449 l2t2_tcu_mbist_scan_out,
450 tcu_l2t3_mbist_start,
451 tcu_l2t3_mbist_scan_in,
452 l2t3_tcu_mbist_done,
453 l2t3_tcu_mbist_fail,
454 l2t3_tcu_mbist_scan_out,
455 tcu_l2t4_mbist_start,
456 tcu_l2t4_mbist_scan_in,
457 l2t4_tcu_mbist_done,
458 l2t4_tcu_mbist_fail,
459 l2t4_tcu_mbist_scan_out,
460 tcu_l2t5_mbist_start,
461 tcu_l2t5_mbist_scan_in,
462 l2t5_tcu_mbist_done,
463 l2t5_tcu_mbist_fail,
464 l2t5_tcu_mbist_scan_out,
465 tcu_l2t6_mbist_start,
466 tcu_l2t6_mbist_scan_in,
467 l2t6_tcu_mbist_done,
468 l2t6_tcu_mbist_fail,
469 l2t6_tcu_mbist_scan_out,
470 tcu_l2t7_mbist_start,
471 tcu_l2t7_mbist_scan_in,
472 l2t7_tcu_mbist_done,
473 l2t7_tcu_mbist_fail,
474 l2t7_tcu_mbist_scan_out,
475 tcu_dmu_mbist_start,
476 tcu_dmu_mbist_scan_in,
477 dmu_tcu_mbist_done,
478 dmu_tcu_mbist_fail,
479 dmu_tcu_mbist_scan_out,
480 tcu_peu_mbist_start,
481 tcu_peu_mbist_scan_in,
482 peu_tcu_mbist_done,
483 peu_tcu_mbist_fail,
484 peu_tcu_mbist_scan_out,
485 tcu_rdp_rdmc_mbist_start,
486 tcu_rtx_rxc_ipp0_mbist_start,
487 tcu_rtx_rxc_ipp1_mbist_start,
488 tcu_rtx_rxc_mb5_mbist_start,
489 tcu_rtx_rxc_mb6_mbist_start,
490 tcu_rtx_rxc_zcp0_mbist_start,
491 tcu_rtx_rxc_zcp1_mbist_start,
492 tcu_rtx_txc_txe0_mbist_start,
493 tcu_rtx_txc_txe1_mbist_start,
494 tcu_tds_smx_mbist_start,
495 tcu_tds_tdmc_mbist_start,
496 rtx_mbist_scan_in,
497 rdp_rdmc_mbist_scan_in,
498 tds_mbist_scan_in,
499 rtx_mbist_scan_out,
500 rdp_rdmc_mbist_scan_out,
501 tds_mbist_scan_out,
502 rdp_rdmc_tcu_mbist_done,
503 rtx_rxc_ipp0_tcu_mbist_done,
504 rtx_rxc_ipp1_tcu_mbist_done,
505 rtx_rxc_mb5_tcu_mbist_done,
506 rtx_rxc_mb6_tcu_mbist_done,
507 rtx_rxc_zcp0_tcu_mbist_done,
508 rtx_rxc_zcp1_tcu_mbist_done,
509 rtx_txc_txe0_tcu_mbist_done,
510 rtx_txc_txe1_tcu_mbist_done,
511 tds_smx_tcu_mbist_done,
512 tds_tdmc_tcu_mbist_done,
513 rdp_rdmc_tcu_mbist_fail,
514 rtx_rxc_ipp0_tcu_mbist_fail,
515 rtx_rxc_ipp1_tcu_mbist_fail,
516 rtx_rxc_mb5_tcu_mbist_fail,
517 rtx_rxc_mb6_tcu_mbist_fail,
518 rtx_rxc_zcp0_tcu_mbist_fail,
519 rtx_rxc_zcp1_tcu_mbist_fail,
520 rtx_txc_txe0_tcu_mbist_fail,
521 rtx_txc_txe1_tcu_mbist_fail,
522 tds_smx_tcu_mbist_fail,
523 tds_tdmc_tcu_mbist_fail,
524 dmo_coresel,
525 dmo_dcmuxctl,
526 dmo_icmuxctl,
527 spc4_dmo_dout,
528 spc6_dmo_dout,
529 l2t4_dmo_dout,
530 l2t6_dmo_dout,
531 dmo_l2tsel,
532 dmo_tagmuxctl,
533 rtx_tcu_dmo_data_out,
534 tds_tcu_dmo_dout,
535 rdp_tcu_dmo_dout,
536 tcu_rtx_dmo_ctl,
537 spc0_tcu_shscan_scan_in,
538 tcu_spc0_shscan_scan_out,
539 spc1_tcu_shscan_scan_in,
540 tcu_spc1_shscan_scan_out,
541 spc2_tcu_shscan_scan_in,
542 tcu_spc2_shscan_scan_out,
543 spc3_tcu_shscan_scan_in,
544 tcu_spc3_shscan_scan_out,
545 spc4_tcu_shscan_scan_in,
546 tcu_spc4_shscan_scan_out,
547 spc5_tcu_shscan_scan_in,
548 tcu_spc5_shscan_scan_out,
549 spc6_tcu_shscan_scan_in,
550 tcu_spc6_shscan_scan_out,
551 spc7_tcu_shscan_scan_in,
552 tcu_spc7_shscan_scan_out,
553 tcu_spc_shscan_aclk,
554 tcu_spc_shscan_bclk,
555 tcu_spc_shscan_scan_en,
556 tcu_spc_shscan_pce_ov,
557 tcu_spc0_shscan_clk_stop,
558 tcu_spc1_shscan_clk_stop,
559 tcu_spc2_shscan_clk_stop,
560 tcu_spc3_shscan_clk_stop,
561 tcu_spc4_shscan_clk_stop,
562 tcu_spc5_shscan_clk_stop,
563 tcu_spc6_shscan_clk_stop,
564 tcu_spc7_shscan_clk_stop,
565 tcu_spc_shscanid,
566 l2t0_tcu_shscan_scan_out,
567 tcu_l2t0_shscan_scan_in,
568 l2t1_tcu_shscan_scan_out,
569 tcu_l2t1_shscan_scan_in,
570 l2t2_tcu_shscan_scan_out,
571 tcu_l2t2_shscan_scan_in,
572 l2t3_tcu_shscan_scan_out,
573 tcu_l2t3_shscan_scan_in,
574 l2t4_tcu_shscan_scan_out,
575 tcu_l2t4_shscan_scan_in,
576 l2t5_tcu_shscan_scan_out,
577 tcu_l2t5_shscan_scan_in,
578 l2t6_tcu_shscan_scan_out,
579 tcu_l2t6_shscan_scan_in,
580 l2t7_tcu_shscan_scan_out,
581 tcu_l2t7_shscan_scan_in,
582 tcu_l2t_shscan_aclk,
583 tcu_l2t_shscan_bclk,
584 tcu_l2t_shscan_scan_en,
585 tcu_l2t_shscan_pce_ov,
586 tcu_l2t0_shscan_clk_stop,
587 tcu_l2t1_shscan_clk_stop,
588 tcu_l2t2_shscan_clk_stop,
589 tcu_l2t3_shscan_clk_stop,
590 tcu_l2t4_shscan_clk_stop,
591 tcu_l2t5_shscan_clk_stop,
592 tcu_l2t6_shscan_clk_stop,
593 tcu_l2t7_shscan_clk_stop,
594 tcu_ss_mode,
595 tcu_do_mode,
596 tcu_ss_request,
597 spc0_ss_complete,
598 spc1_ss_complete,
599 spc2_ss_complete,
600 spc3_ss_complete,
601 spc4_ss_complete,
602 spc5_ss_complete,
603 spc6_ss_complete,
604 spc7_ss_complete,
605 spc0_softstop_request,
606 spc1_softstop_request,
607 spc2_softstop_request,
608 spc3_softstop_request,
609 spc4_softstop_request,
610 spc5_softstop_request,
611 spc6_softstop_request,
612 spc7_softstop_request,
613 spc0_hardstop_request,
614 spc1_hardstop_request,
615 spc2_hardstop_request,
616 spc3_hardstop_request,
617 spc4_hardstop_request,
618 spc5_hardstop_request,
619 spc6_hardstop_request,
620 spc7_hardstop_request,
621 spc0_ncu_core_running_status,
622 spc1_ncu_core_running_status,
623 spc2_ncu_core_running_status,
624 spc3_ncu_core_running_status,
625 spc4_ncu_core_running_status,
626 spc5_ncu_core_running_status,
627 spc6_ncu_core_running_status,
628 spc7_ncu_core_running_status,
629 spc0_trigger_pulse,
630 spc1_trigger_pulse,
631 spc2_trigger_pulse,
632 spc3_trigger_pulse,
633 spc4_trigger_pulse,
634 spc5_trigger_pulse,
635 spc6_trigger_pulse,
636 spc7_trigger_pulse,
637 rst_tcu_flush_init_req,
638 rst_tcu_flush_stop_req,
639 rst_tcu_asicflush_stop_req,
640 tcu_rst_asicflush_stop_ack,
641 tcu_rst_flush_init_ack,
642 tcu_rst_flush_stop_ack,
643 rst_wmr_protect,
644 tcu_bisx_done,
645 tcu_rst_scan_mode,
646 POR_,
647 rst_tcu_clk_stop,
648 rst_tcu_dbr_gen,
649 ncu_spc0_core_available,
650 ncu_spc1_core_available,
651 ncu_spc2_core_available,
652 ncu_spc3_core_available,
653 ncu_spc4_core_available,
654 ncu_spc5_core_available,
655 ncu_spc6_core_available,
656 ncu_spc7_core_available,
657 ncu_tcu_bank_avail,
658 ncu_spc0_core_enable_status,
659 ncu_spc1_core_enable_status,
660 ncu_spc2_core_enable_status,
661 ncu_spc3_core_enable_status,
662 ncu_spc4_core_enable_status,
663 ncu_spc5_core_enable_status,
664 ncu_spc6_core_enable_status,
665 ncu_spc7_core_enable_status,
666 ncu_spc_pm,
667 ncu_spc_ba01,
668 ncu_spc_ba23,
669 ncu_spc_ba45,
670 ncu_spc_ba67,
671 tcu_se_scancollar_in,
672 tcu_se_scancollar_out,
673 tcu_array_bypass,
674 tcu_array_wr_inhibit,
675 tcu_mio_pins_scan_out,
676 tcu_mio_dmo_data,
677 tcu_mio_mbist_done,
678 tcu_mio_mbist_fail,
679 tcu_mio_trigout,
680 tcu_mio_jtag_membist_mode,
681 tcu_mio_clk_stop,
682 tcu_mio_bs_scan_in,
683 tcu_mio_bs_scan_en,
684 tcu_mio_bs_clk,
685 tcu_mio_bs_aclk,
686 tcu_mio_bs_bclk,
687 tcu_mio_bs_uclk,
688 tcu_mio_bs_mode_ctl,
689 tcu_mio_dmo_sync,
690 tcu_stciclk,
691 tcu_stcicfg,
692 tcu_stcid,
693 stciq_tcu,
694 tcu_srd_atpgse,
695 tcu_srd_atpgd,
696 tcu_srd_atpgmode,
697 srd_tcu_atpgq,
698 tcu_sbs_enbstx,
699 tcu_sbs_enbsrx,
700 tcu_sbs_scan_en,
701 tcu_sbs_clk,
702 tcu_sbs_aclk,
703 tcu_sbs_bclk,
704 tcu_sbs_uclk,
705 tcu_sbs_scan_in,
706 tcu_sbs_acmode,
707 tcu_sbs_actestsignal,
708 tcu_sbs_enbspt,
709 tcu_sbs_bsinitclk,
710 tcu_peu_entestcfg,
711 sbs_tcu_scan_out,
712 tcu_mio_scan_out31,
713 mio_tcu_scan_in31,
714 mio_tcu_stciclk,
715 mio_tcu_stcicfg,
716 mio_tcu_stcid,
717 tcu_mio_stciq,
718 mio_tcu_io_ac_testmode,
719 mio_tcu_io_ac_testtrig,
720 mio_tcu_io_aclk,
721 mio_tcu_io_bclk,
722 mio_tcu_io_scan_in,
723 mio_tcu_io_scan_en,
724 mio_tcu_trigin,
725 mio_tcu_bs_scan_out,
726 mio_ext_cmp_clk,
727 mio_ext_dr_clk,
728 mio_tcu_peu_clk_ext,
729 mio_tcu_niu_clk_ext,
730 tcu_peu_clk_ext,
731 tcu_ccu_ext_cmp_clk,
732 tcu_ccu_ext_dr_clk,
733 mac_125rx_test_clk,
734 mac_125tx_test_clk,
735 mac_156rx_test_clk,
736 mac_156tx_test_clk,
737 mac_312rx_test_clk,
738 mac_312tx_test_clk,
739 tcu_peu_testmode,
740 tcu_mac_testmode,
741 mio_tcu_divider_bypass,
742 mio_tcu_pll_cmp_bypass,
743 tcu_div_bypass,
744 tcu_ccu_mux_sel,
745 tcu_ccu_clk_stretch,
746 tcu_mio_bs_highz_l,
747 dbg1_tcu_soc_hard_stop,
748 dbg1_tcu_soc_asrt_trigout,
749 tcu_db0_clk_stop,
750 tcu_db1_clk_stop,
751 tcu_spc_lbist_start,
752 tcu_spc_lbist_scan_in,
753 tcu_spc_lbist_pgm,
754 tcu_spc0_test_mode,
755 tcu_spc1_test_mode,
756 tcu_spc2_test_mode,
757 tcu_spc3_test_mode,
758 tcu_spc4_test_mode,
759 tcu_spc5_test_mode,
760 tcu_spc6_test_mode,
761 tcu_spc7_test_mode,
762 tcu_atpg_mode,
763 spc0_tcu_lbist_done,
764 spc1_tcu_lbist_done,
765 spc2_tcu_lbist_done,
766 spc3_tcu_lbist_done,
767 spc4_tcu_lbist_done,
768 spc5_tcu_lbist_done,
769 spc6_tcu_lbist_done,
770 spc7_tcu_lbist_done,
771 spc0_tcu_lbist_scan_out,
772 spc1_tcu_lbist_scan_out,
773 spc2_tcu_lbist_scan_out,
774 spc3_tcu_lbist_scan_out,
775 spc4_tcu_lbist_scan_out,
776 spc5_tcu_lbist_scan_out,
777 spc6_tcu_lbist_scan_out,
778 spc7_tcu_lbist_scan_out);
779wire io_aclk;
780wire io_bclk;
781wire io_scan_en;
782wire io_ac_test_mode;
783wire io_ac_testtrig;
784wire [30:0] io_scan_in;
785wire [30:0] tcu_pins_scan_out;
786wire l2clk;
787wire cmp_io_sync_en;
788wire io_cmp_sync_en;
789wire cmp_io2x_sync_en;
790wire cmp_dr_sync_en;
791wire aclk0_unused;
792wire bclk0_unused;
793wire clkgen_tcu_cmp_scan_out;
794wire pce_ov0_unused;
795wire aclk_wmr0_unused;
796wire wmr_protect0_unused;
797wire wmr0_unused;
798wire por0_unused;
799wire awi0_unused;
800wire tcu_int_se;
801wire clkgen_tcu_cmp_scan_in;
802wire tcu_int_aclk;
803wire tcu_int_bclk;
804wire iol2clk;
805wire cmp_slow_sync_en_unused;
806wire slow_cmp_sync_en_unused;
807wire aclk1_unused;
808wire bclk1_unused;
809wire clkgen_tcu_io_scan_out;
810wire pce_ov1_unused;
811wire aclk_wmr1_unused;
812wire wmr_protect1_unused;
813wire wmr1_unused;
814wire por1_unused;
815wire awi1_unused;
816wire clkgen_tcu_io_scan_in;
817wire [47:0] tcu_mbist_start;
818wire sigmux_ctl_scan_in;
819wire sigmux_ctl_scan_out;
820wire spc0_tap_mb_scan_in;
821wire spc1_tap_mb_scan_in;
822wire spc2_tap_mb_scan_in;
823wire spc3_tap_mb_scan_in;
824wire spc4_tap_mb_scan_in;
825wire spc5_tap_mb_scan_in;
826wire spc6_tap_mb_scan_in;
827wire spc7_tap_mb_scan_in;
828wire jtag_ctl_scan_in;
829wire jtag_ctl_scan_out;
830wire mbist_ctl_scan_in;
831wire tcu_int_pce_ov;
832wire [47:0] mb_tcu_done;
833wire [47:0] mb_tcu_fail;
834wire [7:0] core_avail;
835wire mbist_ctl_scan_out;
836wire ucb_ctl_scan_in;
837wire ucb_ctl_scan_out;
838wire clkstp_ctl_scan_in;
839wire clkstp_ctl_scan_out;
840wire regs_ctl_scan_in;
841wire regs_ctl_scan_out;
842wire chop_aclk;
843wire chop_bclk;
844wire [7:0] lb_tcu_done;
845wire tcu_scan_chain;
846wire mbist_clk_stop;
847wire tck_clk_tree;
848wire jtag_sbs_scan_in;
849wire jtag_ser_scan_q;
850wire clk_stop_ac_trans_counter_initiated;
851wire ac_test_mode;
852wire [23:0] debug_reg_hard_stop_domain_1st;
853wire debug_cycle_counter_stop;
854wire debug_event_stop;
855wire spc_ss_mode;
856wire [7:0] spc_ss_sel;
857wire instr_sstop_csmode;
858wire jtag_clk_stop_req;
859wire jtagclkstop_ov;
860wire flush_test_protect;
861wire tcu_test_protect_cmp;
862wire jtag_sck_byp;
863wire jtag_por_enable;
864wire jtag_por_status;
865wire jtag_efu_clear_instr;
866wire [6:0] jtag_efu_rvclr;
867wire jt_scan_in;
868wire jt_scan_en;
869wire jt_scan_aclk;
870wire jt_scan_bclk;
871wire ser_scan_out;
872wire chain_select;
873wire [4:0] sel_chain;
874wire tap_spc0_mb_aclk;
875wire tap_spc0_mb_bclk;
876wire tap_spc0_mb_scan_en;
877wire tap_spc0_mb_clk_stop;
878wire tap_spc1_mb_aclk;
879wire tap_spc1_mb_bclk;
880wire tap_spc1_mb_scan_en;
881wire tap_spc1_mb_clk_stop;
882wire tap_spc2_mb_aclk;
883wire tap_spc2_mb_bclk;
884wire tap_spc2_mb_scan_en;
885wire tap_spc2_mb_clk_stop;
886wire tap_spc3_mb_aclk;
887wire tap_spc3_mb_bclk;
888wire tap_spc3_mb_scan_en;
889wire tap_spc3_mb_clk_stop;
890wire tap_spc4_mb_aclk;
891wire tap_spc4_mb_bclk;
892wire tap_spc4_mb_scan_en;
893wire tap_spc4_mb_clk_stop;
894wire tap_spc5_mb_aclk;
895wire tap_spc5_mb_bclk;
896wire tap_spc5_mb_scan_en;
897wire tap_spc5_mb_clk_stop;
898wire tap_spc6_mb_aclk;
899wire tap_spc6_mb_bclk;
900wire tap_spc6_mb_scan_en;
901wire tap_spc6_mb_clk_stop;
902wire tap_spc7_mb_aclk;
903wire tap_spc7_mb_bclk;
904wire tap_spc7_mb_scan_en;
905wire tap_spc7_mb_clk_stop;
906wire tcu_jtag_flush_req;
907wire tcu_jtag_flush_dly_req;
908wire jtag_mt_enable;
909wire tcu_jtag_se;
910wire tcu_int_ce;
911wire tcu_int_ce_to_ucb;
912wire tcu_jtag_aclk;
913wire pre_spc0_clk_stop;
914wire pre_spc1_clk_stop;
915wire pre_spc2_clk_stop;
916wire pre_spc3_clk_stop;
917wire pre_spc4_clk_stop;
918wire pre_spc5_clk_stop;
919wire pre_spc6_clk_stop;
920wire pre_spc7_clk_stop;
921wire pre_bnk0_clk_stop;
922wire pre_l2t0_clk_stop;
923wire pre_bnk1_clk_stop;
924wire pre_l2t1_clk_stop;
925wire pre_bnk2_clk_stop;
926wire pre_l2t2_clk_stop;
927wire pre_bnk3_clk_stop;
928wire pre_l2t3_clk_stop;
929wire pre_bnk4_clk_stop;
930wire pre_l2t4_clk_stop;
931wire pre_bnk5_clk_stop;
932wire pre_l2t5_clk_stop;
933wire pre_bnk6_clk_stop;
934wire pre_l2t6_clk_stop;
935wire pre_bnk7_clk_stop;
936wire pre_l2t7_clk_stop;
937wire pre_mcu0_clk_stop;
938wire pre_mcu0_io_clk_stop;
939wire pre_mcu0_dr_clk_stop;
940wire pre_mcu0_fbd_clk_stop;
941wire pre_mcu1_clk_stop;
942wire pre_mcu1_io_clk_stop;
943wire pre_mcu1_dr_clk_stop;
944wire pre_mcu1_fbd_clk_stop;
945wire pre_mcu2_clk_stop;
946wire pre_mcu2_io_clk_stop;
947wire pre_mcu2_dr_clk_stop;
948wire pre_mcu2_fbd_clk_stop;
949wire pre_mcu3_clk_stop;
950wire pre_mcu3_io_clk_stop;
951wire pre_mcu3_dr_clk_stop;
952wire pre_mcu3_fbd_clk_stop;
953wire pre_soc0_clk_stop;
954wire pre_soc0_io_clk_stop;
955wire pre_soc1_io_clk_stop;
956wire pre_soc2_io_clk_stop;
957wire pre_soc3_clk_stop;
958wire pre_soc3_io_clk_stop;
959wire ac_trans_test_counter_start;
960wire tap_spc0_mb_scan_out;
961wire tap_spc1_mb_scan_out;
962wire tap_spc2_mb_scan_out;
963wire tap_spc3_mb_scan_out;
964wire tap_spc4_mb_scan_out;
965wire tap_spc5_mb_scan_out;
966wire tap_spc6_mb_scan_out;
967wire tap_spc7_mb_scan_out;
968wire tap_spc0_shscan_scan_out;
969wire spc7_tap_shscan_scan_in;
970wire [2:0] jtag_spc_shscanid;
971wire jtag_spc0_shscan_clk_stop;
972wire jtag_spc1_shscan_clk_stop;
973wire jtag_spc2_shscan_clk_stop;
974wire jtag_spc3_shscan_clk_stop;
975wire jtag_spc4_shscan_clk_stop;
976wire jtag_spc5_shscan_clk_stop;
977wire jtag_spc6_shscan_clk_stop;
978wire jtag_spc7_shscan_clk_stop;
979wire jtag_spc_shscan_pce_ov;
980wire jtag_l2t0_shscan_clk_stop;
981wire jtag_l2t1_shscan_clk_stop;
982wire jtag_l2t2_shscan_clk_stop;
983wire jtag_l2t3_shscan_clk_stop;
984wire jtag_l2t4_shscan_clk_stop;
985wire jtag_l2t5_shscan_clk_stop;
986wire jtag_l2t6_shscan_clk_stop;
987wire jtag_l2t7_shscan_clk_stop;
988wire jtag_l2t_shscan_pce_ov;
989wire [7:0] bank_avail;
990wire jtag_upd_cntdly;
991wire [6:0] jtag_cntdly_data;
992wire [6:0] csdel_data;
993wire clkseq_stop;
994wire clkseq_strt;
995wire cycle_stretch;
996wire wmr_two;
997wire start_bisx_por;
998wire start_bisx_wmr;
999wire stop_bisx_wmr;
1000wire instr_mbist_diag;
1001wire soc_mbist_aclk;
1002wire soc_mbist_bclk;
1003wire soc_mbist_scan_en;
1004wire soc0_mbist_clk_stop;
1005wire mcu0_mbist_clk_stop;
1006wire mcu1_mbist_clk_stop;
1007wire mcu2_mbist_clk_stop;
1008wire mcu3_mbist_clk_stop;
1009wire l2b0_mbist_clk_stop;
1010wire l2b1_mbist_clk_stop;
1011wire l2b2_mbist_clk_stop;
1012wire l2b3_mbist_clk_stop;
1013wire l2b4_mbist_clk_stop;
1014wire l2b5_mbist_clk_stop;
1015wire l2b6_mbist_clk_stop;
1016wire l2b7_mbist_clk_stop;
1017wire l2t0_mbist_clk_stop;
1018wire l2t1_mbist_clk_stop;
1019wire l2t2_mbist_clk_stop;
1020wire l2t3_mbist_clk_stop;
1021wire l2t4_mbist_clk_stop;
1022wire l2t5_mbist_clk_stop;
1023wire l2t6_mbist_clk_stop;
1024wire l2t7_mbist_clk_stop;
1025wire dmu_mbist_clk_stop;
1026wire peu_mbist_clk_stop;
1027wire rdp_mbist_clk_stop;
1028wire rtx_mbist_clk_stop;
1029wire tds_mbist_clk_stop;
1030wire ucb_csr_wr;
1031wire [5:0] ucb_csr_addr;
1032wire [63:0] ucb_data_out;
1033wire instr_mt_scan_rti;
1034wire [7:0] lb_tcu_done_d;
1035wire mbist_clkstpen;
1036wire [47:0] mbist_done;
1037wire [47:0] mbist_fail;
1038wire [1:0] mbist_done_fail;
1039wire [5:0] jtag_csr_addr;
1040wire jtag_csr_wr;
1041wire [39:0] jtag_creg_addr;
1042wire [63:0] jtag_creg_data;
1043wire jtag_creg_rd_en;
1044wire jtag_creg_wr_en;
1045wire jtag_creg_addr_en;
1046wire jtag_creg_data_en;
1047wire ucb_jtag_data_rdy;
1048wire jtag_ucb_data_ack;
1049wire [47:0] jtag_csr_data;
1050wire [64:0] l2access;
1051wire l2data_upd;
1052wire l2addr_upd;
1053wire l2rti;
1054wire instr_l2_wr;
1055wire instr_l2_rd;
1056wire [63:0] l2rddata;
1057wire l2_read_vld;
1058wire jtag_clock_start;
1059wire clock_domain_upd;
1060wire [23:0] clock_domain;
1061wire [63:0] spc_crs;
1062wire [7:0] core_sel;
1063wire core_sel_upd;
1064wire [31:0] de_count;
1065wire [31:0] decnt_data;
1066wire decnt_upd;
1067wire [63:0] cycle_count;
1068wire [63:0] cyc_count;
1069wire cyc_count_upd;
1070wire [3:0] tcu_dcr;
1071wire [3:0] tcudcr_data;
1072wire tcudcr_upd;
1073wire [63:0] doss_enab;
1074wire [63:0] dossen;
1075wire dossen_upd;
1076wire [1:0] dossmode;
1077wire dossmode_upd;
1078wire [1:0] doss_mode;
1079wire ssreq_upd;
1080wire [7:0] doss_stat;
1081wire csmode;
1082wire csmode_upd;
1083wire cs_mode;
1084wire cs_mode_active;
1085wire [47:0] dmo_cfg;
1086wire [47:0] jtag_dmo_control;
1087wire jtag_dmo_control_upd;
1088wire jtag_dmo_enable;
1089wire jtag_test_protect;
1090wire mbist_clk_stop_req;
1091wire [63:0] csr_ucb_data;
1092wire debug_cycle_counter_stop_to_mbc;
1093wire mbist_clk_stop_to_mbc;
1094wire cycle_stretch_to_mbc;
1095wire tcu_int_ce_ucb;
1096wire tcu_tp_sync_2io;
1097wire dbg_creg_access;
1098wire [39:0] dbg_creg_addr;
1099wire [63:0] dbg_creg_data;
1100wire dbg_creg_wr_en;
1101wire dbg_creg_addr_en;
1102wire dbg_creg_data_en;
1103wire mt_mode_sync;
1104
1105 input gclk;
1106
1107 // CTRL In (For Pipelining)
1108 input ccu_cmp_io_sync_en;
1109 input ccu_io_cmp_sync_en;
1110 input ccu_cmp_io2x_sync_en;
1111 input ccu_cmp_dr_sync_en;
1112 input ccu_io_out;
1113 input cluster_arst_l;
1114 output tcu_ccu_clk_stop;
1115 output tcu_ccu_io_clk_stop;
1116
1117 input io_test_mode;// PINDEF:TOP
1118
1119 input [3:0] jtag_revid_out;
1120
1121 input [1:0] spc0_tcu_scan_in;// PINDEF:BOT
1122 input [1:0] spc1_tcu_scan_in;// PINDEF:BOT
1123 input [1:0] spc2_tcu_scan_in;// PINDEF:BOT
1124 input [1:0] spc3_tcu_scan_in;// PINDEF:BOT
1125 input [1:0] spc4_tcu_scan_in;// PINDEF:BOT
1126 input [1:0] spc5_tcu_scan_in;// PINDEF:BOT
1127 input [1:0] spc6_tcu_scan_in;// PINDEF:BOT
1128 input [1:0] spc7_tcu_scan_in;// PINDEF:BOT
1129 input soca_tcu_scan_in;
1130 input socb_tcu_scan_in;
1131 input socc_tcu_scan_in;
1132 input socd_tcu_scan_in;
1133 input soce_tcu_scan_in;
1134 input socf_tcu_scan_in;
1135 input socg_tcu_scan_in;
1136 input soch_tcu_scan_in;
1137 input soc0_tcu_scan_in;// PINDEF:BOT
1138 input soc1_tcu_scan_in;// PINDEF:BOT
1139 input soc2_tcu_scan_in;// PINDEF:BOT
1140 input soc3_tcu_scan_in;// PINDEF:BOT
1141 input soc4_tcu_scan_in;// PINDEF:BOT
1142 input soc5_tcu_scan_in;// PINDEF:BOT
1143 input soc6_tcu_scan_in;// PINDEF:BOT
1144 input peu_tcu_scan_in;
1145 input ccu_tcu_scan_in;
1146 input io_tms;// PINDEF:TOP
1147 input io_tdi;// PINDEF:TOP
1148 input io_trst_l;// PINDEF:TOP
1149 input io_tck;// PINDEF:TOP
1150
1151 output tcu_mio_tdo;
1152 output tcu_mio_tdo_en;
1153
1154 //ucb NCU bus
1155 output tcu_ncu_stall;// PINDEF:BOT
1156 input ncu_tcu_vld;// PINDEF:BOT
1157 input [7:0] ncu_tcu_data;// PINDEF:BOT
1158
1159 output tcu_ncu_vld;// PINDEF:BOT
1160 output [7:0] tcu_ncu_data;// PINDEF:BOT
1161 input ncu_tcu_stall;// PINDEF:BOT
1162
1163 output tcu_sck_bypass;
1164
1165 //scan signals to chip
1166 //will need multiple versions of signals for different regions
1167 output tcu_aclk;// PINDEF:BOT
1168 output tcu_bclk;// PINDEF:BOT
1169 output tcu_pce_ov;// PINDEF:BOT
1170 output tcu_scan_en;// PINDEF:BOT
1171 output [1:0] tcu_spc0_scan_out;// PINDEF:BOT
1172 output [1:0] tcu_spc1_scan_out;// PINDEF:BOT
1173 output [1:0] tcu_spc2_scan_out;// PINDEF:BOT
1174 output [1:0] tcu_spc3_scan_out;// PINDEF:BOT
1175 output [1:0] tcu_spc4_scan_out;// PINDEF:BOT
1176 output [1:0] tcu_spc5_scan_out;// PINDEF:BOT
1177 output [1:0] tcu_spc6_scan_out;// PINDEF:BOT
1178 output [1:0] tcu_spc7_scan_out;// PINDEF:BOT
1179 output tcu_soca_scan_out;
1180 output tcu_socb_scan_out;
1181 output tcu_socc_scan_out;
1182 output tcu_socd_scan_out;
1183 output tcu_soce_scan_out;
1184 output tcu_socf_scan_out;
1185 output tcu_socg_scan_out;
1186 output tcu_soch_scan_out;
1187 output tcu_soc0_scan_out;// PINDEF:BOT
1188 output tcu_soc1_scan_out;// PINDEF:BOT
1189 output tcu_soc2_scan_out;// PINDEF:BOT
1190 output tcu_soc3_scan_out;// PINDEF:BOT
1191 output tcu_soc4_scan_out;// PINDEF:BOT
1192 output tcu_soc5_scan_out;// PINDEF:BOT
1193 output tcu_soc6_scan_out;// PINDEF:BOT
1194 output tcu_peu_scan_out;
1195 output tcu_rst_scan_out;
1196 output tcu_spc0_aclk; // PINDEF:TOP
1197 output tcu_spc0_bclk; // PINDEF:TOP
1198 output tcu_spc0_scan_en; // PINDEF:TOP
1199 output tcu_spc0_se_scancollar_in; // PINDEF:TOP
1200 output tcu_spc0_se_scancollar_out; // PINDEF:TOP
1201 output tcu_spc0_array_wr_inhibit; // PINDEF:TOP
1202 // Scan Controls to SPC1
1203 output tcu_spc1_aclk; // PINDEF:TOP
1204 output tcu_spc1_bclk; // PINDEF:TOP
1205 output tcu_spc1_scan_en; // PINDEF:TOP
1206 output tcu_spc1_se_scancollar_in; // PINDEF:TOP
1207 output tcu_spc1_se_scancollar_out; // PINDEF:TOP
1208 output tcu_spc1_array_wr_inhibit; // PINDEF:TOP
1209 // Scan Controls to SPC2
1210 output tcu_spc2_aclk; // PINDEF:TOP
1211 output tcu_spc2_bclk; // PINDEF:TOP
1212 output tcu_spc2_scan_en; // PINDEF:TOP
1213 output tcu_spc2_se_scancollar_in; // PINDEF:TOP
1214 output tcu_spc2_se_scancollar_out; // PINDEF:TOP
1215 output tcu_spc2_array_wr_inhibit; // PINDEF:TOP
1216 // Scan Controls to SPC3
1217 output tcu_spc3_aclk; // PINDEF:TOP
1218 output tcu_spc3_bclk; // PINDEF:TOP
1219 output tcu_spc3_scan_en; // PINDEF:TOP
1220 output tcu_spc3_se_scancollar_in; // PINDEF:TOP
1221 output tcu_spc3_se_scancollar_out; // PINDEF:TOP
1222 output tcu_spc3_array_wr_inhibit; // PINDEF:TOP
1223 // Scan Controls to SPC4
1224 output tcu_spc4_aclk; // PINDEF:TOP
1225 output tcu_spc4_bclk; // PINDEF:TOP
1226 output tcu_spc4_scan_en; // PINDEF:TOP
1227 output tcu_spc4_se_scancollar_in; // PINDEF:TOP
1228 output tcu_spc4_se_scancollar_out; // PINDEF:TOP
1229 output tcu_spc4_array_wr_inhibit; // PINDEF:TOP
1230 // Scan Controls to SPC5
1231 output tcu_spc5_aclk; // PINDEF:TOP
1232 output tcu_spc5_bclk; // PINDEF:TOP
1233 output tcu_spc5_scan_en; // PINDEF:TOP
1234 output tcu_spc5_se_scancollar_in; // PINDEF:TOP
1235 output tcu_spc5_se_scancollar_out; // PINDEF:TOP
1236 output tcu_spc5_array_wr_inhibit; // PINDEF:TOP
1237 // Scan Controls to SPC6
1238 output tcu_spc6_aclk; // PINDEF:TOP
1239 output tcu_spc6_bclk; // PINDEF:TOP
1240 output tcu_spc6_scan_en; // PINDEF:TOP
1241 output tcu_spc6_se_scancollar_in; // PINDEF:TOP
1242 output tcu_spc6_se_scancollar_out; // PINDEF:TOP
1243 output tcu_spc6_array_wr_inhibit; // PINDEF:TOP
1244 // Scan Controls to SPC7
1245 output tcu_spc7_aclk; // PINDEF:TOP
1246 output tcu_spc7_bclk; // PINDEF:TOP
1247 output tcu_spc7_scan_en; // PINDEF:TOP
1248 output tcu_spc7_se_scancollar_in; // PINDEF:TOP
1249 output tcu_spc7_se_scancollar_out; // PINDEF:TOP
1250 output tcu_spc7_array_wr_inhibit; // PINDEF:TOP
1251
1252 // Scan Controls to ASICs (NIU, DMU, PEU)
1253 // NIU is RDP, MAC, RTX, and TDS
1254 output tcu_asic_aclk;
1255 output tcu_asic_bclk;
1256 output tcu_asic_scan_en;
1257 output tcu_asic_se_scancollar_in;
1258 output tcu_asic_se_scancollar_out;
1259 output tcu_asic_array_wr_inhibit;
1260
1261 //clkstop outputs
1262 output tcu_spc0_clk_stop;// PINDEF:BOT
1263 output tcu_spc1_clk_stop;// PINDEF:BOT
1264 output tcu_spc2_clk_stop;// PINDEF:BOT
1265 output tcu_spc3_clk_stop;// PINDEF:BOT
1266 output tcu_spc4_clk_stop;// PINDEF:BOT
1267 output tcu_spc5_clk_stop;// PINDEF:BOT
1268 output tcu_spc6_clk_stop;// PINDEF:BOT
1269 output tcu_spc7_clk_stop;// PINDEF:BOT
1270 // L2 Clock Stops
1271 output tcu_l2d0_clk_stop;
1272 output tcu_l2d1_clk_stop;
1273 output tcu_l2d2_clk_stop;
1274 output tcu_l2d3_clk_stop;
1275 output tcu_l2d4_clk_stop;
1276 output tcu_l2d5_clk_stop;
1277 output tcu_l2d6_clk_stop;
1278 output tcu_l2d7_clk_stop;
1279 output tcu_l2t0_clk_stop;
1280 output tcu_l2t1_clk_stop;
1281 output tcu_l2t2_clk_stop;
1282 output tcu_l2t3_clk_stop;
1283 output tcu_l2t4_clk_stop;
1284 output tcu_l2t5_clk_stop;
1285 output tcu_l2t6_clk_stop;
1286 output tcu_l2t7_clk_stop;
1287 output tcu_l2b0_clk_stop;
1288 output tcu_l2b1_clk_stop;
1289 output tcu_l2b2_clk_stop;
1290 output tcu_l2b3_clk_stop;
1291 output tcu_l2b4_clk_stop;
1292 output tcu_l2b5_clk_stop;
1293 output tcu_l2b6_clk_stop;
1294 output tcu_l2b7_clk_stop;
1295 // MCU Clock Stops
1296 output tcu_mcu0_clk_stop;
1297 output tcu_mcu0_dr_clk_stop;
1298 output tcu_mcu0_io_clk_stop;
1299 output tcu_mcu0_fbd_clk_stop;
1300 output tcu_mcu1_clk_stop;
1301 output tcu_mcu1_dr_clk_stop;
1302 output tcu_mcu1_io_clk_stop;
1303 output tcu_mcu1_fbd_clk_stop;
1304 output tcu_mcu2_clk_stop;
1305 output tcu_mcu2_dr_clk_stop;
1306 output tcu_mcu2_io_clk_stop;
1307 output tcu_mcu2_fbd_clk_stop;
1308 output tcu_mcu3_clk_stop;
1309 output tcu_mcu3_dr_clk_stop;
1310 output tcu_mcu3_io_clk_stop;
1311 output tcu_mcu3_fbd_clk_stop;
1312 // Cluster Clock Stops
1313 output tcu_ccx_clk_stop;
1314 output tcu_sii_clk_stop;
1315 output tcu_sii_io_clk_stop;
1316 output tcu_sio_clk_stop;
1317 output tcu_sio_io_clk_stop;
1318 output tcu_ncu_clk_stop;
1319 output tcu_ncu_io_clk_stop;
1320 output tcu_efu_clk_stop;
1321 output tcu_efu_io_clk_stop;
1322 output tcu_rst_clk_stop;
1323 output tcu_rst_io_clk_stop;
1324 // DMU Clock Stops
1325 output tcu_dmu_io_clk_stop;
1326 // NIU Clock Stops
1327 //output tcu_niu_io_clk_stop;
1328 output tcu_rdp_io_clk_stop;
1329 output tcu_mac_io_clk_stop;
1330 output tcu_rtx_io_clk_stop;
1331 output tcu_tds_io_clk_stop;
1332 //PEU Clock Stops
1333 output tcu_peu_pc_clk_stop;
1334 output tcu_peu_io_clk_stop;
1335
1336 // To control fbd logic in MCU
1337 output tcu_mcu_testmode;
1338
1339 // Decoder and Mux test signals
1340 output tcu_dectest; // PINDEF:BOT
1341 output tcu_muxtest; // PINDEF:BOT
1342
1343 // L2 Access via JTAG/SIU
1344 output tcu_sii_data; // PINDEF:BOT
1345 output tcu_sii_vld; // PINDEF:BOT
1346 input sio_tcu_data; // PINDEF:BOT
1347 input sio_tcu_vld; // PINDEF:BOT
1348
1349 // EFuse TCU/JTAG R/W Interface
1350 output [6:0] tcu_efu_rowaddr;// PINDEF:RIGHT
1351 output [4:0] tcu_efu_coladdr;// PINDEF:RIGHT
1352 output tcu_efu_read_en;// PINDEF:RIGHT
1353 output [2:0] tcu_efu_read_mode;// PINDEF:RIGHT
1354 output tcu_efu_read_start;// PINDEF:RIGHT
1355 output tcu_efu_fuse_bypass;// PINDEF:RIGHT
1356 output tcu_efu_dest_sample;// PINDEF:RIGHT
1357
1358 // EFuse TCU/JTAG Shift Interface
1359 output tcu_efu_data_in;// PINDEF:RIGHT
1360 input efu_tcu_data_out; // PINDEF:RIGHT
1361 output tcu_efu_updatedr; // PINDEF:RIGHT
1362 output tcu_efu_shiftdr; // PINDEF:RIGHT
1363 output tcu_efu_capturedr; // PINDEF:RIGHT
1364 output tck; // PINDEF:RIGHT
1365 output [6:0] tcu_efu_rvclr; // PINDEF:RIGHT
1366 output tcu_rst_efu_done; // PINDEF:RIGHT
1367
1368 // During mbist, lbist, jtag scan, trans test may want
1369 // to block tcu, rst and ccu from seeing random activity
1370 // from ucb (NCU), SPC's, etc.
1371 // This signal synch'd to ioclk & set via jtag id for blocking
1372 output tcu_test_protect;
1373 // This signal synch'd to ioclk & set during debug reset
1374 output tcu_dbr_gateoff;
1375
1376// PINS for MBIST
1377// individual mb_aclk, mb_bclk, mb_scan_en have been replaced by
1378// versions for the cluster where the mbist engine lives
1379// mb_clk_stop to each core will be replaced with spcx_clk_stop signals
1380
1381 // MBIST START: Start signals from mbist_ctl sequencer to SPC Cores
1382 output [7:0] tcu_spc_mbist_start; // PINDEF:BOT
1383 // Global BISI enable - all mbist engines see this one signal
1384 output tcu_mbist_bisi_en; // PINDEF:BOT
1385 output tcu_mbist_user_mode; // PINDEF:BOT
1386
1387 // MBIST - SPC0
1388 input spc0_tcu_mbist_done; // PINDEF:BOT
1389 input spc0_tcu_mbist_fail; // PINDEF:BOT
1390 input spc0_tcu_mbist_scan_in; // PINDEF:BOT
1391 output tcu_spc0_mbist_scan_out; // PINDEF:BOT
1392 // MBIST - SPC1
1393 input spc1_tcu_mbist_done; // PINDEF:BOT
1394 input spc1_tcu_mbist_fail; // PINDEF:BOT
1395 input spc1_tcu_mbist_scan_in; // PINDEF:BOT
1396 output tcu_spc1_mbist_scan_out; // PINDEF:BOT
1397 // MBIST - SPC2
1398 input spc2_tcu_mbist_done; // PINDEF:BOT
1399 input spc2_tcu_mbist_fail; // PINDEF:BOT
1400 input spc2_tcu_mbist_scan_in; // PINDEF:BOT
1401 output tcu_spc2_mbist_scan_out; // PINDEF:BOT
1402 // MBIST - SPC3
1403 input spc3_tcu_mbist_done; // PINDEF:BOT
1404 input spc3_tcu_mbist_fail; // PINDEF:BOT
1405 input spc3_tcu_mbist_scan_in; // PINDEF:BOT
1406 output tcu_spc3_mbist_scan_out; // PINDEF:BOT
1407 // MBIST - SPC4
1408 input spc4_tcu_mbist_done; // PINDEF:BOT
1409 input spc4_tcu_mbist_fail; // PINDEF:BOT
1410 input spc4_tcu_mbist_scan_in; // PINDEF:BOT
1411 output tcu_spc4_mbist_scan_out; // PINDEF:BOT
1412 // MBIST - SPC5
1413 input spc5_tcu_mbist_done; // PINDEF:BOT
1414 input spc5_tcu_mbist_fail; // PINDEF:BOT
1415 input spc5_tcu_mbist_scan_in; // PINDEF:BOT
1416 output tcu_spc5_mbist_scan_out; // PINDEF:BOT
1417 // MBIST - SPC6
1418 input spc6_tcu_mbist_done; // PINDEF:BOT
1419 input spc6_tcu_mbist_fail; // PINDEF:BOT
1420 input spc6_tcu_mbist_scan_in; // PINDEF:BOT
1421 output tcu_spc6_mbist_scan_out; // PINDEF:BOT
1422 // MBIST - SPC7
1423 input spc7_tcu_mbist_done; // PINDEF:BOT
1424 input spc7_tcu_mbist_fail; // PINDEF:BOT
1425 input spc7_tcu_mbist_scan_in; // PINDEF:BOT
1426 output tcu_spc7_mbist_scan_out; // PINDEF:BOT
1427
1428 // MBIST - for SII
1429 output [1:0] tcu_sii_mbist_start; // PINDEF:BOT
1430 output tcu_sii_mbist_scan_in; // PINDEF:BOT
1431 input [1:0] sii_tcu_mbist_done; // PINDEF:BOT
1432 input [1:0] sii_tcu_mbist_fail; // PINDEF:BOT
1433 input sii_tcu_mbist_scan_out; // PINDEF:BOT
1434 // MBIST - for SIO
1435 output [1:0] tcu_sio_mbist_start; // PINDEF:BOT
1436 output tcu_sio_mbist_scan_in; // PINDEF:BOT
1437 input [1:0] sio_tcu_mbist_done; // PINDEF:BOT
1438 input [1:0] sio_tcu_mbist_fail; // PINDEF:BOT
1439 input sio_tcu_mbist_scan_out; // PINDEF:BOT
1440 // MBIST - for NCU
1441 output [1:0] tcu_ncu_mbist_start; // PINDEF:BOT
1442 output tcu_ncu_mbist_scan_in; // PINDEF:BOT
1443 input [1:0] ncu_tcu_mbist_done; // PINDEF:BOT
1444 input [1:0] ncu_tcu_mbist_fail; // PINDEF:BOT
1445 input ncu_tcu_mbist_scan_out; // PINDEF:BOT
1446 // MBIST - for MCU (4 instances):
1447 output tcu_mcu0_mbist_start; // PINDEF:BOT // MCU0
1448 output tcu_mcu0_mbist_scan_in; // PINDEF:BOT
1449 input mcu0_tcu_mbist_done; // PINDEF:BOT
1450 input mcu0_tcu_mbist_fail; // PINDEF:BOT
1451 input mcu0_tcu_mbist_scan_out;// PINDEF:BOT
1452 output tcu_mcu1_mbist_start; // PINDEF:BOT // MCU1
1453 output tcu_mcu1_mbist_scan_in; // PINDEF:BOT
1454 input mcu1_tcu_mbist_done; // PINDEF:BOT
1455 input mcu1_tcu_mbist_fail; // PINDEF:BOT
1456 input mcu1_tcu_mbist_scan_out;// PINDEF:BOT
1457 output tcu_mcu2_mbist_start; // PINDEF:BOT // MCU2
1458 output tcu_mcu2_mbist_scan_in; // PINDEF:BOT
1459 input mcu2_tcu_mbist_done; // PINDEF:BOT
1460 input mcu2_tcu_mbist_fail; // PINDEF:BOT
1461 input mcu2_tcu_mbist_scan_out;// PINDEF:BOT
1462 output tcu_mcu3_mbist_start; // PINDEF:BOT // MCU3
1463 output tcu_mcu3_mbist_scan_in; // PINDEF:BOT
1464 input mcu3_tcu_mbist_done; // PINDEF:BOT
1465 input mcu3_tcu_mbist_fail; // PINDEF:BOT
1466 input mcu3_tcu_mbist_scan_out;// PINDEF:BOT
1467 // MBIST - for L2B (8 instances):
1468 output tcu_l2b0_mbist_start; // PINDEF:BOT // L2B0
1469 output tcu_l2b0_mbist_scan_in; // PINDEF:BOT
1470 input l2b0_tcu_mbist_done; // PINDEF:BOT
1471 input l2b0_tcu_mbist_fail; // PINDEF:BOT
1472 input l2b0_tcu_mbist_scan_out;// PINDEF:BOT
1473 output tcu_l2b1_mbist_start; // PINDEF:BOT // L2B1
1474 output tcu_l2b1_mbist_scan_in; // PINDEF:BOT
1475 input l2b1_tcu_mbist_done; // PINDEF:BOT
1476 input l2b1_tcu_mbist_fail; // PINDEF:BOT
1477 input l2b1_tcu_mbist_scan_out;// PINDEF:BOT
1478 output tcu_l2b2_mbist_start; // PINDEF:BOT // L2B2
1479 output tcu_l2b2_mbist_scan_in; // PINDEF:BOT
1480 input l2b2_tcu_mbist_done; // PINDEF:BOT
1481 input l2b2_tcu_mbist_fail; // PINDEF:BOT
1482 input l2b2_tcu_mbist_scan_out;// PINDEF:BOT
1483 output tcu_l2b3_mbist_start; // PINDEF:BOT // L2B3
1484 output tcu_l2b3_mbist_scan_in; // PINDEF:BOT
1485 input l2b3_tcu_mbist_done; // PINDEF:BOT
1486 input l2b3_tcu_mbist_fail; // PINDEF:BOT
1487 input l2b3_tcu_mbist_scan_out;// PINDEF:BOT
1488 output tcu_l2b4_mbist_start; // PINDEF:BOT // L2B4
1489 output tcu_l2b4_mbist_scan_in; // PINDEF:BOT
1490 input l2b4_tcu_mbist_done; // PINDEF:BOT
1491 input l2b4_tcu_mbist_fail; // PINDEF:BOT
1492 input l2b4_tcu_mbist_scan_out;// PINDEF:BOT
1493 output tcu_l2b5_mbist_start; // PINDEF:BOT // L2B5
1494 output tcu_l2b5_mbist_scan_in; // PINDEF:BOT
1495 input l2b5_tcu_mbist_done; // PINDEF:BOT
1496 input l2b5_tcu_mbist_fail; // PINDEF:BOT
1497 input l2b5_tcu_mbist_scan_out;// PINDEF:BOT
1498 output tcu_l2b6_mbist_start; // PINDEF:BOT // L2B6
1499 output tcu_l2b6_mbist_scan_in; // PINDEF:BOT
1500 input l2b6_tcu_mbist_done; // PINDEF:BOT
1501 input l2b6_tcu_mbist_fail; // PINDEF:BOT
1502 input l2b6_tcu_mbist_scan_out;// PINDEF:BOT
1503 output tcu_l2b7_mbist_start; // PINDEF:BOT // L2B7
1504 output tcu_l2b7_mbist_scan_in; // PINDEF:BOT
1505 input l2b7_tcu_mbist_done; // PINDEF:BOT
1506 input l2b7_tcu_mbist_fail; // PINDEF:BOT
1507 input l2b7_tcu_mbist_scan_out;// PINDEF:BOT
1508 // MBIST - for L2T (8 instances)
1509 output tcu_l2t0_mbist_start; // PINDEF:BOT // L2T0
1510 output tcu_l2t0_mbist_scan_in; // PINDEF:BOT
1511 input l2t0_tcu_mbist_done; // PINDEF:BOT
1512 input l2t0_tcu_mbist_fail; // PINDEF:BOT
1513 input l2t0_tcu_mbist_scan_out;// PINDEF:BOT
1514 output tcu_l2t1_mbist_start; // PINDEF:BOT // L2T1
1515 output tcu_l2t1_mbist_scan_in; // PINDEF:BOT
1516 input l2t1_tcu_mbist_done; // PINDEF:BOT
1517 input l2t1_tcu_mbist_fail; // PINDEF:BOT
1518 input l2t1_tcu_mbist_scan_out;// PINDEF:BOT
1519 output tcu_l2t2_mbist_start; // PINDEF:BOT // L2T2
1520 output tcu_l2t2_mbist_scan_in; // PINDEF:BOT
1521 input l2t2_tcu_mbist_done; // PINDEF:BOT
1522 input l2t2_tcu_mbist_fail; // PINDEF:BOT
1523 input l2t2_tcu_mbist_scan_out;// PINDEF:BOT
1524 output tcu_l2t3_mbist_start; // PINDEF:BOT // L2T3
1525 output tcu_l2t3_mbist_scan_in; // PINDEF:BOT
1526 input l2t3_tcu_mbist_done; // PINDEF:BOT
1527 input l2t3_tcu_mbist_fail; // PINDEF:BOT
1528 input l2t3_tcu_mbist_scan_out;// PINDEF:BOT
1529 output tcu_l2t4_mbist_start; // PINDEF:BOT // L2T4
1530 output tcu_l2t4_mbist_scan_in; // PINDEF:BOT
1531 input l2t4_tcu_mbist_done; // PINDEF:BOT
1532 input l2t4_tcu_mbist_fail; // PINDEF:BOT
1533 input l2t4_tcu_mbist_scan_out;// PINDEF:BOT
1534 output tcu_l2t5_mbist_start; // PINDEF:BOT // L2T5
1535 output tcu_l2t5_mbist_scan_in; // PINDEF:BOT
1536 input l2t5_tcu_mbist_done; // PINDEF:BOT
1537 input l2t5_tcu_mbist_fail; // PINDEF:BOT
1538 input l2t5_tcu_mbist_scan_out;// PINDEF:BOT
1539 output tcu_l2t6_mbist_start; // PINDEF:BOT // L2T6
1540 output tcu_l2t6_mbist_scan_in; // PINDEF:BOT
1541 input l2t6_tcu_mbist_done; // PINDEF:BOT
1542 input l2t6_tcu_mbist_fail; // PINDEF:BOT
1543 input l2t6_tcu_mbist_scan_out;// PINDEF:BOT
1544 output tcu_l2t7_mbist_start; // PINDEF:BOT // L2T7
1545 output tcu_l2t7_mbist_scan_in; // PINDEF:BOT
1546 input l2t7_tcu_mbist_done; // PINDEF:BOT
1547 input l2t7_tcu_mbist_fail; // PINDEF:BOT
1548 input l2t7_tcu_mbist_scan_out;// PINDEF:BOT
1549 // MBIST - for DMU:
1550 output [1:0] tcu_dmu_mbist_start; // PINDEF:BOT
1551 output tcu_dmu_mbist_scan_in; // PINDEF:BOT
1552 input [1:0] dmu_tcu_mbist_done; // PINDEF:BOT
1553 input [1:0] dmu_tcu_mbist_fail; // PINDEF:BOT
1554 input dmu_tcu_mbist_scan_out; // PINDEF:BOT
1555 // MBIST - for PEU:
1556 output tcu_peu_mbist_start; // PINDEF:BOT
1557 output tcu_peu_mbist_scan_in; // PINDEF:BOT
1558 input peu_tcu_mbist_done; // PINDEF:BOT
1559 input peu_tcu_mbist_fail; // PINDEF:BOT
1560 input peu_tcu_mbist_scan_out; // PINDEF:BOT
1561 // MBIST - for NIU:
1562 output tcu_rdp_rdmc_mbist_start;
1563 output tcu_rtx_rxc_ipp0_mbist_start;
1564 output tcu_rtx_rxc_ipp1_mbist_start;
1565 output tcu_rtx_rxc_mb5_mbist_start;
1566 output tcu_rtx_rxc_mb6_mbist_start;
1567 output tcu_rtx_rxc_zcp0_mbist_start;
1568 output tcu_rtx_rxc_zcp1_mbist_start;
1569 output tcu_rtx_txc_txe0_mbist_start;
1570 output tcu_rtx_txc_txe1_mbist_start;
1571 output tcu_tds_smx_mbist_start;
1572 output tcu_tds_tdmc_mbist_start;
1573
1574 output rtx_mbist_scan_in;
1575 output rdp_rdmc_mbist_scan_in;
1576 output tds_mbist_scan_in;
1577
1578 input rtx_mbist_scan_out;
1579 input rdp_rdmc_mbist_scan_out;
1580 input tds_mbist_scan_out;
1581
1582 input rdp_rdmc_tcu_mbist_done;
1583 input rtx_rxc_ipp0_tcu_mbist_done;
1584 input rtx_rxc_ipp1_tcu_mbist_done;
1585 input rtx_rxc_mb5_tcu_mbist_done;
1586 input rtx_rxc_mb6_tcu_mbist_done;
1587 input rtx_rxc_zcp0_tcu_mbist_done;
1588 input rtx_rxc_zcp1_tcu_mbist_done;
1589 input rtx_txc_txe0_tcu_mbist_done;
1590 input rtx_txc_txe1_tcu_mbist_done;
1591 input tds_smx_tcu_mbist_done;
1592 input tds_tdmc_tcu_mbist_done;
1593
1594 input rdp_rdmc_tcu_mbist_fail;
1595 input rtx_rxc_ipp0_tcu_mbist_fail;
1596 input rtx_rxc_ipp1_tcu_mbist_fail;
1597 input rtx_rxc_mb5_tcu_mbist_fail;
1598 input rtx_rxc_mb6_tcu_mbist_fail;
1599 input rtx_rxc_zcp0_tcu_mbist_fail;
1600 input rtx_rxc_zcp1_tcu_mbist_fail;
1601 input rtx_txc_txe0_tcu_mbist_fail;
1602 input rtx_txc_txe1_tcu_mbist_fail;
1603 input tds_smx_tcu_mbist_fail;
1604 input tds_tdmc_tcu_mbist_fail;
1605
1606 // For Memory BIST Direct-Output Observe
1607 output [5:0] dmo_coresel; // to SPC {1,5,4 & 3,7,6}
1608 output dmo_dcmuxctl; // to all SPCs
1609 output dmo_icmuxctl; // to all SPCs
1610
1611 input [35:0] spc4_dmo_dout; // Mux'ed data from spc4
1612 input [35:0] spc6_dmo_dout; // Mux'ed data from spc6
1613
1614 input [38:0] l2t4_dmo_dout; // Mux'ed data from l2t4
1615 input [38:0] l2t6_dmo_dout; // Mux'ed data from l2t6
1616
1617 output [5:0] dmo_l2tsel; // to l2t {1,5,4 & 3,7,6}
1618 output dmo_tagmuxctl; // to all l2ts
1619
1620 input [39:0] rtx_tcu_dmo_data_out; // From RTX (NIU)
1621 input [39:0] tds_tcu_dmo_dout; // From TDS (NIU)
1622 input [39:0] rdp_tcu_dmo_dout; // From RDP (NIU)
1623
1624 output [2:0] tcu_rtx_dmo_ctl; // Mux Control to RTX
1625
1626
1627 // PINS for Shadow Scan (SHSCAN)
1628 input spc0_tcu_shscan_scan_in; // PINDEF:BOT // from core 0
1629 output tcu_spc0_shscan_scan_out; // PINDEF:BOT // to core 0
1630 input spc1_tcu_shscan_scan_in; // PINDEF:BOT // from core 1
1631 output tcu_spc1_shscan_scan_out; // PINDEF:BOT // to core 1
1632 input spc2_tcu_shscan_scan_in; // PINDEF:BOT // from core 2
1633 output tcu_spc2_shscan_scan_out; // PINDEF:BOT // to core 2
1634 input spc3_tcu_shscan_scan_in; // PINDEF:BOT // from core 3
1635 output tcu_spc3_shscan_scan_out; // PINDEF:BOT // to core 3
1636 input spc4_tcu_shscan_scan_in; // PINDEF:BOT // from core 4
1637 output tcu_spc4_shscan_scan_out; // PINDEF:BOT // to core 4
1638 input spc5_tcu_shscan_scan_in; // PINDEF:BOT // from core 5
1639 output tcu_spc5_shscan_scan_out; // PINDEF:BOT // to core 5
1640 input spc6_tcu_shscan_scan_in; // PINDEF:BOT // from core 6
1641 output tcu_spc6_shscan_scan_out; // PINDEF:BOT // to core 6
1642 input spc7_tcu_shscan_scan_in; // PINDEF:BOT // from core 7
1643 output tcu_spc7_shscan_scan_out; // PINDEF:BOT // to core 7
1644 // SHSCAN - SPC Common
1645 output tcu_spc_shscan_aclk; // PINDEF:BOT
1646 output tcu_spc_shscan_bclk; // PINDEF:BOT
1647 output tcu_spc_shscan_scan_en; // PINDEF:BOT
1648 output tcu_spc_shscan_pce_ov; // PINDEF:BOT
1649 output tcu_spc0_shscan_clk_stop; // PINDEF:BOT
1650 output tcu_spc1_shscan_clk_stop; // PINDEF:BOT
1651 output tcu_spc2_shscan_clk_stop; // PINDEF:BOT
1652 output tcu_spc3_shscan_clk_stop; // PINDEF:BOT
1653 output tcu_spc4_shscan_clk_stop; // PINDEF:BOT
1654 output tcu_spc5_shscan_clk_stop; // PINDEF:BOT
1655 output tcu_spc6_shscan_clk_stop; // PINDEF:BOT
1656 output tcu_spc7_shscan_clk_stop; // PINDEF:BOT
1657 output [2:0] tcu_spc_shscanid; // PINDEF:BOT
1658
1659 //================================================================================
1660 //
1661 // PINS for L2T Shadow Scan
1662 //================================================================================
1663 input l2t0_tcu_shscan_scan_out; // PINDEF:BOT // from core 0
1664 output tcu_l2t0_shscan_scan_in; // PINDEF:BOT // to core 0
1665 input l2t1_tcu_shscan_scan_out; // PINDEF:BOT // from core 1
1666 output tcu_l2t1_shscan_scan_in; // PINDEF:BOT // to core 1
1667 input l2t2_tcu_shscan_scan_out; // PINDEF:BOT // from core 2
1668 output tcu_l2t2_shscan_scan_in; // PINDEF:BOT // to core 2
1669 input l2t3_tcu_shscan_scan_out; // PINDEF:BOT // from core 3
1670 output tcu_l2t3_shscan_scan_in; // PINDEF:BOT // to core 3
1671 input l2t4_tcu_shscan_scan_out; // PINDEF:BOT // from core 4
1672 output tcu_l2t4_shscan_scan_in; // PINDEF:BOT // to core 4
1673 input l2t5_tcu_shscan_scan_out; // PINDEF:BOT // from core 5
1674 output tcu_l2t5_shscan_scan_in; // PINDEF:BOT // to core 5
1675 input l2t6_tcu_shscan_scan_out; // PINDEF:BOT // from core 6
1676 output tcu_l2t6_shscan_scan_in; // PINDEF:BOT // to core 6
1677 input l2t7_tcu_shscan_scan_out; // PINDEF:BOT // from core 7
1678 output tcu_l2t7_shscan_scan_in; // PINDEF:BOT // to core 7
1679
1680 // SHSCAN - SPC Common
1681 output tcu_l2t_shscan_aclk; // PINDEF:BOT
1682 output tcu_l2t_shscan_bclk; // PINDEF:BOT
1683 output tcu_l2t_shscan_scan_en; // PINDEF:BOT
1684 output tcu_l2t_shscan_pce_ov; // PINDEF:BOT
1685 output tcu_l2t0_shscan_clk_stop; // PINDEF:BOT
1686 output tcu_l2t1_shscan_clk_stop; // PINDEF:BOT
1687 output tcu_l2t2_shscan_clk_stop; // PINDEF:BOT
1688 output tcu_l2t3_shscan_clk_stop; // PINDEF:BOT
1689 output tcu_l2t4_shscan_clk_stop; // PINDEF:BOT
1690 output tcu_l2t5_shscan_clk_stop; // PINDEF:BOT
1691 output tcu_l2t6_shscan_clk_stop; // PINDEF:BOT
1692 output tcu_l2t7_shscan_clk_stop; // PINDEF:BOT
1693
1694 // PINS for CORE DEBUG
1695 output [7:0] tcu_ss_mode; // PINDEF:BOT
1696 output [7:0] tcu_do_mode; // PINDEF:BOT
1697 output [7:0] tcu_ss_request; // PINDEF:BOT
1698 input spc0_ss_complete; // PINDEF:BOT
1699 input spc1_ss_complete; // PINDEF:BOT
1700 input spc2_ss_complete; // PINDEF:BOT
1701 input spc3_ss_complete; // PINDEF:BOT
1702 input spc4_ss_complete; // PINDEF:BOT
1703 input spc5_ss_complete; // PINDEF:BOT
1704 input spc6_ss_complete; // PINDEF:BOT
1705 input spc7_ss_complete; // PINDEF:BOT
1706 input spc0_softstop_request; // PINDEF:BOT
1707 input spc1_softstop_request; // PINDEF:BOT
1708 input spc2_softstop_request; // PINDEF:BOT
1709 input spc3_softstop_request; // PINDEF:BOT
1710 input spc4_softstop_request; // PINDEF:BOT
1711 input spc5_softstop_request; // PINDEF:BOT
1712 input spc6_softstop_request; // PINDEF:BOT
1713 input spc7_softstop_request; // PINDEF:BOT
1714 input spc0_hardstop_request; // PINDEF:BOT
1715 input spc1_hardstop_request; // PINDEF:BOT
1716 input spc2_hardstop_request; // PINDEF:BOT
1717 input spc3_hardstop_request; // PINDEF:BOT
1718 input spc4_hardstop_request; // PINDEF:BOT
1719 input spc5_hardstop_request; // PINDEF:BOT
1720 input spc6_hardstop_request; // PINDEF:BOT
1721 input spc7_hardstop_request; // PINDEF:BOT
1722 input [7:0] spc0_ncu_core_running_status; // PINDEF:BOT
1723 input [7:0] spc1_ncu_core_running_status; // PINDEF:BOT
1724 input [7:0] spc2_ncu_core_running_status; // PINDEF:BOT
1725 input [7:0] spc3_ncu_core_running_status; // PINDEF:BOT
1726 input [7:0] spc4_ncu_core_running_status; // PINDEF:BOT
1727 input [7:0] spc5_ncu_core_running_status; // PINDEF:BOT
1728 input [7:0] spc6_ncu_core_running_status; // PINDEF:BOT
1729 input [7:0] spc7_ncu_core_running_status; // PINDEF:BOT
1730 input spc0_trigger_pulse; // PINDEF:BOT
1731 input spc1_trigger_pulse; // PINDEF:BOT
1732 input spc2_trigger_pulse; // PINDEF:BOT
1733 input spc3_trigger_pulse; // PINDEF:BOT
1734 input spc4_trigger_pulse; // PINDEF:BOT
1735 input spc5_trigger_pulse; // PINDEF:BOT
1736 input spc6_trigger_pulse; // PINDEF:BOT
1737 input spc7_trigger_pulse; // PINDEF:BOT
1738
1739
1740 // Interaction with Reset Unit (RST)
1741 input rst_tcu_flush_init_req ;// RST Request TCU to assert se.
1742 input rst_tcu_flush_stop_req ;// RST Request TCU to deassert se.
1743 // From RST, indicates early release of pseudo-flush for ASICs
1744 // active in POR1 or rst_tcu_clk_stop which indicates PLL relock
1745 input rst_tcu_asicflush_stop_req; // only in POR1 or rst_tcu_clk_stop
1746 output tcu_rst_asicflush_stop_ack;
1747
1748 output tcu_rst_flush_init_ack ;// RST Request TCU to assert se.
1749 output tcu_rst_flush_stop_ack ;// RST Request TCU to deassert se.
1750
1751 input rst_wmr_protect;
1752 output tcu_bisx_done; // PINDEF:BOT to RST Block
1753 output tcu_rst_scan_mode;
1754
1755 input POR_; // PINDEF:BOT
1756 // From RST, indicates PLL is re-locking
1757 input rst_tcu_clk_stop;
1758 // From RST, indicates debug reset
1759 input rst_tcu_dbr_gen;
1760
1761 input ncu_spc0_core_available; // PINDEF:BOT
1762 input ncu_spc1_core_available; // PINDEF:BOT
1763 input ncu_spc2_core_available; // PINDEF:BOT
1764 input ncu_spc3_core_available; // PINDEF:BOT
1765 input ncu_spc4_core_available; // PINDEF:BOT
1766 input ncu_spc5_core_available; // PINDEF:BOT
1767 input ncu_spc6_core_available; // PINDEF:BOT
1768 input ncu_spc7_core_available; // PINDEF:BOT
1769
1770 input[7:0] ncu_tcu_bank_avail; // PINDEF:BOT
1771
1772 input ncu_spc0_core_enable_status; // PINDEF:BOT
1773 input ncu_spc1_core_enable_status; // PINDEF:BOT
1774 input ncu_spc2_core_enable_status; // PINDEF:BOT
1775 input ncu_spc3_core_enable_status; // PINDEF:BOT
1776 input ncu_spc4_core_enable_status; // PINDEF:BOT
1777 input ncu_spc5_core_enable_status; // PINDEF:BOT
1778 input ncu_spc6_core_enable_status; // PINDEF:BOT
1779 input ncu_spc7_core_enable_status; // PINDEF:BOT
1780
1781 input ncu_spc_pm;
1782 input ncu_spc_ba01; // PINDEF:BOT
1783 input ncu_spc_ba23; // PINDEF:BOT
1784 input ncu_spc_ba45; // PINDEF:BOT
1785 input ncu_spc_ba67; // PINDEF:BOT
1786
1787 // For control of Arrays during Scan
1788 output tcu_se_scancollar_in; // PINDEF:BOT
1789 output tcu_se_scancollar_out; // PINDEF:BOT
1790 output tcu_array_bypass; // PINDEF:BOT
1791 output tcu_array_wr_inhibit; // PINDEF:BOT
1792
1793 // Connect io shared pins from debug to internal TCU signals
1794
1795 //======================
1796 //
1797 //
1798 // mio db0 db1 changes
1799 //======================
1800 output [30:0] tcu_mio_pins_scan_out;
1801 output [39:0] tcu_mio_dmo_data;
1802 output tcu_mio_mbist_done;
1803 output tcu_mio_mbist_fail;
1804 output tcu_mio_trigout;
1805 output tcu_mio_jtag_membist_mode;
1806 output tcu_mio_clk_stop;
1807 output tcu_mio_bs_scan_in;
1808 output tcu_mio_bs_scan_en;
1809 output tcu_mio_bs_clk;
1810 output tcu_mio_bs_aclk;
1811 output tcu_mio_bs_bclk;
1812 output tcu_mio_bs_uclk;
1813 output tcu_mio_bs_mode_ctl;
1814 output tcu_mio_dmo_sync;
1815
1816 // SerDes STCI Connections: between fsr, psr, esr and TCU
1817 output tcu_stciclk; // PINDEF:BOT
1818 output [1:0] tcu_stcicfg; // PINDEF:BOT
1819 output tcu_stcid; // to fsr0
1820 input stciq_tcu; // from fsr4
1821
1822 // SerDes ATPG Connections: between fsr, psr, esr and TCU
1823 output tcu_srd_atpgse;
1824 output tcu_srd_atpgd;
1825 output [2:0] tcu_srd_atpgmode;
1826 input srd_tcu_atpgq;
1827
1828 // SerDes Boundary Scan Connections: between MCU,NIU,PEU and TCU
1829 output tcu_sbs_enbstx; // PINDEF:BOT
1830 output tcu_sbs_enbsrx; // PINDEF:BOT
1831 output tcu_sbs_scan_en; // PINDEF:BOT
1832 output tcu_sbs_clk; // PINDEF:BOT
1833 output tcu_sbs_aclk; // PINDEF:BOT
1834 output tcu_sbs_bclk; // PINDEF:BOT
1835 output tcu_sbs_uclk; // PINDEF:BOT
1836 output tcu_sbs_scan_in; // PINDEF:BOT
1837 output tcu_sbs_acmode;
1838 output tcu_sbs_actestsignal;
1839 output tcu_sbs_enbspt;
1840 output tcu_sbs_bsinitclk;
1841 output tcu_peu_entestcfg;
1842 // SerDes BScan Connection scan out returned from MCU, NIU or PEU
1843 input sbs_tcu_scan_out;// PINDEF:BOT
1844
1845 // SerDes Pin Connections, between MIO and TCU
1846 output tcu_mio_scan_out31; // STCIQ
1847 input mio_tcu_scan_in31; // STCID
1848 input mio_tcu_stciclk; // STCICLK
1849 input [1:0] mio_tcu_stcicfg; // STCICFG
1850 input mio_tcu_stcid;
1851 output tcu_mio_stciq;
1852
1853 input mio_tcu_io_ac_testmode;
1854 input mio_tcu_io_ac_testtrig;
1855 input mio_tcu_io_aclk;
1856 input mio_tcu_io_bclk;
1857 input [30:0] mio_tcu_io_scan_in;
1858 input mio_tcu_io_scan_en;
1859 input mio_tcu_trigin;
1860 input mio_tcu_bs_scan_out;
1861
1862 // External Clocks
1863 input mio_ext_cmp_clk;
1864 input mio_ext_dr_clk;
1865 input mio_tcu_peu_clk_ext;
1866 input [5:0] mio_tcu_niu_clk_ext;
1867
1868 output tcu_peu_clk_ext;
1869 output tcu_ccu_ext_cmp_clk;
1870 output tcu_ccu_ext_dr_clk;
1871 //output [5:0] tcu_niu_clk_ext;
1872 output mac_125rx_test_clk;
1873 output mac_125tx_test_clk;
1874 output mac_156rx_test_clk;
1875 output mac_156tx_test_clk;
1876 output mac_312rx_test_clk;
1877 output mac_312tx_test_clk;
1878 output tcu_peu_testmode;
1879 output tcu_mac_testmode;
1880
1881 input mio_tcu_divider_bypass;
1882 input mio_tcu_pll_cmp_bypass;
1883
1884 output tcu_div_bypass; //tcu_ccu_divider_bypass;
1885 output [1:0] tcu_ccu_mux_sel; // encoded
1886 output tcu_ccu_clk_stretch;
1887
1888 output tcu_mio_bs_highz_l;
1889
1890 input dbg1_tcu_soc_hard_stop;
1891 input dbg1_tcu_soc_asrt_trigout;
1892
1893 output tcu_db0_clk_stop;
1894 output tcu_db1_clk_stop;
1895
1896 assign io_aclk = mio_tcu_io_aclk;
1897 assign io_bclk = mio_tcu_io_bclk;
1898 assign io_scan_en = mio_tcu_io_scan_en;
1899 assign io_ac_test_mode = mio_tcu_io_ac_testmode;
1900 assign io_ac_testtrig = mio_tcu_io_ac_testtrig;
1901 assign io_scan_in[30:0] = mio_tcu_io_scan_in[30:0];
1902 assign tcu_mio_pins_scan_out[30:0] = tcu_pins_scan_out[30:0];
1903
1904 // Logic BIST connections: 1 per core
1905 output [7:0] tcu_spc_lbist_start;
1906 output [7:0] tcu_spc_lbist_scan_in;
1907 output tcu_spc_lbist_pgm;
1908
1909 output tcu_spc0_test_mode;
1910 output tcu_spc1_test_mode;
1911 output tcu_spc2_test_mode;
1912 output tcu_spc3_test_mode;
1913 output tcu_spc4_test_mode;
1914 output tcu_spc5_test_mode;
1915 output tcu_spc6_test_mode;
1916 output tcu_spc7_test_mode;
1917
1918 output tcu_atpg_mode;
1919
1920 input spc0_tcu_lbist_done;
1921 input spc1_tcu_lbist_done;
1922 input spc2_tcu_lbist_done;
1923 input spc3_tcu_lbist_done;
1924 input spc4_tcu_lbist_done;
1925 input spc5_tcu_lbist_done;
1926 input spc6_tcu_lbist_done;
1927 input spc7_tcu_lbist_done;
1928 input spc0_tcu_lbist_scan_out;
1929 input spc1_tcu_lbist_scan_out;
1930 input spc2_tcu_lbist_scan_out;
1931 input spc3_tcu_lbist_scan_out;
1932 input spc4_tcu_lbist_scan_out;
1933 input spc5_tcu_lbist_scan_out;
1934 input spc6_tcu_lbist_scan_out;
1935 input spc7_tcu_lbist_scan_out;
1936
1937//=============================
1938// Cluster Headers
1939//=============================
1940clkgen_tcu_cmp clkgen_tcu_cmp (
1941 .l2clk ( l2clk ),
1942 .cmp_slow_sync_en ( cmp_io_sync_en ),
1943 .slow_cmp_sync_en ( io_cmp_sync_en ),
1944 .io2x_sync_en ( cmp_io2x_sync_en ),
1945 .dr_sync_en ( cmp_dr_sync_en ),
1946 .aclk ( aclk0_unused ),
1947 .bclk ( bclk0_unused ),
1948 .scan_out ( clkgen_tcu_cmp_scan_out),
1949 .pce_ov ( pce_ov0_unused ),
1950 .aclk_wmr ( aclk_wmr0_unused ),
1951 .wmr_protect ( wmr_protect0_unused ),
1952 .wmr_ ( wmr0_unused ),
1953 .por_ ( por0_unused ),
1954 .array_wr_inhibit ( awi0_unused ),
1955
1956 // Inputs
1957 .tcu_clk_stop ( rst_tcu_clk_stop ),
1958 .tcu_pce_ov ( 1'b0 ),
1959 .rst_wmr_protect ( 1'b0 ),
1960 .rst_wmr_ ( 1'b1 ),
1961 .rst_por_ ( 1'b1 ),
1962 .ccu_cmp_slow_sync_en ( ccu_cmp_io_sync_en ),
1963 .ccu_slow_cmp_sync_en ( ccu_io_cmp_sync_en ),
1964 .ccu_io2x_sync_en ( ccu_cmp_io2x_sync_en ),
1965 .ccu_dr_sync_en ( ccu_cmp_dr_sync_en ),
1966 //.tcu_div_bypass ( 1'b0 ),
1967 .tcu_div_bypass ( tcu_div_bypass ),
1968 .ccu_div_ph ( 1'b1 ),
1969 .cluster_div_en ( 1'b0 ),
1970 .gclk ( gclk ),
1971 .clk_ext ( 1'b0 ),
1972 .scan_en ( tcu_int_se ),
1973 .scan_in ( clkgen_tcu_cmp_scan_in),
1974 .tcu_aclk ( tcu_int_aclk ),
1975 .tcu_bclk ( tcu_int_bclk ),
1976 .cluster_arst_l ( cluster_arst_l ),
1977 .ccu_serdes_dtm ( 1'b0 ),
1978 .tcu_atpg_mode ( tcu_atpg_mode ),
1979 .tcu_wr_inhibit ( 1'b0 ));
1980
1981clkgen_tcu_io clkgen_tcu_io (
1982 .l2clk ( iol2clk ),
1983 .cmp_slow_sync_en ( cmp_slow_sync_en_unused ),
1984 .slow_cmp_sync_en ( slow_cmp_sync_en_unused ),
1985 .aclk ( aclk1_unused ),
1986 .bclk ( bclk1_unused ),
1987 .scan_out ( clkgen_tcu_io_scan_out ),
1988 .pce_ov ( pce_ov1_unused ),
1989 .aclk_wmr ( aclk_wmr1_unused ),
1990 .wmr_protect ( wmr_protect1_unused ),
1991 .wmr_ ( wmr1_unused ),
1992 .por_ ( por1_unused ),
1993 .array_wr_inhibit ( awi1_unused ),
1994
1995 // Inputs
1996 .tcu_clk_stop ( rst_tcu_clk_stop ),
1997 .tcu_pce_ov ( 1'b0 ),
1998 .rst_wmr_protect ( 1'b0 ),
1999 .rst_wmr_ ( 1'b1 ),
2000 .rst_por_ ( 1'b1 ),
2001 .ccu_cmp_slow_sync_en ( 1'b0 ),
2002 .ccu_slow_cmp_sync_en ( 1'b0 ),
2003 .tcu_div_bypass ( tcu_div_bypass ),
2004 .ccu_div_ph ( ccu_io_out ),
2005 .cluster_div_en ( 1'b1 ),
2006 .gclk ( gclk ),
2007 .clk_ext ( 1'b0 ),
2008 .scan_en ( tcu_int_se ),
2009 .scan_in ( clkgen_tcu_io_scan_in ),
2010 .tcu_aclk ( tcu_int_aclk ),
2011 .tcu_bclk ( tcu_int_bclk ),
2012 .cluster_arst_l ( cluster_arst_l ),
2013 .ccu_serdes_dtm ( 1'b0 ),
2014 .tcu_atpg_mode ( tcu_atpg_mode ),
2015 .tcu_wr_inhibit ( 1'b0 ));
2016
2017//=============================
2018//
2019//
2020// Added SOC MBIST Logic
2021// Made Actual Connections
2022// Modified on 20050214
2023// Changed from 78 to 88
2024//=============================
2025assign tcu_rdp_rdmc_mbist_start = tcu_mbist_start[47];
2026assign tcu_rtx_rxc_ipp0_mbist_start = tcu_mbist_start[46];
2027assign tcu_rtx_rxc_ipp1_mbist_start = tcu_mbist_start[45];
2028assign tcu_rtx_rxc_mb5_mbist_start = tcu_mbist_start[44];
2029assign tcu_rtx_rxc_mb6_mbist_start = tcu_mbist_start[43];
2030assign tcu_rtx_rxc_zcp0_mbist_start = tcu_mbist_start[42];
2031assign tcu_rtx_rxc_zcp1_mbist_start = tcu_mbist_start[41];
2032assign tcu_rtx_txc_txe0_mbist_start = tcu_mbist_start[40];
2033assign tcu_rtx_txc_txe1_mbist_start = tcu_mbist_start[39];
2034assign tcu_tds_smx_mbist_start = tcu_mbist_start[38];
2035assign tcu_tds_tdmc_mbist_start = tcu_mbist_start[37];
2036assign tcu_peu_mbist_start = tcu_mbist_start[36];
2037assign tcu_dmu_mbist_start = tcu_mbist_start[35:34];
2038assign tcu_l2t7_mbist_start = tcu_mbist_start[33];
2039assign tcu_l2t6_mbist_start = tcu_mbist_start[32];
2040assign tcu_l2t5_mbist_start = tcu_mbist_start[31];
2041assign tcu_l2t4_mbist_start = tcu_mbist_start[30];
2042assign tcu_l2t3_mbist_start = tcu_mbist_start[29];
2043assign tcu_l2t2_mbist_start = tcu_mbist_start[28];
2044assign tcu_l2t1_mbist_start = tcu_mbist_start[27];
2045assign tcu_l2t0_mbist_start = tcu_mbist_start[26];
2046assign tcu_l2b7_mbist_start = tcu_mbist_start[25];
2047assign tcu_l2b6_mbist_start = tcu_mbist_start[24];
2048assign tcu_l2b5_mbist_start = tcu_mbist_start[23];
2049assign tcu_l2b4_mbist_start = tcu_mbist_start[22];
2050assign tcu_l2b3_mbist_start = tcu_mbist_start[21];
2051assign tcu_l2b2_mbist_start = tcu_mbist_start[20];
2052assign tcu_l2b1_mbist_start = tcu_mbist_start[19];
2053assign tcu_l2b0_mbist_start = tcu_mbist_start[18];
2054assign tcu_mcu3_mbist_start = tcu_mbist_start[17];
2055assign tcu_mcu2_mbist_start = tcu_mbist_start[16];
2056assign tcu_mcu1_mbist_start = tcu_mbist_start[15];
2057assign tcu_mcu0_mbist_start = tcu_mbist_start[14];
2058assign tcu_ncu_mbist_start = tcu_mbist_start[13:12];
2059assign tcu_sio_mbist_start = tcu_mbist_start[11:10];
2060assign tcu_sii_mbist_start = tcu_mbist_start[9:8];
2061assign tcu_spc_mbist_start = tcu_mbist_start[7:0];
2062
2063
2064//instantiate submodules
2065
2066 tcu_sigmux_ctl sigmux_ctl (
2067 //inputs
2068 .scan_in(sigmux_ctl_scan_in),
2069 .scan_out(sigmux_ctl_scan_out),
2070 //outputs
2071 .tcu_int_aclk ( tcu_int_aclk ),
2072 .tcu_int_bclk ( tcu_int_bclk ),
2073 .tcu_int_se ( tcu_int_se ),
2074 .tcu_soca_scan_out(tcu_socb_scan_out),
2075 .tcu_socb_scan_out(tcu_soca_scan_out),
2076 .tcu_spc0_mb_scan_out(tcu_spc0_mbist_scan_out),
2077 .tcu_spc1_mb_scan_out(tcu_spc1_mbist_scan_out),
2078 .tcu_spc2_mb_scan_out(tcu_spc2_mbist_scan_out),
2079 .tcu_spc3_mb_scan_out(tcu_spc3_mbist_scan_out),
2080 .tcu_spc4_mb_scan_out(tcu_spc4_mbist_scan_out),
2081 .tcu_spc5_mb_scan_out(tcu_spc5_mbist_scan_out),
2082 .tcu_spc6_mb_scan_out(tcu_spc6_mbist_scan_out),
2083 .tcu_spc7_mb_scan_out(tcu_spc7_mbist_scan_out),
2084 .mio_ext_cmp_clk(mio_ext_cmp_clk),
2085 .mio_ext_dr_clk(mio_ext_dr_clk),
2086 .tcu_ccu_ext_dr_clk(tcu_ccu_ext_dr_clk),
2087 .tcu_ccu_ext_cmp_clk(tcu_ccu_ext_cmp_clk),
2088 .tcu_ccu_clk_stop(tcu_ccu_clk_stop),
2089 .tcu_ccu_io_clk_stop(tcu_ccu_io_clk_stop),
2090 .tcu_rst_clk_stop(tcu_rst_clk_stop),
2091 .tcu_rst_io_clk_stop(tcu_rst_io_clk_stop),
2092 .mbist_clk_stop(mbist_clk_stop),
2093 .tck_clk_tree(tck_clk_tree),
2094 .mio_tcu_peu_clk_ext(mio_tcu_peu_clk_ext),
2095 .tcu_peu_clk_ext(tcu_peu_clk_ext),
2096 .mio_tcu_niu_clk_ext(mio_tcu_niu_clk_ext[5:0]),
2097 .mac_125rx_test_clk(mac_125rx_test_clk),
2098 .mac_125tx_test_clk(mac_125tx_test_clk),
2099 .mac_156rx_test_clk(mac_156rx_test_clk),
2100 .mac_156tx_test_clk(mac_156tx_test_clk),
2101 .mac_312rx_test_clk(mac_312rx_test_clk),
2102 .mac_312tx_test_clk(mac_312tx_test_clk),
2103 .mio_tcu_pll_cmp_bypass(mio_tcu_pll_cmp_bypass),
2104 .mio_tcu_divider_bypass(mio_tcu_divider_bypass),
2105 .tcu_div_bypass(tcu_div_bypass),
2106 .cmp_io_sync_en(cmp_io_sync_en),
2107 .io_cmp_sync_en(io_cmp_sync_en),
2108 .cmp_dr_sync_en(cmp_dr_sync_en),
2109 .tcu_peu_testmode(tcu_peu_testmode),
2110 .tcu_mac_testmode(tcu_mac_testmode),
2111 .tcu_spc0_test_mode(tcu_spc0_test_mode),
2112 .tcu_spc1_test_mode(tcu_spc1_test_mode),
2113 .tcu_spc2_test_mode(tcu_spc2_test_mode),
2114 .tcu_spc3_test_mode(tcu_spc3_test_mode),
2115 .tcu_spc4_test_mode(tcu_spc4_test_mode),
2116 .tcu_spc5_test_mode(tcu_spc5_test_mode),
2117 .tcu_spc6_test_mode(tcu_spc6_test_mode),
2118 .tcu_spc7_test_mode(tcu_spc7_test_mode),
2119 .tcu_rst_scan_mode(tcu_rst_scan_mode),
2120 .tcu_atpg_mode(tcu_atpg_mode),
2121 .tcu_mcu_testmode(tcu_mcu_testmode),
2122 .io_aclk(io_aclk),
2123 .io_bclk(io_bclk),
2124 .l2clk(l2clk),
2125 .io_tdi(io_tdi),
2126 .io_scan_in(io_scan_in[30:0]),
2127 .spc0_tcu_scan_in(spc0_tcu_scan_in[1:0]),
2128 .spc1_tcu_scan_in(spc1_tcu_scan_in[1:0]),
2129 .spc2_tcu_scan_in(spc2_tcu_scan_in[1:0]),
2130 .spc3_tcu_scan_in(spc3_tcu_scan_in[1:0]),
2131 .spc4_tcu_scan_in(spc4_tcu_scan_in[1:0]),
2132 .spc5_tcu_scan_in(spc5_tcu_scan_in[1:0]),
2133 .spc6_tcu_scan_in(spc6_tcu_scan_in[1:0]),
2134 .spc7_tcu_scan_in(spc7_tcu_scan_in[1:0]),
2135 .soca_tcu_scan_in(soca_tcu_scan_in),
2136 .socb_tcu_scan_in(socb_tcu_scan_in),
2137 .socc_tcu_scan_in(socc_tcu_scan_in),
2138 .socd_tcu_scan_in(socd_tcu_scan_in),
2139 .soce_tcu_scan_in(soce_tcu_scan_in),
2140 .socf_tcu_scan_in(socf_tcu_scan_in),
2141 .socg_tcu_scan_in(socg_tcu_scan_in),
2142 .soch_tcu_scan_in(soch_tcu_scan_in),
2143 .soc0_tcu_scan_in(soc0_tcu_scan_in),
2144 .soc1_tcu_scan_in(soc1_tcu_scan_in),
2145 .soc2_tcu_scan_in(soc2_tcu_scan_in),
2146 .soc3_tcu_scan_in(soc3_tcu_scan_in),
2147 .soc4_tcu_scan_in(soc4_tcu_scan_in),
2148 .soc5_tcu_scan_in(soc5_tcu_scan_in),
2149 .soc6_tcu_scan_in(soc6_tcu_scan_in),
2150 .peu_tcu_scan_in(peu_tcu_scan_in),
2151 .ccu_tcu_scan_in(ccu_tcu_scan_in),
2152 .jtag_sbs_scan_in(jtag_sbs_scan_in),
2153 .mio_tcu_bs_scan_out(mio_tcu_bs_scan_out),
2154 .io_test_mode(io_test_mode),
2155 .jtag_ser_scan_q(jtag_ser_scan_q),
2156 .io_scan_en(io_scan_en),
2157 .clk_stop_ac_trans_counter_initiated(clk_stop_ac_trans_counter_initiated),
2158 .io_ac_test_mode(io_ac_test_mode),
2159 .io_ac_testtrig(io_ac_testtrig),
2160 .ac_test_mode(ac_test_mode),
2161 .debug_reg_hard_stop_domain_1st(debug_reg_hard_stop_domain_1st[23:0]),
2162 .debug_cycle_counter_stop(debug_cycle_counter_stop),
2163 .debug_event_stop(debug_event_stop),
2164 .spc_ss_mode(spc_ss_mode),
2165 .spc_ss_sel(spc_ss_sel[7:0]),
2166 .instr_sstop_csmode(instr_sstop_csmode),
2167 .tcu_scan_chain(tcu_scan_chain),
2168 .POR_(POR_),
2169 .jtag_clk_stop_req(jtag_clk_stop_req),
2170 .jtagclkstop_ov(jtagclkstop_ov),
2171 .rst_tcu_flush_init_req(rst_tcu_flush_init_req),
2172 .rst_tcu_flush_stop_req(rst_tcu_flush_stop_req),
2173 .rst_tcu_asicflush_stop_req(rst_tcu_asicflush_stop_req),
2174 .rst_wmr_protect(rst_wmr_protect),
2175 .rst_tcu_dbr_gen(rst_tcu_dbr_gen),
2176 .tcu_rst_flush_init_ack(tcu_rst_flush_init_ack),
2177 .tcu_rst_flush_stop_ack(tcu_rst_flush_stop_ack),
2178 .tcu_rst_asicflush_stop_ack(tcu_rst_asicflush_stop_ack),
2179 .tcu_rst_efu_done(tcu_rst_efu_done),
2180 .flush_test_protect(flush_test_protect),
2181 .tcu_test_protect_cmp(tcu_test_protect_cmp),
2182 .jtag_sck_byp(jtag_sck_byp),
2183 .tcu_sck_bypass(tcu_sck_bypass),
2184 .jtag_por_enable(jtag_por_enable),
2185 .jtag_por_status(jtag_por_status),
2186 .jtag_efu_clear_instr(jtag_efu_clear_instr),
2187 .jtag_efu_rvclr(jtag_efu_rvclr[6:0]),
2188 .tcu_efu_read_start(tcu_efu_read_start),
2189 .tcu_efu_rvclr(tcu_efu_rvclr[6:0]),
2190 .jt_scan_in(jt_scan_in),
2191 .jt_scan_en(jt_scan_en),
2192 .jt_scan_aclk(jt_scan_aclk),
2193 .jt_scan_bclk(jt_scan_bclk),
2194 .ser_scan_out(ser_scan_out),
2195 .chain_select(chain_select),
2196 .sel_chain(sel_chain[4:0]),
2197 .tcu_spc_lbist_start(tcu_spc_lbist_start[7:0]),
2198 .tap_spc0_mb_aclk(tap_spc0_mb_aclk),
2199 .tap_spc0_mb_bclk(tap_spc0_mb_bclk),
2200 .tap_spc0_mb_scan_en(tap_spc0_mb_scan_en),
2201 .tap_spc0_mb_clk_stop(tap_spc0_mb_clk_stop),
2202 .tap_spc1_mb_aclk(tap_spc1_mb_aclk),
2203 .tap_spc1_mb_bclk(tap_spc1_mb_bclk),
2204 .tap_spc1_mb_scan_en(tap_spc1_mb_scan_en),
2205 .tap_spc1_mb_clk_stop(tap_spc1_mb_clk_stop),
2206 .tap_spc2_mb_aclk(tap_spc2_mb_aclk),
2207 .tap_spc2_mb_bclk(tap_spc2_mb_bclk),
2208 .tap_spc2_mb_scan_en(tap_spc2_mb_scan_en),
2209 .tap_spc2_mb_clk_stop(tap_spc2_mb_clk_stop),
2210 .tap_spc3_mb_aclk(tap_spc3_mb_aclk),
2211 .tap_spc3_mb_bclk(tap_spc3_mb_bclk),
2212 .tap_spc3_mb_scan_en(tap_spc3_mb_scan_en),
2213 .tap_spc3_mb_clk_stop(tap_spc3_mb_clk_stop),
2214 .tap_spc4_mb_aclk(tap_spc4_mb_aclk),
2215 .tap_spc4_mb_bclk(tap_spc4_mb_bclk),
2216 .tap_spc4_mb_scan_en(tap_spc4_mb_scan_en),
2217 .tap_spc4_mb_clk_stop(tap_spc4_mb_clk_stop),
2218 .tap_spc5_mb_aclk(tap_spc5_mb_aclk),
2219 .tap_spc5_mb_bclk(tap_spc5_mb_bclk),
2220 .tap_spc5_mb_scan_en(tap_spc5_mb_scan_en),
2221 .tap_spc5_mb_clk_stop(tap_spc5_mb_clk_stop),
2222 .tap_spc6_mb_aclk(tap_spc6_mb_aclk),
2223 .tap_spc6_mb_bclk(tap_spc6_mb_bclk),
2224 .tap_spc6_mb_scan_en(tap_spc6_mb_scan_en),
2225 .tap_spc6_mb_clk_stop(tap_spc6_mb_clk_stop),
2226 .tap_spc7_mb_aclk(tap_spc7_mb_aclk),
2227 .tap_spc7_mb_bclk(tap_spc7_mb_bclk),
2228 .tap_spc7_mb_scan_en(tap_spc7_mb_scan_en),
2229 .tap_spc7_mb_clk_stop(tap_spc7_mb_clk_stop),
2230 .tcu_dectest(tcu_dectest),
2231 .tcu_muxtest(tcu_muxtest),
2232 .tcu_jtag_flush_req(tcu_jtag_flush_req),
2233 .tcu_jtag_flush_dly_req(tcu_jtag_flush_dly_req),
2234 .tcu_aclk(tcu_aclk),
2235 .tcu_bclk(tcu_bclk),
2236 .tcu_scan_en(tcu_scan_en),
2237 .jtag_mt_enable(jtag_mt_enable),
2238 .tcu_spc0_aclk(tcu_spc0_aclk),
2239 .tcu_spc0_bclk(tcu_spc0_bclk),
2240 .tcu_spc0_scan_en(tcu_spc0_scan_en),
2241 .tcu_spc0_se_scancollar_in(tcu_spc0_se_scancollar_in),
2242 .tcu_spc0_se_scancollar_out(tcu_spc0_se_scancollar_out),
2243 .tcu_spc0_array_wr_inhibit(tcu_spc0_array_wr_inhibit),
2244 .tcu_spc1_aclk(tcu_spc1_aclk),
2245 .tcu_spc1_bclk(tcu_spc1_bclk),
2246 .tcu_spc1_scan_en(tcu_spc1_scan_en),
2247 .tcu_spc1_se_scancollar_in(tcu_spc1_se_scancollar_in),
2248 .tcu_spc1_se_scancollar_out(tcu_spc1_se_scancollar_out),
2249 .tcu_spc1_array_wr_inhibit(tcu_spc1_array_wr_inhibit),
2250 .tcu_spc2_aclk(tcu_spc2_aclk),
2251 .tcu_spc2_bclk(tcu_spc2_bclk),
2252 .tcu_spc2_scan_en(tcu_spc2_scan_en),
2253 .tcu_spc2_se_scancollar_in(tcu_spc2_se_scancollar_in),
2254 .tcu_spc2_se_scancollar_out(tcu_spc2_se_scancollar_out),
2255 .tcu_spc2_array_wr_inhibit(tcu_spc2_array_wr_inhibit),
2256 .tcu_spc3_aclk(tcu_spc3_aclk),
2257 .tcu_spc3_bclk(tcu_spc3_bclk),
2258 .tcu_spc3_scan_en(tcu_spc3_scan_en),
2259 .tcu_spc3_se_scancollar_in(tcu_spc3_se_scancollar_in),
2260 .tcu_spc3_se_scancollar_out(tcu_spc3_se_scancollar_out),
2261 .tcu_spc3_array_wr_inhibit(tcu_spc3_array_wr_inhibit),
2262 .tcu_spc4_aclk(tcu_spc4_aclk),
2263 .tcu_spc4_bclk(tcu_spc4_bclk),
2264 .tcu_spc4_scan_en(tcu_spc4_scan_en),
2265 .tcu_spc4_se_scancollar_in(tcu_spc4_se_scancollar_in),
2266 .tcu_spc4_se_scancollar_out(tcu_spc4_se_scancollar_out),
2267 .tcu_spc4_array_wr_inhibit(tcu_spc4_array_wr_inhibit),
2268 .tcu_spc5_aclk(tcu_spc5_aclk),
2269 .tcu_spc5_bclk(tcu_spc5_bclk),
2270 .tcu_spc5_scan_en(tcu_spc5_scan_en),
2271 .tcu_spc5_se_scancollar_in(tcu_spc5_se_scancollar_in),
2272 .tcu_spc5_se_scancollar_out(tcu_spc5_se_scancollar_out),
2273 .tcu_spc5_array_wr_inhibit(tcu_spc5_array_wr_inhibit),
2274 .tcu_spc6_aclk(tcu_spc6_aclk),
2275 .tcu_spc6_bclk(tcu_spc6_bclk),
2276 .tcu_spc6_scan_en(tcu_spc6_scan_en),
2277 .tcu_spc6_se_scancollar_in(tcu_spc6_se_scancollar_in),
2278 .tcu_spc6_se_scancollar_out(tcu_spc6_se_scancollar_out),
2279 .tcu_spc6_array_wr_inhibit(tcu_spc6_array_wr_inhibit),
2280 .tcu_spc7_aclk(tcu_spc7_aclk),
2281 .tcu_spc7_bclk(tcu_spc7_bclk),
2282 .tcu_spc7_scan_en(tcu_spc7_scan_en),
2283 .tcu_spc7_se_scancollar_in(tcu_spc7_se_scancollar_in),
2284 .tcu_spc7_se_scancollar_out(tcu_spc7_se_scancollar_out),
2285 .tcu_spc7_array_wr_inhibit(tcu_spc7_array_wr_inhibit),
2286 .tcu_asic_aclk(tcu_asic_aclk),
2287 .tcu_asic_bclk(tcu_asic_bclk),
2288 .tcu_asic_scan_en(tcu_asic_scan_en),
2289 .tcu_asic_se_scancollar_in(tcu_asic_se_scancollar_in),
2290 .tcu_asic_se_scancollar_out(tcu_asic_se_scancollar_out),
2291 .tcu_asic_array_wr_inhibit(tcu_asic_array_wr_inhibit),
2292 .tcu_jtag_se(tcu_jtag_se),
2293 .tcu_int_ce(tcu_int_ce),
2294 .tcu_int_ce_to_ucb(tcu_int_ce_to_ucb),
2295 .tcu_int_pce_ov(tcu_int_pce_ov),
2296 .tcu_jtag_aclk(tcu_jtag_aclk),
2297 .tcu_spc0_scan_out(tcu_spc0_scan_out[1:0]),
2298 .tcu_spc1_scan_out(tcu_spc1_scan_out[1:0]),
2299 .tcu_spc2_scan_out(tcu_spc2_scan_out[1:0]),
2300 .tcu_spc3_scan_out(tcu_spc3_scan_out[1:0]),
2301 .tcu_spc4_scan_out(tcu_spc4_scan_out[1:0]),
2302 .tcu_spc5_scan_out(tcu_spc5_scan_out[1:0]),
2303 .tcu_spc6_scan_out(tcu_spc6_scan_out[1:0]),
2304 .tcu_spc7_scan_out(tcu_spc7_scan_out[1:0]),
2305 .tcu_socc_scan_out(tcu_socc_scan_out),
2306 .tcu_socd_scan_out(tcu_socd_scan_out),
2307 .tcu_soce_scan_out(tcu_soce_scan_out),
2308 .tcu_socf_scan_out(tcu_socf_scan_out),
2309 .tcu_socg_scan_out(tcu_socg_scan_out),
2310 .tcu_soch_scan_out(tcu_soch_scan_out),
2311 .tcu_soc0_scan_out(tcu_soc0_scan_out),
2312 .tcu_soc1_scan_out(tcu_soc1_scan_out),
2313 .tcu_soc2_scan_out(tcu_soc2_scan_out),
2314 .tcu_soc3_scan_out(tcu_soc3_scan_out),
2315 .tcu_soc4_scan_out(tcu_soc4_scan_out),
2316 .tcu_soc5_scan_out(tcu_soc5_scan_out),
2317 .tcu_soc6_scan_out(tcu_soc6_scan_out),
2318 .tcu_peu_scan_out(tcu_peu_scan_out),
2319 .tcu_rst_scan_out(tcu_rst_scan_out),
2320 .tcu_sbs_scan_in(tcu_sbs_scan_in),
2321 .tcu_pins_scan_out(tcu_pins_scan_out[30:0]),
2322 .pre_spc0_clk_stop(pre_spc0_clk_stop),
2323 .pre_spc1_clk_stop(pre_spc1_clk_stop),
2324 .pre_spc2_clk_stop(pre_spc2_clk_stop),
2325 .pre_spc3_clk_stop(pre_spc3_clk_stop),
2326 .pre_spc4_clk_stop(pre_spc4_clk_stop),
2327 .pre_spc5_clk_stop(pre_spc5_clk_stop),
2328 .pre_spc6_clk_stop(pre_spc6_clk_stop),
2329 .pre_spc7_clk_stop(pre_spc7_clk_stop),
2330 .pre_bnk0_clk_stop(pre_bnk0_clk_stop),
2331 .pre_l2t0_clk_stop(pre_l2t0_clk_stop),
2332 .pre_bnk1_clk_stop(pre_bnk1_clk_stop),
2333 .pre_l2t1_clk_stop(pre_l2t1_clk_stop),
2334 .pre_bnk2_clk_stop(pre_bnk2_clk_stop),
2335 .pre_l2t2_clk_stop(pre_l2t2_clk_stop),
2336 .pre_bnk3_clk_stop(pre_bnk3_clk_stop),
2337 .pre_l2t3_clk_stop(pre_l2t3_clk_stop),
2338 .pre_bnk4_clk_stop(pre_bnk4_clk_stop),
2339 .pre_l2t4_clk_stop(pre_l2t4_clk_stop),
2340 .pre_bnk5_clk_stop(pre_bnk5_clk_stop),
2341 .pre_l2t5_clk_stop(pre_l2t5_clk_stop),
2342 .pre_bnk6_clk_stop(pre_bnk6_clk_stop),
2343 .pre_l2t6_clk_stop(pre_l2t6_clk_stop),
2344 .pre_bnk7_clk_stop(pre_bnk7_clk_stop),
2345 .pre_l2t7_clk_stop(pre_l2t7_clk_stop),
2346 .pre_mcu0_clk_stop(pre_mcu0_clk_stop),
2347 .pre_mcu0_io_clk_stop(pre_mcu0_io_clk_stop),
2348 .pre_mcu0_dr_clk_stop(pre_mcu0_dr_clk_stop),
2349 .pre_mcu0_fbd_clk_stop(pre_mcu0_fbd_clk_stop),
2350 .pre_mcu1_clk_stop(pre_mcu1_clk_stop),
2351 .pre_mcu1_io_clk_stop(pre_mcu1_io_clk_stop),
2352 .pre_mcu1_dr_clk_stop(pre_mcu1_dr_clk_stop),
2353 .pre_mcu1_fbd_clk_stop(pre_mcu1_fbd_clk_stop),
2354 .pre_mcu2_clk_stop(pre_mcu2_clk_stop),
2355 .pre_mcu2_io_clk_stop(pre_mcu2_io_clk_stop),
2356 .pre_mcu2_dr_clk_stop(pre_mcu2_dr_clk_stop),
2357 .pre_mcu2_fbd_clk_stop(pre_mcu2_fbd_clk_stop),
2358 .pre_mcu3_clk_stop(pre_mcu3_clk_stop),
2359 .pre_mcu3_io_clk_stop(pre_mcu3_io_clk_stop),
2360 .pre_mcu3_dr_clk_stop(pre_mcu3_dr_clk_stop),
2361 .pre_mcu3_fbd_clk_stop(pre_mcu3_fbd_clk_stop),
2362 .pre_soc0_clk_stop(pre_soc0_clk_stop),
2363 .pre_soc0_io_clk_stop(pre_soc0_io_clk_stop),
2364 .pre_soc1_io_clk_stop(pre_soc1_io_clk_stop),
2365 .pre_soc2_io_clk_stop(pre_soc2_io_clk_stop),
2366 .pre_soc3_clk_stop(pre_soc3_clk_stop),
2367 .pre_soc3_io_clk_stop(pre_soc3_io_clk_stop),
2368 .tcu_pce_ov(tcu_pce_ov),
2369 .ac_trans_test_counter_start(ac_trans_test_counter_start),
2370 .spc0_tcu_mbist_scan_in(spc0_tcu_mbist_scan_in),
2371 .tap_spc0_mb_scan_out(tap_spc0_mb_scan_out),
2372 .spc0_tap_mb_scan_in(spc0_tap_mb_scan_in),
2373 .spc1_tcu_mbist_scan_in(spc1_tcu_mbist_scan_in),
2374 .tap_spc1_mb_scan_out(tap_spc1_mb_scan_out),
2375 .spc1_tap_mb_scan_in(spc1_tap_mb_scan_in),
2376 .spc2_tcu_mbist_scan_in(spc2_tcu_mbist_scan_in),
2377 .tap_spc2_mb_scan_out(tap_spc2_mb_scan_out),
2378 .spc2_tap_mb_scan_in(spc2_tap_mb_scan_in),
2379 .spc3_tcu_mbist_scan_in(spc3_tcu_mbist_scan_in),
2380 .tap_spc3_mb_scan_out(tap_spc3_mb_scan_out),
2381 .spc3_tap_mb_scan_in(spc3_tap_mb_scan_in),
2382 .spc4_tcu_mbist_scan_in(spc4_tcu_mbist_scan_in),
2383 .tap_spc4_mb_scan_out(tap_spc4_mb_scan_out),
2384 .spc4_tap_mb_scan_in(spc4_tap_mb_scan_in),
2385 .spc5_tcu_mbist_scan_in(spc5_tcu_mbist_scan_in),
2386 .tap_spc5_mb_scan_out(tap_spc5_mb_scan_out),
2387 .spc5_tap_mb_scan_in(spc5_tap_mb_scan_in),
2388 .spc6_tcu_mbist_scan_in(spc6_tcu_mbist_scan_in),
2389 .tap_spc6_mb_scan_out(tap_spc6_mb_scan_out),
2390 .spc6_tap_mb_scan_in(spc6_tap_mb_scan_in),
2391 .spc7_tcu_mbist_scan_in(spc7_tcu_mbist_scan_in),
2392 .tap_spc7_mb_scan_out(tap_spc7_mb_scan_out),
2393 .spc7_tap_mb_scan_in(spc7_tap_mb_scan_in),
2394 .tcu_sii_mbist_scan_in(tcu_sii_mbist_scan_in),
2395 .tcu_sio_mbist_scan_in(tcu_sio_mbist_scan_in),
2396 .tcu_ncu_mbist_scan_in(tcu_ncu_mbist_scan_in),
2397 .tcu_mcu0_mbist_scan_in(tcu_mcu0_mbist_scan_in),
2398 .tcu_mcu1_mbist_scan_in(tcu_mcu1_mbist_scan_in),
2399 .tcu_mcu2_mbist_scan_in(tcu_mcu2_mbist_scan_in),
2400 .tcu_mcu3_mbist_scan_in(tcu_mcu3_mbist_scan_in),
2401 .tcu_l2b0_mbist_scan_in(tcu_l2b0_mbist_scan_in),
2402 .tcu_l2b1_mbist_scan_in(tcu_l2b1_mbist_scan_in),
2403 .tcu_l2b2_mbist_scan_in(tcu_l2b2_mbist_scan_in),
2404 .tcu_l2b3_mbist_scan_in(tcu_l2b3_mbist_scan_in),
2405 .tcu_l2b4_mbist_scan_in(tcu_l2b4_mbist_scan_in),
2406 .tcu_l2b5_mbist_scan_in(tcu_l2b5_mbist_scan_in),
2407 .tcu_l2b6_mbist_scan_in(tcu_l2b6_mbist_scan_in),
2408 .tcu_l2b7_mbist_scan_in(tcu_l2b7_mbist_scan_in),
2409 .tcu_l2t0_mbist_scan_in(tcu_l2t0_mbist_scan_in),
2410 .tcu_l2t1_mbist_scan_in(tcu_l2t1_mbist_scan_in),
2411 .tcu_l2t2_mbist_scan_in(tcu_l2t2_mbist_scan_in),
2412 .tcu_l2t3_mbist_scan_in(tcu_l2t3_mbist_scan_in),
2413 .tcu_l2t4_mbist_scan_in(tcu_l2t4_mbist_scan_in),
2414 .tcu_l2t5_mbist_scan_in(tcu_l2t5_mbist_scan_in),
2415 .tcu_l2t6_mbist_scan_in(tcu_l2t6_mbist_scan_in),
2416 .tcu_l2t7_mbist_scan_in(tcu_l2t7_mbist_scan_in),
2417 .tcu_dmu_mbist_scan_in(tcu_dmu_mbist_scan_in),
2418 .tcu_peu_mbist_scan_in(tcu_peu_mbist_scan_in),
2419 .rdp_rdmc_mbist_scan_in(rdp_rdmc_mbist_scan_in),
2420 .rtx_mbist_scan_in(rtx_mbist_scan_in),
2421 .tds_mbist_scan_in(tds_mbist_scan_in),
2422 .sii_tcu_mbist_scan_out(sii_tcu_mbist_scan_out),
2423 .sio_tcu_mbist_scan_out(sio_tcu_mbist_scan_out),
2424 .ncu_tcu_mbist_scan_out(ncu_tcu_mbist_scan_out),
2425 .mcu0_tcu_mbist_scan_out(mcu0_tcu_mbist_scan_out),
2426 .mcu1_tcu_mbist_scan_out(mcu1_tcu_mbist_scan_out),
2427 .mcu2_tcu_mbist_scan_out(mcu2_tcu_mbist_scan_out),
2428 .mcu3_tcu_mbist_scan_out(mcu3_tcu_mbist_scan_out),
2429 .l2b0_tcu_mbist_scan_out(l2b0_tcu_mbist_scan_out),
2430 .l2b1_tcu_mbist_scan_out(l2b1_tcu_mbist_scan_out),
2431 .l2b2_tcu_mbist_scan_out(l2b2_tcu_mbist_scan_out),
2432 .l2b3_tcu_mbist_scan_out(l2b3_tcu_mbist_scan_out),
2433 .l2b4_tcu_mbist_scan_out(l2b4_tcu_mbist_scan_out),
2434 .l2b5_tcu_mbist_scan_out(l2b5_tcu_mbist_scan_out),
2435 .l2b6_tcu_mbist_scan_out(l2b6_tcu_mbist_scan_out),
2436 .l2b7_tcu_mbist_scan_out(l2b7_tcu_mbist_scan_out),
2437 .l2t0_tcu_mbist_scan_out(l2t0_tcu_mbist_scan_out),
2438 .l2t1_tcu_mbist_scan_out(l2t1_tcu_mbist_scan_out),
2439 .l2t2_tcu_mbist_scan_out(l2t2_tcu_mbist_scan_out),
2440 .l2t3_tcu_mbist_scan_out(l2t3_tcu_mbist_scan_out),
2441 .l2t4_tcu_mbist_scan_out(l2t4_tcu_mbist_scan_out),
2442 .l2t5_tcu_mbist_scan_out(l2t5_tcu_mbist_scan_out),
2443 .l2t6_tcu_mbist_scan_out(l2t6_tcu_mbist_scan_out),
2444 .l2t7_tcu_mbist_scan_out(l2t7_tcu_mbist_scan_out),
2445 .dmu_tcu_mbist_scan_out(dmu_tcu_mbist_scan_out),
2446 .peu_tcu_mbist_scan_out(peu_tcu_mbist_scan_out),
2447 .rdp_rdmc_mbist_scan_out(rdp_rdmc_mbist_scan_out),
2448 .rtx_mbist_scan_out(rtx_mbist_scan_out),
2449 .tds_mbist_scan_out(tds_mbist_scan_out),
2450 .spc0_tcu_lbist_scan_out(spc0_tcu_lbist_scan_out),
2451 .spc1_tcu_lbist_scan_out(spc1_tcu_lbist_scan_out),
2452 .spc2_tcu_lbist_scan_out(spc2_tcu_lbist_scan_out),
2453 .spc3_tcu_lbist_scan_out(spc3_tcu_lbist_scan_out),
2454 .spc4_tcu_lbist_scan_out(spc4_tcu_lbist_scan_out),
2455 .spc5_tcu_lbist_scan_out(spc5_tcu_lbist_scan_out),
2456 .spc6_tcu_lbist_scan_out(spc6_tcu_lbist_scan_out),
2457 .spc7_tcu_lbist_scan_out(spc7_tcu_lbist_scan_out),
2458 .tcu_spc_lbist_scan_in(tcu_spc_lbist_scan_in[7:0]),
2459 .spc0_tcu_shscan_scan_in(spc0_tcu_shscan_scan_in),
2460 .spc1_tcu_shscan_scan_in(spc1_tcu_shscan_scan_in),
2461 .spc2_tcu_shscan_scan_in(spc2_tcu_shscan_scan_in),
2462 .spc3_tcu_shscan_scan_in(spc3_tcu_shscan_scan_in),
2463 .spc4_tcu_shscan_scan_in(spc4_tcu_shscan_scan_in),
2464 .spc5_tcu_shscan_scan_in(spc5_tcu_shscan_scan_in),
2465 .spc6_tcu_shscan_scan_in(spc6_tcu_shscan_scan_in),
2466 .spc7_tcu_shscan_scan_in(spc7_tcu_shscan_scan_in),
2467 .tcu_spc0_shscan_scan_out(tcu_spc0_shscan_scan_out),
2468 .tcu_spc1_shscan_scan_out(tcu_spc1_shscan_scan_out),
2469 .tcu_spc2_shscan_scan_out(tcu_spc2_shscan_scan_out),
2470 .tcu_spc3_shscan_scan_out(tcu_spc3_shscan_scan_out),
2471 .tcu_spc4_shscan_scan_out(tcu_spc4_shscan_scan_out),
2472 .tcu_spc5_shscan_scan_out(tcu_spc5_shscan_scan_out),
2473 .tcu_spc6_shscan_scan_out(tcu_spc6_shscan_scan_out),
2474 .tcu_spc7_shscan_scan_out(tcu_spc7_shscan_scan_out),
2475 .tap_spc0_shscan_scan_out(tap_spc0_shscan_scan_out),
2476 .spc7_tap_shscan_scan_in(spc7_tap_shscan_scan_in),
2477 .jtag_spc_shscanid(jtag_spc_shscanid[2:0]),
2478 .tcu_spc_shscanid(tcu_spc_shscanid[2:0]),
2479 .jtag_spc0_shscan_clk_stop(jtag_spc0_shscan_clk_stop),
2480 .jtag_spc1_shscan_clk_stop(jtag_spc1_shscan_clk_stop),
2481 .jtag_spc2_shscan_clk_stop(jtag_spc2_shscan_clk_stop),
2482 .jtag_spc3_shscan_clk_stop(jtag_spc3_shscan_clk_stop),
2483 .jtag_spc4_shscan_clk_stop(jtag_spc4_shscan_clk_stop),
2484 .jtag_spc5_shscan_clk_stop(jtag_spc5_shscan_clk_stop),
2485 .jtag_spc6_shscan_clk_stop(jtag_spc6_shscan_clk_stop),
2486 .jtag_spc7_shscan_clk_stop(jtag_spc7_shscan_clk_stop),
2487 .tcu_spc0_shscan_clk_stop(tcu_spc0_shscan_clk_stop),
2488 .tcu_spc1_shscan_clk_stop(tcu_spc1_shscan_clk_stop),
2489 .tcu_spc2_shscan_clk_stop(tcu_spc2_shscan_clk_stop),
2490 .tcu_spc3_shscan_clk_stop(tcu_spc3_shscan_clk_stop),
2491 .tcu_spc4_shscan_clk_stop(tcu_spc4_shscan_clk_stop),
2492 .tcu_spc5_shscan_clk_stop(tcu_spc5_shscan_clk_stop),
2493 .tcu_spc6_shscan_clk_stop(tcu_spc6_shscan_clk_stop),
2494 .tcu_spc7_shscan_clk_stop(tcu_spc7_shscan_clk_stop),
2495 .jtag_spc_shscan_pce_ov(jtag_spc_shscan_pce_ov),
2496 .tcu_spc_shscan_pce_ov(tcu_spc_shscan_pce_ov),
2497 .jtag_l2t0_shscan_clk_stop(jtag_l2t0_shscan_clk_stop),
2498 .jtag_l2t1_shscan_clk_stop(jtag_l2t1_shscan_clk_stop),
2499 .jtag_l2t2_shscan_clk_stop(jtag_l2t2_shscan_clk_stop),
2500 .jtag_l2t3_shscan_clk_stop(jtag_l2t3_shscan_clk_stop),
2501 .jtag_l2t4_shscan_clk_stop(jtag_l2t4_shscan_clk_stop),
2502 .jtag_l2t5_shscan_clk_stop(jtag_l2t5_shscan_clk_stop),
2503 .jtag_l2t6_shscan_clk_stop(jtag_l2t6_shscan_clk_stop),
2504 .jtag_l2t7_shscan_clk_stop(jtag_l2t7_shscan_clk_stop),
2505 .jtag_l2t_shscan_pce_ov(jtag_l2t_shscan_pce_ov),
2506 .tcu_l2t0_shscan_clk_stop(tcu_l2t0_shscan_clk_stop),
2507 .tcu_l2t1_shscan_clk_stop(tcu_l2t1_shscan_clk_stop),
2508 .tcu_l2t2_shscan_clk_stop(tcu_l2t2_shscan_clk_stop),
2509 .tcu_l2t3_shscan_clk_stop(tcu_l2t3_shscan_clk_stop),
2510 .tcu_l2t4_shscan_clk_stop(tcu_l2t4_shscan_clk_stop),
2511 .tcu_l2t5_shscan_clk_stop(tcu_l2t5_shscan_clk_stop),
2512 .tcu_l2t6_shscan_clk_stop(tcu_l2t6_shscan_clk_stop),
2513 .tcu_l2t7_shscan_clk_stop(tcu_l2t7_shscan_clk_stop),
2514 .tcu_l2t_shscan_pce_ov(tcu_l2t_shscan_pce_ov),
2515 .core_avail(core_avail[7:0]),
2516 .ncu_spc0_core_enable_status(ncu_spc0_core_enable_status),
2517 .ncu_spc1_core_enable_status(ncu_spc1_core_enable_status),
2518 .ncu_spc2_core_enable_status(ncu_spc2_core_enable_status),
2519 .ncu_spc3_core_enable_status(ncu_spc3_core_enable_status),
2520 .ncu_spc4_core_enable_status(ncu_spc4_core_enable_status),
2521 .ncu_spc5_core_enable_status(ncu_spc5_core_enable_status),
2522 .ncu_spc6_core_enable_status(ncu_spc6_core_enable_status),
2523 .ncu_spc7_core_enable_status(ncu_spc7_core_enable_status),
2524 .bank_avail(bank_avail[7:0]),
2525 .ncu_spc_pm(ncu_spc_pm),
2526 .ncu_spc_ba01(ncu_spc_ba01),
2527 .ncu_spc_ba23(ncu_spc_ba23),
2528 .ncu_spc_ba45(ncu_spc_ba45),
2529 .ncu_spc_ba67(ncu_spc_ba67),
2530 .tcu_se_scancollar_in(tcu_se_scancollar_in),
2531 .tcu_se_scancollar_out(tcu_se_scancollar_out),
2532 .tcu_array_bypass(tcu_array_bypass),
2533 .tcu_array_wr_inhibit(tcu_array_wr_inhibit),
2534 .jtag_upd_cntdly(jtag_upd_cntdly),
2535 .jtag_cntdly_data(jtag_cntdly_data[6:0]),
2536 .csdel_data(csdel_data[6:0]),
2537 .clkseq_stop(clkseq_stop),
2538 .clkseq_strt(clkseq_strt),
2539 .cycle_stretch(cycle_stretch),
2540 .tcu_ccu_clk_stretch(tcu_ccu_clk_stretch),
2541 .tcu_ccu_mux_sel(tcu_ccu_mux_sel[1:0]),
2542 .wmr_two(wmr_two),
2543 .start_bisx_por(start_bisx_por),
2544 .start_bisx_wmr(start_bisx_wmr),
2545 .stop_bisx_wmr(stop_bisx_wmr),
2546 .instr_mbist_diag(instr_mbist_diag),
2547 .soc_mbist_aclk(soc_mbist_aclk),
2548 .soc_mbist_bclk(soc_mbist_bclk),
2549 .soc_mbist_scan_en(soc_mbist_scan_en),
2550 .soc0_mbist_clk_stop(soc0_mbist_clk_stop),
2551 .mcu0_mbist_clk_stop(mcu0_mbist_clk_stop),
2552 .mcu1_mbist_clk_stop(mcu1_mbist_clk_stop),
2553 .mcu2_mbist_clk_stop(mcu2_mbist_clk_stop),
2554 .mcu3_mbist_clk_stop(mcu3_mbist_clk_stop),
2555 .l2b0_mbist_clk_stop(l2b0_mbist_clk_stop),
2556 .l2b1_mbist_clk_stop(l2b1_mbist_clk_stop),
2557 .l2b2_mbist_clk_stop(l2b2_mbist_clk_stop),
2558 .l2b3_mbist_clk_stop(l2b3_mbist_clk_stop),
2559 .l2b4_mbist_clk_stop(l2b4_mbist_clk_stop),
2560 .l2b5_mbist_clk_stop(l2b5_mbist_clk_stop),
2561 .l2b6_mbist_clk_stop(l2b6_mbist_clk_stop),
2562 .l2b7_mbist_clk_stop(l2b7_mbist_clk_stop),
2563 .l2t0_mbist_clk_stop(l2t0_mbist_clk_stop),
2564 .l2t1_mbist_clk_stop(l2t1_mbist_clk_stop),
2565 .l2t2_mbist_clk_stop(l2t2_mbist_clk_stop),
2566 .l2t3_mbist_clk_stop(l2t3_mbist_clk_stop),
2567 .l2t4_mbist_clk_stop(l2t4_mbist_clk_stop),
2568 .l2t5_mbist_clk_stop(l2t5_mbist_clk_stop),
2569 .l2t6_mbist_clk_stop(l2t6_mbist_clk_stop),
2570 .l2t7_mbist_clk_stop(l2t7_mbist_clk_stop),
2571 .dmu_mbist_clk_stop(dmu_mbist_clk_stop),
2572 .peu_mbist_clk_stop(peu_mbist_clk_stop),
2573 .rdp_mbist_clk_stop(rdp_mbist_clk_stop),
2574 .rtx_mbist_clk_stop(rtx_mbist_clk_stop),
2575 .tds_mbist_clk_stop(tds_mbist_clk_stop),
2576 .tcu_srd_atpgse(tcu_srd_atpgse),
2577 .tcu_srd_atpgd(tcu_srd_atpgd),
2578 .tcu_mio_scan_out31(tcu_mio_scan_out31),
2579 .tcu_srd_atpgmode(tcu_srd_atpgmode[2:0]),
2580 .mio_tcu_scan_in31(mio_tcu_scan_in31),
2581 .srd_tcu_atpgq(srd_tcu_atpgq),
2582 .l2t0_tcu_shscan_scan_out(l2t0_tcu_shscan_scan_out),
2583 .l2t1_tcu_shscan_scan_out(l2t1_tcu_shscan_scan_out),
2584 .l2t2_tcu_shscan_scan_out(l2t2_tcu_shscan_scan_out),
2585 .l2t3_tcu_shscan_scan_out(l2t3_tcu_shscan_scan_out),
2586 .l2t4_tcu_shscan_scan_out(l2t4_tcu_shscan_scan_out),
2587 .l2t5_tcu_shscan_scan_out(l2t5_tcu_shscan_scan_out),
2588 .l2t6_tcu_shscan_scan_out(l2t6_tcu_shscan_scan_out),
2589 .l2t7_tcu_shscan_scan_out(l2t7_tcu_shscan_scan_out),
2590 .tcu_l2t0_shscan_scan_in(tcu_l2t0_shscan_scan_in),
2591 .tcu_l2t1_shscan_scan_in(tcu_l2t1_shscan_scan_in),
2592 .tcu_l2t2_shscan_scan_in(tcu_l2t2_shscan_scan_in),
2593 .tcu_l2t3_shscan_scan_in(tcu_l2t3_shscan_scan_in),
2594 .tcu_l2t4_shscan_scan_in(tcu_l2t4_shscan_scan_in),
2595 .tcu_l2t5_shscan_scan_in(tcu_l2t5_shscan_scan_in),
2596 .tcu_l2t6_shscan_scan_in(tcu_l2t6_shscan_scan_in),
2597 .tcu_l2t7_shscan_scan_in(tcu_l2t7_shscan_scan_in),
2598 .ucb_csr_wr(ucb_csr_wr),
2599 .ucb_csr_addr(ucb_csr_addr[5:0]),
2600 .ucb_data_out(ucb_data_out[6:0])
2601 );
2602
2603 tcu_jtag_ctl jtag_ctl (
2604 .jtag_id ( jtag_revid_out ),
2605 //.dmo_cfg (32'b0), // until driven by mbist_ctl
2606 // MBIST
2607 .spc0_mb_scan_in (spc0_tap_mb_scan_in),
2608 .spc1_mb_scan_in (spc1_tap_mb_scan_in),
2609 .spc2_mb_scan_in (spc2_tap_mb_scan_in),
2610 .spc3_mb_scan_in (spc3_tap_mb_scan_in),
2611 .spc4_mb_scan_in (spc4_tap_mb_scan_in),
2612 .spc5_mb_scan_in (spc5_tap_mb_scan_in),
2613 .spc6_mb_scan_in (spc6_tap_mb_scan_in),
2614 .spc7_mb_scan_in (spc7_tap_mb_scan_in),
2615 // SHSCAN
2616 .spc0_clk_stop (tcu_spc0_clk_stop),
2617 .spc1_clk_stop (tcu_spc1_clk_stop),
2618 .spc2_clk_stop (tcu_spc2_clk_stop),
2619 .spc3_clk_stop (tcu_spc3_clk_stop),
2620 .spc4_clk_stop (tcu_spc4_clk_stop),
2621 .spc5_clk_stop (tcu_spc5_clk_stop),
2622 .spc6_clk_stop (tcu_spc6_clk_stop),
2623 .spc7_clk_stop (tcu_spc7_clk_stop),
2624
2625
2626 .l2t0_clk_stop ( tcu_l2t0_clk_stop ),
2627 .l2t1_clk_stop ( tcu_l2t1_clk_stop ),
2628 .l2t2_clk_stop ( tcu_l2t2_clk_stop ),
2629 .l2t3_clk_stop ( tcu_l2t3_clk_stop ),
2630 .l2t4_clk_stop ( tcu_l2t4_clk_stop ),
2631 .l2t5_clk_stop ( tcu_l2t5_clk_stop ),
2632 .l2t6_clk_stop ( tcu_l2t6_clk_stop ),
2633 .l2t7_clk_stop ( tcu_l2t7_clk_stop ),
2634
2635 .tcu_tdo ( tcu_mio_tdo ),
2636 .tcu_tdo_en ( tcu_mio_tdo_en ),
2637 .io_tck ( io_tck ),
2638 .io_tck_l ( io_tck ),
2639 .scan_in ( jtag_ctl_scan_in ),
2640 .scan_out ( jtag_ctl_scan_out ),
2641 .io_tdi(io_tdi),
2642 .io_tms(io_tms),
2643 .io_trst_l(io_trst_l),
2644 .io_test_mode(io_test_mode),
2645 .io_scan_en(io_scan_en),
2646 .jtag_ser_scan_q(jtag_ser_scan_q),
2647 .sel_chain(sel_chain[4:0]),
2648 .chain_select(chain_select),
2649 .ser_scan_out(ser_scan_out),
2650 .jt_scan_in(jt_scan_in),
2651 .tck_clk_tree(tck_clk_tree),
2652 .instr_mt_scan_rti(instr_mt_scan_rti),
2653 .tcu_jtag_aclk(tcu_jtag_aclk),
2654 .tcu_int_bclk(tcu_int_bclk),
2655 .tcu_jtag_se(tcu_jtag_se),
2656 .tap_spc0_shscan_scan_out(tap_spc0_shscan_scan_out),
2657 .spc7_tap_shscan_scan_in(spc7_tap_shscan_scan_in),
2658 .tcu_spc_shscan_aclk(tcu_spc_shscan_aclk),
2659 .tcu_spc_shscan_bclk(tcu_spc_shscan_bclk),
2660 .tcu_spc_shscan_scan_en(tcu_spc_shscan_scan_en),
2661 .jtag_spc_shscan_pce_ov(jtag_spc_shscan_pce_ov),
2662 .jtag_spc0_shscan_clk_stop(jtag_spc0_shscan_clk_stop),
2663 .jtag_spc1_shscan_clk_stop(jtag_spc1_shscan_clk_stop),
2664 .jtag_spc2_shscan_clk_stop(jtag_spc2_shscan_clk_stop),
2665 .jtag_spc3_shscan_clk_stop(jtag_spc3_shscan_clk_stop),
2666 .jtag_spc4_shscan_clk_stop(jtag_spc4_shscan_clk_stop),
2667 .jtag_spc5_shscan_clk_stop(jtag_spc5_shscan_clk_stop),
2668 .jtag_spc6_shscan_clk_stop(jtag_spc6_shscan_clk_stop),
2669 .jtag_spc7_shscan_clk_stop(jtag_spc7_shscan_clk_stop),
2670 .jtag_spc_shscanid(jtag_spc_shscanid[2:0]),
2671 .tcu_l2t_shscan_aclk(tcu_l2t_shscan_aclk),
2672 .tcu_l2t_shscan_bclk(tcu_l2t_shscan_bclk),
2673 .tcu_l2t_shscan_scan_en(tcu_l2t_shscan_scan_en),
2674 .jtag_l2t_shscan_pce_ov(jtag_l2t_shscan_pce_ov),
2675 .jtag_l2t0_shscan_clk_stop(jtag_l2t0_shscan_clk_stop),
2676 .jtag_l2t1_shscan_clk_stop(jtag_l2t1_shscan_clk_stop),
2677 .jtag_l2t2_shscan_clk_stop(jtag_l2t2_shscan_clk_stop),
2678 .jtag_l2t3_shscan_clk_stop(jtag_l2t3_shscan_clk_stop),
2679 .jtag_l2t4_shscan_clk_stop(jtag_l2t4_shscan_clk_stop),
2680 .jtag_l2t5_shscan_clk_stop(jtag_l2t5_shscan_clk_stop),
2681 .jtag_l2t6_shscan_clk_stop(jtag_l2t6_shscan_clk_stop),
2682 .jtag_l2t7_shscan_clk_stop(jtag_l2t7_shscan_clk_stop),
2683 .l2t7_tcu_shscan_scan_out(l2t7_tcu_shscan_scan_out),
2684 .tcu_efu_rowaddr(tcu_efu_rowaddr[6:0]),
2685 .tcu_efu_coladdr(tcu_efu_coladdr[4:0]),
2686 .tcu_efu_read_en(tcu_efu_read_en),
2687 .tcu_efu_read_mode(tcu_efu_read_mode[2:0]),
2688 .jtag_efu_clear_instr(jtag_efu_clear_instr),
2689 .jtag_efu_rvclr(jtag_efu_rvclr[6:0]),
2690 .tcu_efu_fuse_bypass(tcu_efu_fuse_bypass),
2691 .tcu_efu_dest_sample(tcu_efu_dest_sample),
2692 .tcu_efu_data_in(tcu_efu_data_in),
2693 .tcu_efu_updatedr(tcu_efu_updatedr),
2694 .tcu_efu_shiftdr(tcu_efu_shiftdr),
2695 .tcu_efu_capturedr(tcu_efu_capturedr),
2696 .efu_tcu_data_out(efu_tcu_data_out),
2697 .chop_aclk(chop_aclk),
2698 .chop_bclk(chop_bclk),
2699 .jt_scan_en(jt_scan_en),
2700 .jt_scan_aclk(jt_scan_aclk),
2701 .jt_scan_bclk(jt_scan_bclk),
2702 .mio_tcu_bs_scan_out(mio_tcu_bs_scan_out),
2703 .tcu_mio_bs_scan_in(tcu_mio_bs_scan_in),
2704 .tcu_mio_bs_scan_en(tcu_mio_bs_scan_en),
2705 .tcu_mio_bs_clk(tcu_mio_bs_clk),
2706 .tcu_mio_bs_aclk(tcu_mio_bs_aclk),
2707 .tcu_mio_bs_bclk(tcu_mio_bs_bclk),
2708 .tcu_mio_bs_uclk(tcu_mio_bs_uclk),
2709 .tcu_mio_bs_mode_ctl(tcu_mio_bs_mode_ctl),
2710 .tcu_mio_bs_highz_l(tcu_mio_bs_highz_l),
2711 .tcu_stciclk(tcu_stciclk),
2712 .tcu_stcicfg(tcu_stcicfg[1:0]),
2713 .tcu_stcid(tcu_stcid),
2714 .tcu_mio_stciq(tcu_mio_stciq),
2715 .mio_tcu_stciclk(mio_tcu_stciclk),
2716 .mio_tcu_stcicfg(mio_tcu_stcicfg[1:0]),
2717 .mio_tcu_stcid(mio_tcu_stcid),
2718 .stciq_tcu(stciq_tcu),
2719 .sbs_tcu_scan_out(sbs_tcu_scan_out),
2720 .jtag_sbs_scan_in(jtag_sbs_scan_in),
2721 .tcu_sbs_acmode(tcu_sbs_acmode),
2722 .tcu_sbs_actestsignal(tcu_sbs_actestsignal),
2723 .tcu_sbs_enbspt(tcu_sbs_enbspt),
2724 .tcu_sbs_bsinitclk(tcu_sbs_bsinitclk),
2725 .tcu_sbs_scan_en(tcu_sbs_scan_en),
2726 .tcu_sbs_clk(tcu_sbs_clk),
2727 .tcu_sbs_aclk(tcu_sbs_aclk),
2728 .tcu_sbs_bclk(tcu_sbs_bclk),
2729 .tcu_sbs_uclk(tcu_sbs_uclk),
2730 .tcu_sbs_enbstx(tcu_sbs_enbstx),
2731 .tcu_sbs_enbsrx(tcu_sbs_enbsrx),
2732 .lb_tcu_done_d(lb_tcu_done_d[7:0]),
2733 .tcu_spc_lbist_pgm(tcu_spc_lbist_pgm),
2734 .spc0_tcu_lbist_scan_out(spc0_tcu_lbist_scan_out),
2735 .spc1_tcu_lbist_scan_out(spc1_tcu_lbist_scan_out),
2736 .spc2_tcu_lbist_scan_out(spc2_tcu_lbist_scan_out),
2737 .spc3_tcu_lbist_scan_out(spc3_tcu_lbist_scan_out),
2738 .spc4_tcu_lbist_scan_out(spc4_tcu_lbist_scan_out),
2739 .spc5_tcu_lbist_scan_out(spc5_tcu_lbist_scan_out),
2740 .spc6_tcu_lbist_scan_out(spc6_tcu_lbist_scan_out),
2741 .spc7_tcu_lbist_scan_out(spc7_tcu_lbist_scan_out),
2742 .mbist_clkstpen(mbist_clkstpen),
2743 .mbist_done(mbist_done[47:0]),
2744 .mbist_fail(mbist_fail[47:0]),
2745 .mbist_done_fail(mbist_done_fail[1:0]),
2746 .jtag_csr_addr(jtag_csr_addr[5:0]),
2747 .jtag_csr_wr(jtag_csr_wr),
2748 .tap_spc0_mb_scan_out(tap_spc0_mb_scan_out),
2749 .tap_spc0_mb_aclk(tap_spc0_mb_aclk),
2750 .tap_spc0_mb_bclk(tap_spc0_mb_bclk),
2751 .tap_spc0_mb_scan_en(tap_spc0_mb_scan_en),
2752 .tap_spc0_mb_clk_stop(tap_spc0_mb_clk_stop),
2753 .tap_spc1_mb_scan_out(tap_spc1_mb_scan_out),
2754 .tap_spc1_mb_aclk(tap_spc1_mb_aclk),
2755 .tap_spc1_mb_bclk(tap_spc1_mb_bclk),
2756 .tap_spc1_mb_scan_en(tap_spc1_mb_scan_en),
2757 .tap_spc1_mb_clk_stop(tap_spc1_mb_clk_stop),
2758 .tap_spc2_mb_scan_out(tap_spc2_mb_scan_out),
2759 .tap_spc2_mb_aclk(tap_spc2_mb_aclk),
2760 .tap_spc2_mb_bclk(tap_spc2_mb_bclk),
2761 .tap_spc2_mb_scan_en(tap_spc2_mb_scan_en),
2762 .tap_spc2_mb_clk_stop(tap_spc2_mb_clk_stop),
2763 .tap_spc3_mb_scan_out(tap_spc3_mb_scan_out),
2764 .tap_spc3_mb_aclk(tap_spc3_mb_aclk),
2765 .tap_spc3_mb_bclk(tap_spc3_mb_bclk),
2766 .tap_spc3_mb_scan_en(tap_spc3_mb_scan_en),
2767 .tap_spc3_mb_clk_stop(tap_spc3_mb_clk_stop),
2768 .tap_spc4_mb_scan_out(tap_spc4_mb_scan_out),
2769 .tap_spc4_mb_aclk(tap_spc4_mb_aclk),
2770 .tap_spc4_mb_bclk(tap_spc4_mb_bclk),
2771 .tap_spc4_mb_scan_en(tap_spc4_mb_scan_en),
2772 .tap_spc4_mb_clk_stop(tap_spc4_mb_clk_stop),
2773 .tap_spc5_mb_scan_out(tap_spc5_mb_scan_out),
2774 .tap_spc5_mb_aclk(tap_spc5_mb_aclk),
2775 .tap_spc5_mb_bclk(tap_spc5_mb_bclk),
2776 .tap_spc5_mb_scan_en(tap_spc5_mb_scan_en),
2777 .tap_spc5_mb_clk_stop(tap_spc5_mb_clk_stop),
2778 .tap_spc6_mb_scan_out(tap_spc6_mb_scan_out),
2779 .tap_spc6_mb_aclk(tap_spc6_mb_aclk),
2780 .tap_spc6_mb_bclk(tap_spc6_mb_bclk),
2781 .tap_spc6_mb_scan_en(tap_spc6_mb_scan_en),
2782 .tap_spc6_mb_clk_stop(tap_spc6_mb_clk_stop),
2783 .tap_spc7_mb_scan_out(tap_spc7_mb_scan_out),
2784 .tap_spc7_mb_aclk(tap_spc7_mb_aclk),
2785 .tap_spc7_mb_bclk(tap_spc7_mb_bclk),
2786 .tap_spc7_mb_scan_en(tap_spc7_mb_scan_en),
2787 .tap_spc7_mb_clk_stop(tap_spc7_mb_clk_stop),
2788 .sii_tcu_mbist_scan_out(sii_tcu_mbist_scan_out),
2789 .sio_tcu_mbist_scan_out(sio_tcu_mbist_scan_out),
2790 .ncu_tcu_mbist_scan_out(ncu_tcu_mbist_scan_out),
2791 .mcu0_tcu_mbist_scan_out(mcu0_tcu_mbist_scan_out),
2792 .mcu1_tcu_mbist_scan_out(mcu1_tcu_mbist_scan_out),
2793 .mcu2_tcu_mbist_scan_out(mcu2_tcu_mbist_scan_out),
2794 .mcu3_tcu_mbist_scan_out(mcu3_tcu_mbist_scan_out),
2795 .l2b0_tcu_mbist_scan_out(l2b0_tcu_mbist_scan_out),
2796 .l2b1_tcu_mbist_scan_out(l2b1_tcu_mbist_scan_out),
2797 .l2b2_tcu_mbist_scan_out(l2b2_tcu_mbist_scan_out),
2798 .l2b3_tcu_mbist_scan_out(l2b3_tcu_mbist_scan_out),
2799 .l2b4_tcu_mbist_scan_out(l2b4_tcu_mbist_scan_out),
2800 .l2b5_tcu_mbist_scan_out(l2b5_tcu_mbist_scan_out),
2801 .l2b6_tcu_mbist_scan_out(l2b6_tcu_mbist_scan_out),
2802 .l2b7_tcu_mbist_scan_out(l2b7_tcu_mbist_scan_out),
2803 .l2t0_tcu_mbist_scan_out(l2t0_tcu_mbist_scan_out),
2804 .l2t1_tcu_mbist_scan_out(l2t1_tcu_mbist_scan_out),
2805 .l2t2_tcu_mbist_scan_out(l2t2_tcu_mbist_scan_out),
2806 .l2t3_tcu_mbist_scan_out(l2t3_tcu_mbist_scan_out),
2807 .l2t4_tcu_mbist_scan_out(l2t4_tcu_mbist_scan_out),
2808 .l2t5_tcu_mbist_scan_out(l2t5_tcu_mbist_scan_out),
2809 .l2t6_tcu_mbist_scan_out(l2t6_tcu_mbist_scan_out),
2810 .l2t7_tcu_mbist_scan_out(l2t7_tcu_mbist_scan_out),
2811 .dmu_tcu_mbist_scan_out(dmu_tcu_mbist_scan_out),
2812 .peu_tcu_mbist_scan_out(peu_tcu_mbist_scan_out),
2813 .rdp_rdmc_mbist_scan_out(rdp_rdmc_mbist_scan_out),
2814 .rtx_mbist_scan_out(rtx_mbist_scan_out),
2815 .tds_mbist_scan_out(tds_mbist_scan_out),
2816 .instr_mbist_diag(instr_mbist_diag),
2817 .soc_mbist_aclk(soc_mbist_aclk),
2818 .soc_mbist_bclk(soc_mbist_bclk),
2819 .soc_mbist_scan_en(soc_mbist_scan_en),
2820 .soc0_mbist_clk_stop(soc0_mbist_clk_stop),
2821 .mcu0_mbist_clk_stop(mcu0_mbist_clk_stop),
2822 .mcu1_mbist_clk_stop(mcu1_mbist_clk_stop),
2823 .mcu2_mbist_clk_stop(mcu2_mbist_clk_stop),
2824 .mcu3_mbist_clk_stop(mcu3_mbist_clk_stop),
2825 .l2b0_mbist_clk_stop(l2b0_mbist_clk_stop),
2826 .l2b1_mbist_clk_stop(l2b1_mbist_clk_stop),
2827 .l2b2_mbist_clk_stop(l2b2_mbist_clk_stop),
2828 .l2b3_mbist_clk_stop(l2b3_mbist_clk_stop),
2829 .l2b4_mbist_clk_stop(l2b4_mbist_clk_stop),
2830 .l2b5_mbist_clk_stop(l2b5_mbist_clk_stop),
2831 .l2b6_mbist_clk_stop(l2b6_mbist_clk_stop),
2832 .l2b7_mbist_clk_stop(l2b7_mbist_clk_stop),
2833 .l2t0_mbist_clk_stop(l2t0_mbist_clk_stop),
2834 .l2t1_mbist_clk_stop(l2t1_mbist_clk_stop),
2835 .l2t2_mbist_clk_stop(l2t2_mbist_clk_stop),
2836 .l2t3_mbist_clk_stop(l2t3_mbist_clk_stop),
2837 .l2t4_mbist_clk_stop(l2t4_mbist_clk_stop),
2838 .l2t5_mbist_clk_stop(l2t5_mbist_clk_stop),
2839 .l2t6_mbist_clk_stop(l2t6_mbist_clk_stop),
2840 .l2t7_mbist_clk_stop(l2t7_mbist_clk_stop),
2841 .dmu_mbist_clk_stop(dmu_mbist_clk_stop),
2842 .peu_mbist_clk_stop(peu_mbist_clk_stop),
2843 .rdp_mbist_clk_stop(rdp_mbist_clk_stop),
2844 .rtx_mbist_clk_stop(rtx_mbist_clk_stop),
2845 .tds_mbist_clk_stop(tds_mbist_clk_stop),
2846 .jtag_creg_addr(jtag_creg_addr[39:0]),
2847 .jtag_creg_data(jtag_creg_data[63:0]),
2848 .jtag_creg_rd_en(jtag_creg_rd_en),
2849 .jtag_creg_wr_en(jtag_creg_wr_en),
2850 .jtag_creg_addr_en(jtag_creg_addr_en),
2851 .jtag_creg_data_en(jtag_creg_data_en),
2852 .ucb_csr_wr(ucb_csr_wr),
2853 .ucb_csr_addr(ucb_csr_addr[5:0]),
2854 .ucb_data_out(ucb_data_out[63:0]),
2855 .ucb_jtag_data_rdy(ucb_jtag_data_rdy),
2856 .jtag_ucb_data_ack(jtag_ucb_data_ack),
2857 .jtag_csr_data(jtag_csr_data[47:0]),
2858 .l2access(l2access[64:0]),
2859 .l2data_upd(l2data_upd),
2860 .l2addr_upd(l2addr_upd),
2861 .l2rti(l2rti),
2862 .instr_l2_wr(instr_l2_wr),
2863 .instr_l2_rd(instr_l2_rd),
2864 .l2rddata(l2rddata[63:0]),
2865 .l2_read_vld(l2_read_vld),
2866 .tcu_jtag_flush_req(tcu_jtag_flush_req),
2867 .tcu_jtag_flush_dly_req(tcu_jtag_flush_dly_req),
2868 .jtag_clock_start(jtag_clock_start),
2869 .instr_sstop_csmode(instr_sstop_csmode),
2870 .jtag_clk_stop_req(jtag_clk_stop_req),
2871 .clock_domain_upd(clock_domain_upd),
2872 .clock_domain(clock_domain[23:0]),
2873 .debug_reg_hard_stop_domain_1st(debug_reg_hard_stop_domain_1st[23:0]),
2874 .csdel_data(csdel_data[6:0]),
2875 .jtag_upd_cntdly(jtag_upd_cntdly),
2876 .jtag_cntdly_data(jtag_cntdly_data[6:0]),
2877 .clkseq_stop(clkseq_stop),
2878 .clkseq_strt(clkseq_strt),
2879 .spc_crs(spc_crs[63:0]),
2880 .spc_ss_sel(spc_ss_sel[7:0]),
2881 .core_sel(core_sel[7:0]),
2882 .core_sel_upd(core_sel_upd),
2883 .de_count(de_count[31:0]),
2884 .decnt_data(decnt_data[31:0]),
2885 .decnt_upd(decnt_upd),
2886 .cycle_count(cycle_count[63:0]),
2887 .cyc_count(cyc_count[63:0]),
2888 .cyc_count_upd(cyc_count_upd),
2889 .tcu_dcr(tcu_dcr[3:0]),
2890 .tcudcr_data(tcudcr_data[3:0]),
2891 .tcudcr_upd(tcudcr_upd),
2892 .doss_enab(doss_enab[63:0]),
2893 .dossen(dossen[63:0]),
2894 .dossen_upd(dossen_upd),
2895 .dossmode(dossmode[1:0]),
2896 .dossmode_upd(dossmode_upd),
2897 .doss_mode(doss_mode[1:0]),
2898 .ssreq_upd(ssreq_upd),
2899 .doss_stat(doss_stat[7:0]),
2900 .csmode(csmode),
2901 .csmode_upd(csmode_upd),
2902 .cs_mode(cs_mode),
2903 .cs_mode_active(cs_mode_active),
2904 .dmo_cfg(dmo_cfg[47:0]),
2905 .jtag_dmo_control(jtag_dmo_control[47:0]),
2906 .jtag_dmo_control_upd(jtag_dmo_control_upd),
2907 .jtag_dmo_enable(jtag_dmo_enable),
2908 .jtag_por_status(jtag_por_status),
2909 .jtag_por_enable(jtag_por_enable),
2910 .jtag_sck_byp(jtag_sck_byp),
2911 .jtag_test_protect(jtag_test_protect),
2912 .jtag_mt_enable(jtag_mt_enable));
2913
2914 tcu_mbist_ctl mbist_ctl (
2915 .l2clk ( l2clk ),
2916 .scan_in ( mbist_ctl_scan_in ),
2917 .tcu_int_aclk ( tcu_int_aclk ),
2918 .tcu_int_bclk ( tcu_int_bclk ),
2919 .tcu_int_se ( tcu_int_se ),
2920 .tcu_pce_ov ( tcu_int_pce_ov),
2921 .ncu_spc0_core_available ( ncu_spc0_core_available ),
2922 .ncu_spc1_core_available ( ncu_spc1_core_available ),
2923 .ncu_spc2_core_available ( ncu_spc2_core_available ),
2924 .ncu_spc3_core_available ( ncu_spc3_core_available ),
2925 .ncu_spc4_core_available ( ncu_spc4_core_available ),
2926 .ncu_spc5_core_available ( ncu_spc5_core_available ),
2927 .ncu_spc6_core_available ( ncu_spc6_core_available ),
2928 .ncu_spc7_core_available ( ncu_spc7_core_available ),
2929 .mb_tcu_done ( mb_tcu_done[47:0] ),
2930 .mb_tcu_fail ( mb_tcu_fail[47:0] ),
2931
2932 .core_avail ( core_avail ),
2933 .tcu_mb_start ( tcu_mbist_start[47:0] ),
2934 .tcu_mbist_bisi_en ( tcu_mbist_bisi_en ),
2935 .scan_out ( mbist_ctl_scan_out ),
2936 .tcu_int_ce(tcu_int_ce),
2937 .tcu_rst_flush_init_ack(tcu_rst_flush_init_ack),
2938 .start_bisx_por(start_bisx_por),
2939 .start_bisx_wmr(start_bisx_wmr),
2940 .stop_bisx_wmr(stop_bisx_wmr),
2941 .tcu_bisx_done(tcu_bisx_done),
2942 .mbist_clk_stop_req(mbist_clk_stop_req),
2943 .mbist_done(mbist_done[47:0]),
2944 .mbist_fail(mbist_fail[47:0]),
2945 .mbist_done_fail(mbist_done_fail[1:0]),
2946 .mbist_clkstpen(mbist_clkstpen),
2947 .lb_tcu_done_d(lb_tcu_done_d[7:0]),
2948 .tcu_mbist_user_mode(tcu_mbist_user_mode),
2949 .lb_tcu_done(lb_tcu_done[7:0]),
2950 .tcu_spc_lbist_start(tcu_spc_lbist_start[7:0]),
2951 .dmo_coresel(dmo_coresel[5:0]),
2952 .dmo_dcmuxctl(dmo_dcmuxctl),
2953 .dmo_icmuxctl(dmo_icmuxctl),
2954 .spc4_dmo_dout(spc4_dmo_dout[35:0]),
2955 .spc6_dmo_dout(spc6_dmo_dout[35:0]),
2956 .l2t4_dmo_dout(l2t4_dmo_dout[38:0]),
2957 .l2t6_dmo_dout(l2t6_dmo_dout[38:0]),
2958 .dmo_l2tsel(dmo_l2tsel[5:0]),
2959 .dmo_tagmuxctl(dmo_tagmuxctl),
2960 .rtx_tcu_dmo_data_out(rtx_tcu_dmo_data_out[39:0]),
2961 .tds_tcu_dmo_dout(tds_tcu_dmo_dout[39:0]),
2962 .rdp_tcu_dmo_dout(rdp_tcu_dmo_dout[39:0]),
2963 .tcu_rtx_dmo_ctl(tcu_rtx_dmo_ctl[2:0]),
2964 .tcu_mio_dmo_data(tcu_mio_dmo_data[39:0]),
2965 .tcu_mio_dmo_sync(tcu_mio_dmo_sync),
2966 .tcu_mio_mbist_done(tcu_mio_mbist_done),
2967 .tcu_mio_mbist_fail(tcu_mio_mbist_fail),
2968 .tcu_mio_jtag_membist_mode(tcu_mio_jtag_membist_mode),
2969 .jtag_dmo_enable(jtag_dmo_enable),
2970 .jtag_dmo_control_upd(jtag_dmo_control_upd),
2971 .jtag_dmo_control(jtag_dmo_control[47:0]),
2972 .dmo_cfg(dmo_cfg[47:0]),
2973 .cmp_io2x_sync_en(cmp_io2x_sync_en),
2974 .io_cmp_sync_en(io_cmp_sync_en),
2975 .cmp_io_sync_en(cmp_io_sync_en),
2976 .ncu_spc0_core_enable_status(ncu_spc0_core_enable_status),
2977 .ncu_spc1_core_enable_status(ncu_spc1_core_enable_status),
2978 .ncu_spc2_core_enable_status(ncu_spc2_core_enable_status),
2979 .ncu_spc3_core_enable_status(ncu_spc3_core_enable_status),
2980 .ncu_spc4_core_enable_status(ncu_spc4_core_enable_status),
2981 .ncu_spc5_core_enable_status(ncu_spc5_core_enable_status),
2982 .ncu_spc6_core_enable_status(ncu_spc6_core_enable_status),
2983 .ncu_spc7_core_enable_status(ncu_spc7_core_enable_status),
2984 .ncu_spc_pm(ncu_spc_pm),
2985 .ncu_spc_ba01(ncu_spc_ba01),
2986 .ncu_spc_ba23(ncu_spc_ba23),
2987 .ncu_spc_ba45(ncu_spc_ba45),
2988 .ncu_spc_ba67(ncu_spc_ba67),
2989 .ncu_tcu_bank_avail(ncu_tcu_bank_avail[7:0]),
2990 .bank_avail(bank_avail[7:0]),
2991 .tcu_test_protect(tcu_test_protect),
2992 .tcu_test_protect_cmp(tcu_test_protect_cmp),
2993 .jtag_csr_wr(jtag_csr_wr),
2994 .jtag_csr_addr(jtag_csr_addr[5:0]),
2995 .jtag_csr_data(jtag_csr_data[47:0]),
2996 .ucb_csr_wr(ucb_csr_wr),
2997 .ucb_csr_addr(ucb_csr_addr[5:0]),
2998 .ucb_data_out(ucb_data_out[63:0]),
2999 .ac_test_mode(ac_test_mode),
3000 .csr_ucb_data(csr_ucb_data[63:0]),
3001 .csdel_data(csdel_data[6:0]),
3002 .cycle_count(cycle_count[63:0]),
3003 .tcu_dcr(tcu_dcr[3:0]),
3004 .de_count(de_count[31:0]),
3005 .debug_reg_hard_stop_domain_1st(debug_reg_hard_stop_domain_1st[23:0]),
3006 .tcu_peu_entestcfg(tcu_peu_entestcfg),
3007 .debug_cycle_counter_stop_to_mbc(debug_cycle_counter_stop_to_mbc),
3008 .mbist_clk_stop_to_mbc(mbist_clk_stop_to_mbc),
3009 .debug_cycle_counter_stop(debug_cycle_counter_stop),
3010 .mbist_clk_stop(mbist_clk_stop),
3011 .cycle_stretch_to_mbc(cycle_stretch_to_mbc),
3012 .cycle_stretch(cycle_stretch));
3013
3014
3015 tcu_ucb_ctl ucb_ctl(
3016 //inputs
3017 .scan_in(ucb_ctl_scan_in),
3018 .tcu_pce_ov (tcu_int_pce_ov),
3019 //outputs
3020 .scan_out(ucb_ctl_scan_out),
3021 .iol2clk(iol2clk),
3022 .tcu_int_aclk(tcu_int_aclk),
3023 .tcu_int_bclk(tcu_int_bclk),
3024 .tcu_int_se(tcu_int_se),
3025 .tcu_int_ce_ucb(tcu_int_ce_ucb),
3026 .tcu_tp_sync_2io(tcu_tp_sync_2io),
3027 .ac_test_mode(ac_test_mode),
3028 .tcu_test_protect(tcu_test_protect),
3029 .jtag_creg_addr(jtag_creg_addr[39:0]),
3030 .jtag_creg_data(jtag_creg_data[63:0]),
3031 .jtag_creg_rd_en(jtag_creg_rd_en),
3032 .jtag_creg_wr_en(jtag_creg_wr_en),
3033 .jtag_creg_addr_en(jtag_creg_addr_en),
3034 .jtag_creg_data_en(jtag_creg_data_en),
3035 .ucb_data_out(ucb_data_out[63:0]),
3036 .ucb_jtag_data_rdy(ucb_jtag_data_rdy),
3037 .jtag_ucb_data_ack(jtag_ucb_data_ack),
3038 .csr_ucb_data(csr_ucb_data[63:0]),
3039 .ucb_csr_wr(ucb_csr_wr),
3040 .ucb_csr_addr(ucb_csr_addr[5:0]),
3041 .dbg_creg_access(dbg_creg_access),
3042 .dbg_creg_addr(dbg_creg_addr[39:0]),
3043 .dbg_creg_data(dbg_creg_data[63:0]),
3044 .dbg_creg_wr_en(dbg_creg_wr_en),
3045 .dbg_creg_addr_en(dbg_creg_addr_en),
3046 .dbg_creg_data_en(dbg_creg_data_en),
3047 .tcu_ncu_stall(tcu_ncu_stall),
3048 .ncu_tcu_vld(ncu_tcu_vld),
3049 .ncu_tcu_data(ncu_tcu_data[7:0]),
3050 .tcu_ncu_vld(tcu_ncu_vld),
3051 .tcu_ncu_data(tcu_ncu_data[7:0]),
3052 .ncu_tcu_stall(ncu_tcu_stall)
3053 );
3054
3055 tcu_clkstp_ctl clkstp_ctl(
3056 .scan_in(clkstp_ctl_scan_in),
3057 .tcu_pce_ov (tcu_int_pce_ov),
3058 .scan_out(clkstp_ctl_scan_out),
3059 .l2clk(l2clk),
3060 .tcu_int_se(tcu_int_se),
3061 .tcu_int_aclk(tcu_int_aclk),
3062 .tcu_int_bclk(tcu_int_bclk),
3063 .tcu_int_ce(tcu_int_ce),
3064 .cmp_dr_sync_en(cmp_dr_sync_en),
3065 .mt_mode_sync(mt_mode_sync),
3066 .instr_mt_scan_rti(instr_mt_scan_rti),
3067 .pre_spc0_clk_stop(pre_spc0_clk_stop),
3068 .pre_spc1_clk_stop(pre_spc1_clk_stop),
3069 .pre_spc2_clk_stop(pre_spc2_clk_stop),
3070 .pre_spc3_clk_stop(pre_spc3_clk_stop),
3071 .pre_spc4_clk_stop(pre_spc4_clk_stop),
3072 .pre_spc5_clk_stop(pre_spc5_clk_stop),
3073 .pre_spc6_clk_stop(pre_spc6_clk_stop),
3074 .pre_spc7_clk_stop(pre_spc7_clk_stop),
3075 .pre_bnk0_clk_stop(pre_bnk0_clk_stop),
3076 .pre_l2t0_clk_stop(pre_l2t0_clk_stop),
3077 .pre_bnk1_clk_stop(pre_bnk1_clk_stop),
3078 .pre_l2t1_clk_stop(pre_l2t1_clk_stop),
3079 .pre_bnk2_clk_stop(pre_bnk2_clk_stop),
3080 .pre_l2t2_clk_stop(pre_l2t2_clk_stop),
3081 .pre_bnk3_clk_stop(pre_bnk3_clk_stop),
3082 .pre_l2t3_clk_stop(pre_l2t3_clk_stop),
3083 .pre_bnk4_clk_stop(pre_bnk4_clk_stop),
3084 .pre_l2t4_clk_stop(pre_l2t4_clk_stop),
3085 .pre_bnk5_clk_stop(pre_bnk5_clk_stop),
3086 .pre_l2t5_clk_stop(pre_l2t5_clk_stop),
3087 .pre_bnk6_clk_stop(pre_bnk6_clk_stop),
3088 .pre_l2t6_clk_stop(pre_l2t6_clk_stop),
3089 .pre_bnk7_clk_stop(pre_bnk7_clk_stop),
3090 .pre_l2t7_clk_stop(pre_l2t7_clk_stop),
3091 .pre_mcu0_clk_stop(pre_mcu0_clk_stop),
3092 .pre_mcu0_io_clk_stop(pre_mcu0_io_clk_stop),
3093 .pre_mcu0_dr_clk_stop(pre_mcu0_dr_clk_stop),
3094 .pre_mcu0_fbd_clk_stop(pre_mcu0_fbd_clk_stop),
3095 .pre_mcu1_clk_stop(pre_mcu1_clk_stop),
3096 .pre_mcu1_io_clk_stop(pre_mcu1_io_clk_stop),
3097 .pre_mcu1_dr_clk_stop(pre_mcu1_dr_clk_stop),
3098 .pre_mcu1_fbd_clk_stop(pre_mcu1_fbd_clk_stop),
3099 .pre_mcu2_clk_stop(pre_mcu2_clk_stop),
3100 .pre_mcu2_io_clk_stop(pre_mcu2_io_clk_stop),
3101 .pre_mcu2_dr_clk_stop(pre_mcu2_dr_clk_stop),
3102 .pre_mcu2_fbd_clk_stop(pre_mcu2_fbd_clk_stop),
3103 .pre_mcu3_clk_stop(pre_mcu3_clk_stop),
3104 .pre_mcu3_io_clk_stop(pre_mcu3_io_clk_stop),
3105 .pre_mcu3_dr_clk_stop(pre_mcu3_dr_clk_stop),
3106 .pre_mcu3_fbd_clk_stop(pre_mcu3_fbd_clk_stop),
3107 .pre_soc0_clk_stop(pre_soc0_clk_stop),
3108 .pre_soc0_io_clk_stop(pre_soc0_io_clk_stop),
3109 .pre_soc1_io_clk_stop(pre_soc1_io_clk_stop),
3110 .pre_soc2_io_clk_stop(pre_soc2_io_clk_stop),
3111 .pre_soc3_clk_stop(pre_soc3_clk_stop),
3112 .pre_soc3_io_clk_stop(pre_soc3_io_clk_stop),
3113 .tcu_spc0_clk_stop(tcu_spc0_clk_stop),
3114 .tcu_spc1_clk_stop(tcu_spc1_clk_stop),
3115 .tcu_spc2_clk_stop(tcu_spc2_clk_stop),
3116 .tcu_spc3_clk_stop(tcu_spc3_clk_stop),
3117 .tcu_spc4_clk_stop(tcu_spc4_clk_stop),
3118 .tcu_spc5_clk_stop(tcu_spc5_clk_stop),
3119 .tcu_spc6_clk_stop(tcu_spc6_clk_stop),
3120 .tcu_spc7_clk_stop(tcu_spc7_clk_stop),
3121 .tcu_l2d0_clk_stop(tcu_l2d0_clk_stop),
3122 .tcu_l2d1_clk_stop(tcu_l2d1_clk_stop),
3123 .tcu_l2d2_clk_stop(tcu_l2d2_clk_stop),
3124 .tcu_l2d3_clk_stop(tcu_l2d3_clk_stop),
3125 .tcu_l2d4_clk_stop(tcu_l2d4_clk_stop),
3126 .tcu_l2d5_clk_stop(tcu_l2d5_clk_stop),
3127 .tcu_l2d6_clk_stop(tcu_l2d6_clk_stop),
3128 .tcu_l2d7_clk_stop(tcu_l2d7_clk_stop),
3129 .tcu_l2b0_clk_stop(tcu_l2b0_clk_stop),
3130 .tcu_l2b1_clk_stop(tcu_l2b1_clk_stop),
3131 .tcu_l2b2_clk_stop(tcu_l2b2_clk_stop),
3132 .tcu_l2b3_clk_stop(tcu_l2b3_clk_stop),
3133 .tcu_l2b4_clk_stop(tcu_l2b4_clk_stop),
3134 .tcu_l2b5_clk_stop(tcu_l2b5_clk_stop),
3135 .tcu_l2b6_clk_stop(tcu_l2b6_clk_stop),
3136 .tcu_l2b7_clk_stop(tcu_l2b7_clk_stop),
3137 .tcu_l2t0_clk_stop(tcu_l2t0_clk_stop),
3138 .tcu_l2t1_clk_stop(tcu_l2t1_clk_stop),
3139 .tcu_l2t2_clk_stop(tcu_l2t2_clk_stop),
3140 .tcu_l2t3_clk_stop(tcu_l2t3_clk_stop),
3141 .tcu_l2t4_clk_stop(tcu_l2t4_clk_stop),
3142 .tcu_l2t5_clk_stop(tcu_l2t5_clk_stop),
3143 .tcu_l2t6_clk_stop(tcu_l2t6_clk_stop),
3144 .tcu_l2t7_clk_stop(tcu_l2t7_clk_stop),
3145 .tcu_mcu0_clk_stop(tcu_mcu0_clk_stop),
3146 .tcu_mcu1_clk_stop(tcu_mcu1_clk_stop),
3147 .tcu_mcu2_clk_stop(tcu_mcu2_clk_stop),
3148 .tcu_mcu3_clk_stop(tcu_mcu3_clk_stop),
3149 .tcu_mcu0_dr_clk_stop(tcu_mcu0_dr_clk_stop),
3150 .tcu_mcu1_dr_clk_stop(tcu_mcu1_dr_clk_stop),
3151 .tcu_mcu2_dr_clk_stop(tcu_mcu2_dr_clk_stop),
3152 .tcu_mcu3_dr_clk_stop(tcu_mcu3_dr_clk_stop),
3153 .tcu_mcu0_io_clk_stop(tcu_mcu0_io_clk_stop),
3154 .tcu_mcu1_io_clk_stop(tcu_mcu1_io_clk_stop),
3155 .tcu_mcu2_io_clk_stop(tcu_mcu2_io_clk_stop),
3156 .tcu_mcu3_io_clk_stop(tcu_mcu3_io_clk_stop),
3157 .tcu_mcu0_fbd_clk_stop(tcu_mcu0_fbd_clk_stop),
3158 .tcu_mcu1_fbd_clk_stop(tcu_mcu1_fbd_clk_stop),
3159 .tcu_mcu2_fbd_clk_stop(tcu_mcu2_fbd_clk_stop),
3160 .tcu_mcu3_fbd_clk_stop(tcu_mcu3_fbd_clk_stop),
3161 .tcu_sii_clk_stop(tcu_sii_clk_stop),
3162 .tcu_sio_clk_stop(tcu_sio_clk_stop),
3163 .tcu_ncu_clk_stop(tcu_ncu_clk_stop),
3164 .tcu_ccx_clk_stop(tcu_ccx_clk_stop),
3165 .tcu_efu_clk_stop(tcu_efu_clk_stop),
3166 .tcu_sii_io_clk_stop(tcu_sii_io_clk_stop),
3167 .tcu_sio_io_clk_stop(tcu_sio_io_clk_stop),
3168 .tcu_ncu_io_clk_stop(tcu_ncu_io_clk_stop),
3169 .tcu_efu_io_clk_stop(tcu_efu_io_clk_stop),
3170 .tcu_db0_clk_stop(tcu_db0_clk_stop),
3171 .tcu_db1_clk_stop(tcu_db1_clk_stop),
3172 .tcu_mio_clk_stop(tcu_mio_clk_stop),
3173 .tcu_rdp_io_clk_stop(tcu_rdp_io_clk_stop),
3174 .tcu_mac_io_clk_stop(tcu_mac_io_clk_stop),
3175 .tcu_rtx_io_clk_stop(tcu_rtx_io_clk_stop),
3176 .tcu_tds_io_clk_stop(tcu_tds_io_clk_stop),
3177 .tcu_dmu_io_clk_stop(tcu_dmu_io_clk_stop),
3178 .tcu_peu_pc_clk_stop(tcu_peu_pc_clk_stop),
3179 .tcu_peu_io_clk_stop(tcu_peu_io_clk_stop)
3180 );
3181
3182
3183 tcu_regs_ctl regs_ctl(
3184 .scan_in(regs_ctl_scan_in),
3185 .tcu_pce_ov (tcu_int_pce_ov),
3186 .scan_out(regs_ctl_scan_out),
3187 .debug_event_stop(debug_event_stop),
3188 .l2clk(l2clk),
3189 .tcu_int_aclk(tcu_int_aclk),
3190 .tcu_int_bclk(tcu_int_bclk),
3191 .tcu_int_se(tcu_int_se),
3192 .tcu_int_ce(tcu_int_ce),
3193 .tcu_int_ce_to_ucb(tcu_int_ce_to_ucb),
3194 .tcu_int_ce_ucb(tcu_int_ce_ucb),
3195 .ac_test_mode(ac_test_mode),
3196 .cmp_io_sync_en(cmp_io_sync_en),
3197 .io_cmp_sync_en(io_cmp_sync_en),
3198 .cmp_io2x_sync_en(cmp_io2x_sync_en),
3199 .ac_trans_test_counter_start(ac_trans_test_counter_start),
3200 .jtag_clock_start(jtag_clock_start),
3201 .clock_domain(clock_domain[23:0]),
3202 .clock_domain_upd(clock_domain_upd),
3203 .core_sel(core_sel[7:0]),
3204 .core_sel_upd(core_sel_upd),
3205 .decnt_data(decnt_data[31:0]),
3206 .decnt_upd(decnt_upd),
3207 .de_count(de_count[31:0]),
3208 .cyc_count(cyc_count[63:0]),
3209 .cyc_count_upd(cyc_count_upd),
3210 .cycle_count(cycle_count[63:0]),
3211 .tcudcr_data(tcudcr_data[3:0]),
3212 .tcudcr_upd(tcudcr_upd),
3213 .tcu_dcr(tcu_dcr[3:0]),
3214 .dossen(dossen[63:0]),
3215 .dossen_upd(dossen_upd),
3216 .doss_enab(doss_enab[63:0]),
3217 .dossmode(dossmode[1:0]),
3218 .dossmode_upd(dossmode_upd),
3219 .doss_mode(doss_mode[1:0]),
3220 .ssreq_upd(ssreq_upd),
3221 .csmode(csmode),
3222 .csmode_upd(csmode_upd),
3223 .cs_mode(cs_mode),
3224 .cs_mode_active(cs_mode_active),
3225 .jtagclkstop_ov(jtagclkstop_ov),
3226 .jtag_ser_scan_q(jtag_ser_scan_q),
3227 .jtag_mt_enable(jtag_mt_enable),
3228 .jtag_test_protect(jtag_test_protect),
3229 .flush_test_protect(flush_test_protect),
3230 .tcu_tp_sync_2io(tcu_tp_sync_2io),
3231 .mt_mode_sync(mt_mode_sync),
3232 .rst_tcu_dbr_gen(rst_tcu_dbr_gen),
3233 .tcu_dbr_gateoff(tcu_dbr_gateoff),
3234 .cycle_stretch_to_mbc(cycle_stretch_to_mbc),
3235 .spc_crs(spc_crs[63:0]),
3236 .doss_stat(doss_stat[7:0]),
3237 .dbg1_tcu_soc_hard_stop(dbg1_tcu_soc_hard_stop),
3238 .spc0_hardstop_request(spc0_hardstop_request),
3239 .spc1_hardstop_request(spc1_hardstop_request),
3240 .spc2_hardstop_request(spc2_hardstop_request),
3241 .spc3_hardstop_request(spc3_hardstop_request),
3242 .spc4_hardstop_request(spc4_hardstop_request),
3243 .spc5_hardstop_request(spc5_hardstop_request),
3244 .spc6_hardstop_request(spc6_hardstop_request),
3245 .spc7_hardstop_request(spc7_hardstop_request),
3246 .clk_stop_ac_trans_counter_initiated(clk_stop_ac_trans_counter_initiated),
3247 .debug_reg_hard_stop_domain_1st(debug_reg_hard_stop_domain_1st[23:0]),
3248 .debug_cycle_counter_stop_to_mbc(debug_cycle_counter_stop_to_mbc),
3249 .spc0_ss_complete(spc0_ss_complete),
3250 .spc1_ss_complete(spc1_ss_complete),
3251 .spc2_ss_complete(spc2_ss_complete),
3252 .spc3_ss_complete(spc3_ss_complete),
3253 .spc4_ss_complete(spc4_ss_complete),
3254 .spc5_ss_complete(spc5_ss_complete),
3255 .spc6_ss_complete(spc6_ss_complete),
3256 .spc7_ss_complete(spc7_ss_complete),
3257 .tcu_ss_request(tcu_ss_request[7:0]),
3258 .tcu_do_mode(tcu_do_mode[7:0]),
3259 .tcu_ss_mode(tcu_ss_mode[7:0]),
3260 .spc0_softstop_request(spc0_softstop_request),
3261 .spc1_softstop_request(spc1_softstop_request),
3262 .spc2_softstop_request(spc2_softstop_request),
3263 .spc3_softstop_request(spc3_softstop_request),
3264 .spc4_softstop_request(spc4_softstop_request),
3265 .spc5_softstop_request(spc5_softstop_request),
3266 .spc6_softstop_request(spc6_softstop_request),
3267 .spc7_softstop_request(spc7_softstop_request),
3268 .spc0_ncu_core_running_status(spc0_ncu_core_running_status[7:0]),
3269 .spc1_ncu_core_running_status(spc1_ncu_core_running_status[7:0]),
3270 .spc2_ncu_core_running_status(spc2_ncu_core_running_status[7:0]),
3271 .spc3_ncu_core_running_status(spc3_ncu_core_running_status[7:0]),
3272 .spc4_ncu_core_running_status(spc4_ncu_core_running_status[7:0]),
3273 .spc5_ncu_core_running_status(spc5_ncu_core_running_status[7:0]),
3274 .spc6_ncu_core_running_status(spc6_ncu_core_running_status[7:0]),
3275 .spc7_ncu_core_running_status(spc7_ncu_core_running_status[7:0]),
3276 .spc0_trigger_pulse(spc0_trigger_pulse),
3277 .spc1_trigger_pulse(spc1_trigger_pulse),
3278 .spc2_trigger_pulse(spc2_trigger_pulse),
3279 .spc3_trigger_pulse(spc3_trigger_pulse),
3280 .spc4_trigger_pulse(spc4_trigger_pulse),
3281 .spc5_trigger_pulse(spc5_trigger_pulse),
3282 .spc6_trigger_pulse(spc6_trigger_pulse),
3283 .spc7_trigger_pulse(spc7_trigger_pulse),
3284 .dbg_creg_access(dbg_creg_access),
3285 .dbg_creg_addr(dbg_creg_addr[39:0]),
3286 .dbg_creg_data(dbg_creg_data[63:0]),
3287 .dbg_creg_wr_en(dbg_creg_wr_en),
3288 .dbg_creg_addr_en(dbg_creg_addr_en),
3289 .dbg_creg_data_en(dbg_creg_data_en),
3290 .spc_ss_mode(spc_ss_mode),
3291 .spc_ss_sel(spc_ss_sel[7:0]),
3292 .dbg1_tcu_soc_asrt_trigout(dbg1_tcu_soc_asrt_trigout),
3293 .tcu_mio_trigout(tcu_mio_trigout),
3294 .mio_tcu_trigin(mio_tcu_trigin),
3295 .tcu_rst_flush_stop_ack(tcu_rst_flush_stop_ack),
3296 .wmr_two(wmr_two),
3297 .mbist_clk_stop_req(mbist_clk_stop_req),
3298 .mbist_clk_stop_to_mbc(mbist_clk_stop_to_mbc),
3299 .l2data_upd(l2data_upd),
3300 .l2addr_upd(l2addr_upd),
3301 .l2rti(l2rti),
3302 .instr_l2_wr(instr_l2_wr),
3303 .instr_l2_rd(instr_l2_rd),
3304 .sio_tcu_data(sio_tcu_data),
3305 .sio_tcu_vld(sio_tcu_vld),
3306 .l2access(l2access[64:0]),
3307 .tcu_sii_data(tcu_sii_data),
3308 .tcu_sii_vld(tcu_sii_vld),
3309 .l2rddata(l2rddata[63:0]),
3310 .l2_read_vld(l2_read_vld),
3311 .ucb_csr_wr(ucb_csr_wr),
3312 .ucb_csr_addr(ucb_csr_addr[5:0]),
3313 .ucb_data_out(ucb_data_out[63:0])
3314 );
3315
3316 n2_clk_clkchp_4sel_32x_cust tck_clock_chopper_cust
3317 (
3318 .tck (io_tck),
3319 .s500 (1'b0),
3320 .s1000 (1'b0),
3321 .s1500 (1'b0),
3322 .s2000 (1'b1),
3323 .aclk (chop_aclk),
3324 .bclk (chop_bclk)
3325 );
3326
3327// /////////////////////////////////////////////////////////////////////////////
3328// Temporary Assigns
3329// /////////////////////////////////////////////////////////////////////////////
3330
3331// for jtag_ctl connections
3332////assign ser_scan_out = 1'b0; // scan-out of concatenated scan chains
3333//assign jtag_id[3:0] = 4'b0000; // from external to tcu
3334//assign iou_bs_scan_out = 1'b0;
3335
3336// MBIST Connections for SPC Cores
3337
3338assign mb_tcu_done = {
3339 rdp_rdmc_tcu_mbist_done,
3340 rtx_rxc_ipp0_tcu_mbist_done,
3341 rtx_rxc_ipp1_tcu_mbist_done,
3342 rtx_rxc_mb5_tcu_mbist_done,
3343 rtx_rxc_mb6_tcu_mbist_done,
3344 rtx_rxc_zcp0_tcu_mbist_done,
3345 rtx_rxc_zcp1_tcu_mbist_done,
3346 rtx_txc_txe0_tcu_mbist_done,
3347 rtx_txc_txe1_tcu_mbist_done,
3348 tds_smx_tcu_mbist_done,
3349 tds_tdmc_tcu_mbist_done,
3350 peu_tcu_mbist_done,
3351 dmu_tcu_mbist_done,
3352 l2t7_tcu_mbist_done,
3353 l2t6_tcu_mbist_done,
3354 l2t5_tcu_mbist_done,
3355 l2t4_tcu_mbist_done,
3356 l2t3_tcu_mbist_done,
3357 l2t2_tcu_mbist_done,
3358 l2t1_tcu_mbist_done,
3359 l2t0_tcu_mbist_done,
3360 l2b7_tcu_mbist_done,
3361 l2b6_tcu_mbist_done,
3362 l2b5_tcu_mbist_done,
3363 l2b4_tcu_mbist_done,
3364 l2b3_tcu_mbist_done,
3365 l2b2_tcu_mbist_done,
3366 l2b1_tcu_mbist_done,
3367 l2b0_tcu_mbist_done,
3368 mcu3_tcu_mbist_done,
3369 mcu2_tcu_mbist_done,
3370 mcu1_tcu_mbist_done,
3371 mcu0_tcu_mbist_done,
3372 ncu_tcu_mbist_done,
3373 sio_tcu_mbist_done,
3374 sii_tcu_mbist_done,
3375 spc7_tcu_mbist_done,
3376 spc6_tcu_mbist_done,
3377 spc5_tcu_mbist_done,
3378 spc4_tcu_mbist_done,
3379 spc3_tcu_mbist_done,
3380 spc2_tcu_mbist_done,
3381 spc1_tcu_mbist_done,
3382 spc0_tcu_mbist_done};
3383
3384assign mb_tcu_fail = {
3385 rdp_rdmc_tcu_mbist_fail,
3386 rtx_rxc_ipp0_tcu_mbist_fail,
3387 rtx_rxc_ipp1_tcu_mbist_fail,
3388 rtx_rxc_mb5_tcu_mbist_fail,
3389 rtx_rxc_mb6_tcu_mbist_fail,
3390 rtx_rxc_zcp0_tcu_mbist_fail,
3391 rtx_rxc_zcp1_tcu_mbist_fail,
3392 rtx_txc_txe0_tcu_mbist_fail,
3393 rtx_txc_txe1_tcu_mbist_fail,
3394 tds_smx_tcu_mbist_fail,
3395 tds_tdmc_tcu_mbist_fail,
3396 peu_tcu_mbist_fail,
3397 dmu_tcu_mbist_fail,
3398 l2t7_tcu_mbist_fail,
3399 l2t6_tcu_mbist_fail,
3400 l2t5_tcu_mbist_fail,
3401 l2t4_tcu_mbist_fail,
3402 l2t3_tcu_mbist_fail,
3403 l2t2_tcu_mbist_fail,
3404 l2t1_tcu_mbist_fail,
3405 l2t0_tcu_mbist_fail,
3406 l2b7_tcu_mbist_fail,
3407 l2b6_tcu_mbist_fail,
3408 l2b5_tcu_mbist_fail,
3409 l2b4_tcu_mbist_fail,
3410 l2b3_tcu_mbist_fail,
3411 l2b2_tcu_mbist_fail,
3412 l2b1_tcu_mbist_fail,
3413 l2b0_tcu_mbist_fail,
3414 mcu3_tcu_mbist_fail,
3415 mcu2_tcu_mbist_fail,
3416 mcu1_tcu_mbist_fail,
3417 mcu0_tcu_mbist_fail,
3418 ncu_tcu_mbist_fail,
3419 sio_tcu_mbist_fail,
3420 sii_tcu_mbist_fail,
3421 spc7_tcu_mbist_fail,
3422 spc6_tcu_mbist_fail,
3423 spc5_tcu_mbist_fail,
3424 spc4_tcu_mbist_fail,
3425 spc3_tcu_mbist_fail,
3426 spc2_tcu_mbist_fail,
3427 spc1_tcu_mbist_fail,
3428 spc0_tcu_mbist_fail};
3429
3430assign lb_tcu_done = { spc7_tcu_lbist_done,
3431 spc6_tcu_lbist_done,
3432 spc5_tcu_lbist_done,
3433 spc4_tcu_lbist_done,
3434 spc3_tcu_lbist_done,
3435 spc2_tcu_lbist_done,
3436 spc1_tcu_lbist_done,
3437 spc0_tcu_lbist_done};
3438
3439 //efu
3440assign tck = io_tck;
3441
3442
3443// fixscan start:
3444assign sigmux_ctl_scan_in = io_scan_in[30];
3445assign jtag_ctl_scan_in = sigmux_ctl_scan_out;
3446assign mbist_ctl_scan_in = jtag_ctl_scan_out;
3447assign ucb_ctl_scan_in = mbist_ctl_scan_out;
3448assign clkstp_ctl_scan_in = ucb_ctl_scan_out;
3449assign regs_ctl_scan_in = clkstp_ctl_scan_out;
3450assign clkgen_tcu_cmp_scan_in = regs_ctl_scan_out;
3451assign clkgen_tcu_io_scan_in = clkgen_tcu_cmp_scan_out;
3452assign tcu_scan_chain = clkgen_tcu_io_scan_out;
3453// fixscan end:
3454
3455endmodule
3456