Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: sii_ipcs_ctl.v | |
4 | // Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved | |
5 | // 4150 Network Circle, Santa Clara, California 95054, U.S.A. | |
6 | // | |
7 | // * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
8 | // | |
9 | // This program is free software; you can redistribute it and/or modify | |
10 | // it under the terms of the GNU General Public License as published by | |
11 | // the Free Software Foundation; version 2 of the License. | |
12 | // | |
13 | // This program is distributed in the hope that it will be useful, | |
14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | // GNU General Public License for more details. | |
17 | // | |
18 | // You should have received a copy of the GNU General Public License | |
19 | // along with this program; if not, write to the Free Software | |
20 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 | // | |
22 | // For the avoidance of doubt, and except that if any non-GPL license | |
23 | // choice is available it will apply instead, Sun elects to use only | |
24 | // the General Public License version 2 (GPLv2) at this time for any | |
25 | // software where a choice of GPL license versions is made | |
26 | // available with the language indicating that GPLv2 or any later version | |
27 | // may be used, or where a choice of which version of the GPL is applied is | |
28 | // otherwise unspecified. | |
29 | // | |
30 | // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
31 | // CA 95054 USA or visit www.sun.com if you need additional information or | |
32 | // have any questions. | |
33 | // | |
34 | // ========== Copyright Header End ============================================ | |
35 | module sii_ipcs_ctl ( | |
36 | ext_sii_hdr_vld, | |
37 | ext_sii_reqbypass, | |
38 | ext_sii_datareq, | |
39 | ext_sii_datareq16, | |
40 | ext_sii_data, | |
41 | ext_sii_be, | |
42 | ext_sii_parity, | |
43 | ext_sii_be_parity, | |
44 | ncu_sii_ctag_uei, | |
45 | ncu_sii_ctag_cei, | |
46 | ncu_sii_a_pei, | |
47 | ncu_sii_d_pei, | |
48 | sii_ext_wrack_tag, | |
49 | sii_ext_wrack_vld, | |
50 | sii_ext_wrack_parity, | |
51 | sii_ext_oqdq, | |
52 | sii_ext_bqdq, | |
53 | ipcc_ipcs_or_go_lv, | |
54 | ipcc_ipcs_by_go_lv, | |
55 | ipcc_ipcs_or_ptr, | |
56 | ipcc_ipcs_by_ptr, | |
57 | ipcc_ipcs_dmu_tag, | |
58 | ipcc_ipcs_dmu_wrack_p, | |
59 | ipcc_ipcs_wrack_lv, | |
60 | ipcs_ipcc_or_dep, | |
61 | ipcs_ipcc_by_dep, | |
62 | ipcs_ipcc_add_or, | |
63 | ipcs_ipcc_add_by, | |
64 | ipdohq_din, | |
65 | ipdbhq_din, | |
66 | ipdodq_din, | |
67 | ipdbdq_din, | |
68 | ipcs_ipdohq_wr_addr, | |
69 | ipcs_ipdohq_wr_en, | |
70 | ipcs_ipdbhq_wr_addr, | |
71 | ipcs_ipdbhq_wr_en, | |
72 | ipcs_ipdodq_wr_addr, | |
73 | ipcs_ipdodq_wr_en, | |
74 | ipcs_ipdbdq_wr_addr, | |
75 | ipcs_ipdbdq_wr_en, | |
76 | dmu_mode, | |
77 | iol2clk, | |
78 | scan_in, | |
79 | scan_out, | |
80 | tcu_scan_en, | |
81 | tcu_dbr_gateoff, | |
82 | tcu_aclk, | |
83 | tcu_bclk, | |
84 | tcu_pce_ov, | |
85 | tcu_clk_stop, | |
86 | sii_mb1_ipdodq_wr_en, | |
87 | sii_mb1_ipdbdq_wr_en, | |
88 | sii_mb1_ipdohq_wr_en, | |
89 | sii_mb1_ipdbhq_wr_en, | |
90 | sii_mb1_run_r, | |
91 | sii_mb1_wr_addr, | |
92 | sii_mb1_wdata); | |
93 | wire se; | |
94 | wire siclk; | |
95 | wire soclk; | |
96 | wire pce_ov; | |
97 | wire stop; | |
98 | wire l1clk; | |
99 | wire spares_scanin; | |
100 | wire spares_scanout; | |
101 | wire cmd_grp_4_unused; | |
102 | wire [5:0] cmd_grp; | |
103 | wire gt_wrptr_4_unused; | |
104 | wire [4:0] gt_wrptr; | |
105 | wire [71:0] mbist_hdr_data; | |
106 | wire [159:0] mbist_data_data; | |
107 | wire dmu_wrack_vld; | |
108 | wire ipcc_ipcs_or_go; | |
109 | wire ipcc_ipcs_by_go; | |
110 | wire add_or; | |
111 | wire ext_sii_reqbypass_r; | |
112 | wire [6:0] cstate; | |
113 | wire l2_io; | |
114 | wire [2:0] cmd; | |
115 | wire add_by; | |
116 | wire [40:0] or_cam15_r; | |
117 | wire [40:0] or_cam14_r; | |
118 | wire [40:0] or_cam13_r; | |
119 | wire [40:0] or_cam12_r; | |
120 | wire [40:0] or_cam11_r; | |
121 | wire [40:0] or_cam10_r; | |
122 | wire [40:0] or_cam9_r; | |
123 | wire [40:0] or_cam8_r; | |
124 | wire [40:0] or_cam7_r; | |
125 | wire [40:0] or_cam6_r; | |
126 | wire [40:0] or_cam5_r; | |
127 | wire [40:0] or_cam4_r; | |
128 | wire [40:0] or_cam3_r; | |
129 | wire [40:0] or_cam2_r; | |
130 | wire [40:0] or_cam1_r; | |
131 | wire [40:0] or_cam0_r; | |
132 | wire [40:0] by_cam15_r; | |
133 | wire [40:0] by_cam14_r; | |
134 | wire [40:0] by_cam13_r; | |
135 | wire [40:0] by_cam12_r; | |
136 | wire [40:0] by_cam11_r; | |
137 | wire [40:0] by_cam10_r; | |
138 | wire [40:0] by_cam9_r; | |
139 | wire [40:0] by_cam8_r; | |
140 | wire [40:0] by_cam7_r; | |
141 | wire [40:0] by_cam6_r; | |
142 | wire [40:0] by_cam5_r; | |
143 | wire [40:0] by_cam4_r; | |
144 | wire [40:0] by_cam3_r; | |
145 | wire [40:0] by_cam2_r; | |
146 | wire [40:0] by_cam1_r; | |
147 | wire [40:0] by_cam0_r; | |
148 | wire ext_sii_datai; | |
149 | wire [4:0] ipdohq_wr_addr_r; | |
150 | wire [4:0] ipdohq_wr_addr_l; | |
151 | wire ipcs_ipdohq_wr_en_i; | |
152 | wire [4:0] ipdbhq_wr_addr_r; | |
153 | wire [4:0] ipdbhq_wr_addr_l; | |
154 | wire ipcs_ipdbhq_wr_en_i; | |
155 | wire [71:0] newhdr; | |
156 | wire [5:0] ipcs_ipdodq_wr_addr_l; | |
157 | wire arc_data1_data2; | |
158 | wire [5:0] ipcs_ipdodq_wr_addr_r; | |
159 | wire [5:0] ipcs_ipdbdq_wr_addr_l; | |
160 | wire [5:0] ipcs_ipdbdq_wr_addr_r; | |
161 | wire ext_sii_datareq16_l; | |
162 | wire ext_sii_datareq16_r; | |
163 | wire dmu_sii_reqbypass_l; | |
164 | wire [127:0] ext_sii_hdr_l; | |
165 | wire [127:0] ext_sii_hdr_r; | |
166 | wire [5:0] ctag_ecc; | |
167 | wire [1:0] addr_parity; | |
168 | wire cmd_parity; | |
169 | wire intr; | |
170 | wire posted; | |
171 | wire [15:0] id; | |
172 | wire timeout; | |
173 | wire unmap; | |
174 | wire uncor; | |
175 | wire [37:0] pa; | |
176 | wire cmd_parity_ori; | |
177 | wire [4:0] last_or_wr_l; | |
178 | wire [3:0] ipcc_ipcs_or_raddr; | |
179 | wire [4:0] last_or_wr_r; | |
180 | wire w_r; | |
181 | wire [4:0] last_by_wr_l; | |
182 | wire [3:0] ipcc_ipcs_by_raddr; | |
183 | wire [4:0] last_by_wr_r; | |
184 | wire [33:0] addr; | |
185 | wire [3:0] ptr; | |
186 | wire [3:0] dmu_ptr; | |
187 | wire [3:0] niu_ptr; | |
188 | wire [3:0] youngest_match; | |
189 | wire [3:0] youngest_dep; | |
190 | wire [3:0] dmu_or_ptr; | |
191 | wire [3:0] dmu_by_ptr; | |
192 | wire [3:0] dmu_or_ptr_l; | |
193 | wire [3:0] dmu_by_ptr_l; | |
194 | wire niu_dep; | |
195 | wire address_matched; | |
196 | wire [4:0] last_wrptr; | |
197 | wire dmu_dep; | |
198 | wire or_qvalid; | |
199 | wire by_qvalid; | |
200 | wire dep; | |
201 | wire [40:0] cam_l; | |
202 | wire match0; | |
203 | wire by_cam0_v; | |
204 | wire or_cam0_v; | |
205 | wire match1; | |
206 | wire by_cam1_v; | |
207 | wire or_cam1_v; | |
208 | wire match2; | |
209 | wire by_cam2_v; | |
210 | wire or_cam2_v; | |
211 | wire match3; | |
212 | wire by_cam3_v; | |
213 | wire or_cam3_v; | |
214 | wire match4; | |
215 | wire by_cam4_v; | |
216 | wire or_cam4_v; | |
217 | wire match5; | |
218 | wire by_cam5_v; | |
219 | wire or_cam5_v; | |
220 | wire match6; | |
221 | wire by_cam6_v; | |
222 | wire or_cam6_v; | |
223 | wire match7; | |
224 | wire by_cam7_v; | |
225 | wire or_cam7_v; | |
226 | wire match8; | |
227 | wire by_cam8_v; | |
228 | wire or_cam8_v; | |
229 | wire match9; | |
230 | wire by_cam9_v; | |
231 | wire or_cam9_v; | |
232 | wire match10; | |
233 | wire by_cam10_v; | |
234 | wire or_cam10_v; | |
235 | wire match11; | |
236 | wire by_cam11_v; | |
237 | wire or_cam11_v; | |
238 | wire match12; | |
239 | wire by_cam12_v; | |
240 | wire or_cam12_v; | |
241 | wire match13; | |
242 | wire by_cam13_v; | |
243 | wire or_cam13_v; | |
244 | wire match14; | |
245 | wire by_cam14_v; | |
246 | wire or_cam14_v; | |
247 | wire match15; | |
248 | wire by_cam15_v; | |
249 | wire or_cam15_v; | |
250 | wire by_clr_v0; | |
251 | wire by_clr_v1; | |
252 | wire by_clr_v2; | |
253 | wire by_clr_v3; | |
254 | wire by_clr_v4; | |
255 | wire by_clr_v5; | |
256 | wire by_clr_v6; | |
257 | wire by_clr_v7; | |
258 | wire by_clr_v8; | |
259 | wire by_clr_v9; | |
260 | wire by_clr_v10; | |
261 | wire by_clr_v11; | |
262 | wire by_clr_v12; | |
263 | wire by_clr_v13; | |
264 | wire by_clr_v14; | |
265 | wire by_clr_v15; | |
266 | wire or_clr_v0; | |
267 | wire or_clr_v1; | |
268 | wire or_clr_v2; | |
269 | wire or_clr_v3; | |
270 | wire or_clr_v4; | |
271 | wire or_clr_v5; | |
272 | wire or_clr_v6; | |
273 | wire or_clr_v7; | |
274 | wire or_clr_v8; | |
275 | wire or_clr_v9; | |
276 | wire or_clr_v10; | |
277 | wire or_clr_v11; | |
278 | wire or_clr_v12; | |
279 | wire or_clr_v13; | |
280 | wire or_clr_v14; | |
281 | wire or_clr_v15; | |
282 | wire [3:0] wpt; | |
283 | wire [4:0] lt_wrptr; | |
284 | wire [6:0] nstate; | |
285 | wire [6:0] cstate_r; | |
286 | wire arc_start_hdr; | |
287 | wire arc_start_hdrpayld; | |
288 | wire arc_hdr_hdrpayld; | |
289 | wire arc_hdr_hdr; | |
290 | wire arc_hdrpayld_data1; | |
291 | wire arc_data1_hdrpayld; | |
292 | wire arc_data1_hdr; | |
293 | wire arc_data2_data3; | |
294 | wire arc_data3_data4; | |
295 | wire arc_data4_hdr; | |
296 | wire arc_data4_hdrpayld; | |
297 | wire or_clr_d0; | |
298 | wire or_clr_d1; | |
299 | wire or_clr_d2; | |
300 | wire or_clr_d3; | |
301 | wire or_clr_d4; | |
302 | wire or_clr_d5; | |
303 | wire or_clr_d6; | |
304 | wire or_clr_d7; | |
305 | wire or_clr_d8; | |
306 | wire or_clr_d9; | |
307 | wire or_clr_d10; | |
308 | wire or_clr_d11; | |
309 | wire or_clr_d12; | |
310 | wire or_clr_d13; | |
311 | wire or_clr_d14; | |
312 | wire or_clr_d15; | |
313 | wire by_clr_d0; | |
314 | wire by_clr_d1; | |
315 | wire by_clr_d2; | |
316 | wire by_clr_d3; | |
317 | wire by_clr_d4; | |
318 | wire by_clr_d5; | |
319 | wire by_clr_d6; | |
320 | wire by_clr_d7; | |
321 | wire by_clr_d8; | |
322 | wire by_clr_d9; | |
323 | wire by_clr_d10; | |
324 | wire by_clr_d11; | |
325 | wire by_clr_d12; | |
326 | wire by_clr_d13; | |
327 | wire by_clr_d14; | |
328 | wire by_clr_d15; | |
329 | wire reg_cstate_scanin; | |
330 | wire reg_cstate_scanout; | |
331 | wire reg_last_or_wr_scanin; | |
332 | wire reg_last_or_wr_scanout; | |
333 | wire reg_last_by_wr_scanin; | |
334 | wire reg_last_by_wr_scanout; | |
335 | wire reg_dmu_or_ptr_scanin; | |
336 | wire reg_dmu_or_ptr_scanout; | |
337 | wire reg_dmu_by_ptr_scanin; | |
338 | wire reg_dmu_by_ptr_scanout; | |
339 | wire reg_ipdohq_wr_addr_scanin; | |
340 | wire reg_ipdohq_wr_addr_scanout; | |
341 | wire reg_ipdbhq_wr_addr_scanin; | |
342 | wire reg_ipdbhq_wr_addr_scanout; | |
343 | wire reg_ipdodq_wr_addr_scanin; | |
344 | wire reg_ipdodq_wr_addr_scanout; | |
345 | wire reg_ipdbdq_wr_addr_scanin; | |
346 | wire reg_ipdbdq_wr_addr_scanout; | |
347 | wire reg_dmu_sii_hdr_scanin; | |
348 | wire reg_dmu_sii_hdr_scanout; | |
349 | wire reg_datareq16_scanin; | |
350 | wire reg_datareq16_scanout; | |
351 | wire reg_reqbypass_scanin; | |
352 | wire reg_reqbypass_scanout; | |
353 | wire reg_add_or_scanin; | |
354 | wire reg_add_or_scanout; | |
355 | wire reg_add_by_scanin; | |
356 | wire reg_add_by_scanout; | |
357 | wire reg_dmu_wrack_tag_scanin; | |
358 | wire reg_dmu_wrack_tag_scanout; | |
359 | wire reg_dmu_wrack_parity_scanin; | |
360 | wire reg_dmu_wrack_parity_scanout; | |
361 | wire ipcc_ipcs_wrack_vld; | |
362 | wire sync2_wrack; | |
363 | wire reg_ipcc_ipcs_wrack_scanin; | |
364 | wire reg_ipcc_ipcs_wrack_scanout; | |
365 | wire sync_ff_wrack1_scanin; | |
366 | wire sync_ff_wrack1_scanout; | |
367 | wire sync1_wrack; | |
368 | wire sync_ff_wrack2_scanin; | |
369 | wire sync_ff_wrack2_scanout; | |
370 | wire ipcc_ipcs_or_dq; | |
371 | wire reg_ipcc_ipcs_or_dq_scanin; | |
372 | wire reg_ipcc_ipcs_or_dq_scanout; | |
373 | wire ipcc_ipcs_by_dq; | |
374 | wire reg_ipcc_ipcs_by_dq_scanin; | |
375 | wire reg_ipcc_ipcs_by_dq_scanout; | |
376 | wire sync_ff_or_ptr2_scanin; | |
377 | wire sync_ff_or_ptr2_scanout; | |
378 | wire sync_ff_by_ptr1_scanin; | |
379 | wire sync_ff_by_ptr1_scanout; | |
380 | wire reg_by_cam0_scanin; | |
381 | wire reg_by_cam0_scanout; | |
382 | wire reg_by_cam1_scanin; | |
383 | wire reg_by_cam1_scanout; | |
384 | wire reg_by_cam2_scanin; | |
385 | wire reg_by_cam2_scanout; | |
386 | wire reg_by_cam3_scanin; | |
387 | wire reg_by_cam3_scanout; | |
388 | wire reg_by_cam4_scanin; | |
389 | wire reg_by_cam4_scanout; | |
390 | wire reg_by_cam5_scanin; | |
391 | wire reg_by_cam5_scanout; | |
392 | wire reg_by_cam6_scanin; | |
393 | wire reg_by_cam6_scanout; | |
394 | wire reg_by_cam7_scanin; | |
395 | wire reg_by_cam7_scanout; | |
396 | wire reg_by_cam8_scanin; | |
397 | wire reg_by_cam8_scanout; | |
398 | wire reg_by_cam9_scanin; | |
399 | wire reg_by_cam9_scanout; | |
400 | wire reg_by_cam10_scanin; | |
401 | wire reg_by_cam10_scanout; | |
402 | wire reg_by_cam11_scanin; | |
403 | wire reg_by_cam11_scanout; | |
404 | wire reg_by_cam12_scanin; | |
405 | wire reg_by_cam12_scanout; | |
406 | wire reg_by_cam13_scanin; | |
407 | wire reg_by_cam13_scanout; | |
408 | wire reg_by_cam14_scanin; | |
409 | wire reg_by_cam14_scanout; | |
410 | wire reg_by_cam15_scanin; | |
411 | wire reg_by_cam15_scanout; | |
412 | wire reg_or_cam0_scanin; | |
413 | wire reg_or_cam0_scanout; | |
414 | wire reg_or_cam1_scanin; | |
415 | wire reg_or_cam1_scanout; | |
416 | wire reg_or_cam2_scanin; | |
417 | wire reg_or_cam2_scanout; | |
418 | wire reg_or_cam3_scanin; | |
419 | wire reg_or_cam3_scanout; | |
420 | wire reg_or_cam4_scanin; | |
421 | wire reg_or_cam4_scanout; | |
422 | wire reg_or_cam5_scanin; | |
423 | wire reg_or_cam5_scanout; | |
424 | wire reg_or_cam6_scanin; | |
425 | wire reg_or_cam6_scanout; | |
426 | wire reg_or_cam7_scanin; | |
427 | wire reg_or_cam7_scanout; | |
428 | wire reg_or_cam8_scanin; | |
429 | wire reg_or_cam8_scanout; | |
430 | wire reg_or_cam9_scanin; | |
431 | wire reg_or_cam9_scanout; | |
432 | wire reg_or_cam10_scanin; | |
433 | wire reg_or_cam10_scanout; | |
434 | wire reg_or_cam11_scanin; | |
435 | wire reg_or_cam11_scanout; | |
436 | wire reg_or_cam12_scanin; | |
437 | wire reg_or_cam12_scanout; | |
438 | wire reg_or_cam13_scanin; | |
439 | wire reg_or_cam13_scanout; | |
440 | wire reg_or_cam14_scanin; | |
441 | wire reg_or_cam14_scanout; | |
442 | wire reg_or_cam15_scanin; | |
443 | wire reg_or_cam15_scanout; | |
444 | ||
445 | ||
446 | //----- b/w DMU or NIU to SIU -------- | |
447 | input ext_sii_hdr_vld; | |
448 | input ext_sii_reqbypass; | |
449 | input ext_sii_datareq; | |
450 | input ext_sii_datareq16; | |
451 | input [127:0] ext_sii_data; | |
452 | input [15:0] ext_sii_be; | |
453 | input [7:0] ext_sii_parity; | |
454 | input ext_sii_be_parity; | |
455 | ||
456 | input ncu_sii_ctag_uei; // niu ctag uncorrectable error injection | |
457 | input ncu_sii_ctag_cei; // niu ctag correctable error injection | |
458 | input ncu_sii_a_pei; // niu address prarity error injection | |
459 | input ncu_sii_d_pei; // niu data parity error injection | |
460 | ||
461 | output [3:0] sii_ext_wrack_tag; | |
462 | output sii_ext_wrack_vld; | |
463 | output sii_ext_wrack_parity; | |
464 | output sii_ext_oqdq; // dequeue signal for external device to keep track of credit | |
465 | output sii_ext_bqdq; | |
466 | ||
467 | //------ b/w ipcc and ipcs-------/ | |
468 | input ipcc_ipcs_or_go_lv; | |
469 | input ipcc_ipcs_by_go_lv; // act as valid for the read address pointer | |
470 | input [3:0] ipcc_ipcs_or_ptr; //ordered header queue read address pointer | |
471 | input [3:0] ipcc_ipcs_by_ptr; | |
472 | input [3:0] ipcc_ipcs_dmu_tag; // for dmu to keep track of credit | |
473 | input ipcc_ipcs_dmu_wrack_p; // for dmu to keep track of credit | |
474 | input ipcc_ipcs_wrack_lv; // for dmu to keep track of credit | |
475 | output [15:0] ipcs_ipcc_or_dep; // tell the corresponding dependcy is removed | |
476 | output [15:0] ipcs_ipcc_by_dep; | |
477 | output ipcs_ipcc_add_or; | |
478 | output ipcs_ipcc_add_by; | |
479 | ||
480 | //------going to register file ildq------- | |
481 | output [71:0] ipdohq_din; // write data going to the ordered queue | |
482 | output [71:0] ipdbhq_din; // write data going to the bypass queue | |
483 | output [159:0] ipdodq_din; // write data 128 pay load + 16 bit be | |
484 | output [159:0] ipdbdq_din; // write data 128 pay load + 16 bit be | |
485 | ||
486 | // header queues control signals | |
487 | output [3:0] ipcs_ipdohq_wr_addr; //dmu ordered data queue write address | |
488 | output ipcs_ipdohq_wr_en; //dmu ordered data queue write enable | |
489 | output [3:0] ipcs_ipdbhq_wr_addr; //dmu ordered data queue write address | |
490 | output ipcs_ipdbhq_wr_en; //dmu ordered data queue write enable | |
491 | ||
492 | // data queues control signals | |
493 | output [5:0] ipcs_ipdodq_wr_addr; //dmu ordered data queue write address | |
494 | output ipcs_ipdodq_wr_en; //dmu ordered data queue write enable | |
495 | output [5:0] ipcs_ipdbdq_wr_addr; //dmu ordered data queue write address | |
496 | output ipcs_ipdbdq_wr_en; //dmu ordered data queue write enable | |
497 | ||
498 | input dmu_mode; // dmu_mode = 1, all dma rd/wr and interrupt go to order queue | |
499 | // and only PIO read return go to bypass queue | |
500 | input iol2clk; | |
501 | input scan_in ; | |
502 | output scan_out; | |
503 | input tcu_scan_en; | |
504 | input tcu_dbr_gateoff; | |
505 | input tcu_aclk; | |
506 | input tcu_bclk; | |
507 | input tcu_pce_ov; | |
508 | input tcu_clk_stop; | |
509 | ||
510 | //------ mbist related control signals ----- | |
511 | input sii_mb1_ipdodq_wr_en; | |
512 | input sii_mb1_ipdbdq_wr_en; | |
513 | input sii_mb1_ipdohq_wr_en; | |
514 | input sii_mb1_ipdbhq_wr_en; | |
515 | input sii_mb1_run_r; | |
516 | input [5:0] sii_mb1_wr_addr; | |
517 | input [7:0] sii_mb1_wdata; | |
518 | ||
519 | ||
520 | assign se = tcu_scan_en; | |
521 | assign siclk = tcu_aclk; | |
522 | assign soclk = tcu_bclk; | |
523 | assign pce_ov = tcu_pce_ov; | |
524 | assign stop = tcu_clk_stop; | |
525 | ||
526 | reg [6:0] nstate_r; | |
527 | ||
528 | reg [40:0] or_cam0_l; | |
529 | reg [40:0] or_cam1_l; | |
530 | reg [40:0] or_cam2_l; | |
531 | reg [40:0] or_cam3_l; | |
532 | reg [40:0] or_cam4_l; | |
533 | reg [40:0] or_cam5_l; | |
534 | reg [40:0] or_cam6_l; | |
535 | reg [40:0] or_cam7_l; | |
536 | reg [40:0] or_cam8_l; | |
537 | reg [40:0] or_cam9_l; | |
538 | reg [40:0] or_cam10_l; | |
539 | reg [40:0] or_cam11_l; | |
540 | reg [40:0] or_cam12_l; | |
541 | reg [40:0] or_cam13_l; | |
542 | reg [40:0] or_cam14_l; | |
543 | reg [40:0] or_cam15_l; | |
544 | ||
545 | reg [40:0] by_cam0_l; | |
546 | reg [40:0] by_cam1_l; | |
547 | reg [40:0] by_cam2_l; | |
548 | reg [40:0] by_cam3_l; | |
549 | reg [40:0] by_cam4_l; | |
550 | reg [40:0] by_cam5_l; | |
551 | reg [40:0] by_cam6_l; | |
552 | reg [40:0] by_cam7_l; | |
553 | reg [40:0] by_cam8_l; | |
554 | reg [40:0] by_cam9_l; | |
555 | reg [40:0] by_cam10_l; | |
556 | reg [40:0] by_cam11_l; | |
557 | reg [40:0] by_cam12_l; | |
558 | reg [40:0] by_cam13_l; | |
559 | reg [40:0] by_cam14_l; | |
560 | reg [40:0] by_cam15_l; | |
561 | ||
562 | //************************************************************************ | |
563 | // CLOCK HEADER | |
564 | //************************************************************************ | |
565 | sii_ipcs_ctll1clkhdr_ctl_macro clkgen ( | |
566 | .l2clk (iol2clk ), | |
567 | .l1en (1'b1 ), | |
568 | .l1clk (l1clk ), | |
569 | .pce_ov(pce_ov), | |
570 | .stop(stop), | |
571 | .se(se) | |
572 | ); | |
573 | ||
574 | //Spare gates | |
575 | sii_ipcs_ctlspare_ctl_macro__num_20 spares ( | |
576 | .scan_in(spares_scanin), | |
577 | .scan_out(spares_scanout), | |
578 | .l1clk (l1clk), | |
579 | .siclk(siclk), | |
580 | .soclk(soclk) | |
581 | ); | |
582 | ||
583 | //************************************************************************ | |
584 | // UNUSED CONNECTIONS | |
585 | //************************************************************************ | |
586 | assign cmd_grp_4_unused = cmd_grp[4]; | |
587 | assign gt_wrptr_4_unused = gt_wrptr[4]; | |
588 | ||
589 | //************************************************************************ | |
590 | // STATE DEFINITION | |
591 | //************************************************************************ | |
592 | ||
593 | `define START_ST 7'b0000001 | |
594 | `define HDR_ST 7'b0000010 | |
595 | `define HDR_PAYLD_ST 7'b0000100 | |
596 | `define DATA1_ST 7'b0001000 | |
597 | `define DATA2_ST 7'b0010000 | |
598 | `define DATA3_ST 7'b0100000 | |
599 | `define DATA4_ST 7'b1000000 | |
600 | ||
601 | `define START 0 | |
602 | `define HDR 1 | |
603 | `define HDR_PAYLD 2 | |
604 | `define DATA1 3 | |
605 | `define DATA2 4 | |
606 | `define DATA3 5 | |
607 | `define DATA4 6 | |
608 | ||
609 | //************************************************************************ | |
610 | // MBIST SECTIONS | |
611 | //************************************************************************ | |
612 | ||
613 | assign mbist_hdr_data[71:0] = {sii_mb1_wdata[7:0], sii_mb1_wdata[7:0], sii_mb1_wdata[7:0], | |
614 | sii_mb1_wdata[7:0], sii_mb1_wdata[7:0], sii_mb1_wdata[7:0], | |
615 | sii_mb1_wdata[7:0], sii_mb1_wdata[7:0], sii_mb1_wdata[7:0]}; | |
616 | ||
617 | assign mbist_data_data[159:0] = {mbist_hdr_data[15:0], mbist_hdr_data[71:0], mbist_hdr_data[71:0]}; | |
618 | ||
619 | //************************************************************************ | |
620 | // OUTPUT LOGICS | |
621 | //************************************************************************ | |
622 | assign sii_ext_wrack_vld = dmu_wrack_vld & ~tcu_dbr_gateoff; | |
623 | // Flopped to synchronize to IO domain | |
624 | //assign sii_ext_wrack_tag[3:0] = ipcc_ipcs_dmu_tag[3:0]; | |
625 | //assign sii_ext_wrack_parity = ipcc_ipcs_dmu_wrack_p; | |
626 | assign sii_ext_oqdq = ipcc_ipcs_or_go & ~tcu_dbr_gateoff; | |
627 | assign sii_ext_bqdq = ipcc_ipcs_by_go & ~tcu_dbr_gateoff; | |
628 | ||
629 | assign add_or = ~ext_sii_reqbypass_r && ((cstate[`HDR] && l2_io && cmd[0])|| //dma_rd | |
630 | (cstate[`DATA1] && ~l2_io) || //PIO, interrupt | |
631 | (cstate[`DATA4] ) ) ; //dma_wr | |
632 | assign add_by = ext_sii_reqbypass_r && ((cstate[`HDR] && l2_io && cmd[0])|| | |
633 | (cstate[`DATA1] && ~l2_io) || | |
634 | (cstate[`DATA4] ) ) ; | |
635 | assign ipcs_ipcc_or_dep[15:0] = {or_cam15_r[1], or_cam14_r[1], or_cam13_r[1], or_cam12_r[1], | |
636 | or_cam11_r[1], or_cam10_r[1], or_cam9_r[1], or_cam8_r[1], | |
637 | or_cam7_r[1], or_cam6_r[1], or_cam5_r[1], or_cam4_r[1], | |
638 | or_cam3_r[1], or_cam2_r[1], or_cam1_r[1], or_cam0_r[1]}; | |
639 | ||
640 | assign ipcs_ipcc_by_dep[15:0] = {by_cam15_r[1], by_cam14_r[1], by_cam13_r[1], by_cam12_r[1], | |
641 | by_cam11_r[1], by_cam10_r[1], by_cam9_r[1], by_cam8_r[1], | |
642 | by_cam7_r[1], by_cam6_r[1], by_cam5_r[1], by_cam4_r[1], | |
643 | by_cam3_r[1], by_cam2_r[1], by_cam1_r[1], by_cam0_r[1]}; | |
644 | ||
645 | //assign ipdodq_din[159:0] = {8'h00,ext_sii_data[127:0],ext_sii_be[15:0],new_parity[7:0]}; | |
646 | //assign ipdbdq_din[159:0] = {8'h00,ext_sii_data[127:0],ext_sii_be[15:0],new_parity[7:0]}; | |
647 | ||
648 | assign ipdodq_din[159:0] = sii_mb1_run_r ? mbist_data_data[159:0] : | |
649 | {7'h00,ext_sii_be_parity, ext_sii_parity[7:0],ext_sii_be[15:0], | |
650 | ext_sii_data[127:1], ext_sii_datai }; | |
651 | assign ipdbdq_din[159:0] = sii_mb1_run_r ? mbist_data_data[159:0] : | |
652 | {7'h00, ext_sii_be_parity, ext_sii_parity[7:0],ext_sii_be[15:0], | |
653 | ext_sii_data[127:1], ext_sii_datai }; | |
654 | ||
655 | assign ext_sii_datai = ncu_sii_d_pei ^ ext_sii_data[0]; | |
656 | ||
657 | //----- header queue signals ------------------ | |
658 | assign ipcs_ipdohq_wr_addr [3:0] = sii_mb1_run_r ? sii_mb1_wr_addr[3:0] :ipdohq_wr_addr_r[3:0]; | |
659 | assign ipdohq_wr_addr_l[4:0] = (cstate[`HDR] || cstate[`HDR_PAYLD]) && ~ext_sii_reqbypass_r ? | |
660 | (ipdohq_wr_addr_r[4:0] + 5'b00001) : | |
661 | ipdohq_wr_addr_r[4:0]; | |
662 | assign ipcs_ipdohq_wr_en = sii_mb1_run_r? sii_mb1_ipdohq_wr_en : ipcs_ipdohq_wr_en_i; | |
663 | assign ipcs_ipdohq_wr_en_i = (cstate[`HDR] || cstate[`HDR_PAYLD]) && ~ext_sii_reqbypass_r; | |
664 | ||
665 | assign ipcs_ipdbhq_wr_addr[3:0] = sii_mb1_run_r? sii_mb1_wr_addr[3:0] :ipdbhq_wr_addr_r[3:0]; | |
666 | assign ipdbhq_wr_addr_l[4:0] = (cstate[`HDR] || cstate[`HDR_PAYLD]) && ext_sii_reqbypass_r ? | |
667 | (ipdbhq_wr_addr_r[4:0] + 5'b00001) : | |
668 | ipdbhq_wr_addr_r[4:0]; | |
669 | assign ipcs_ipdbhq_wr_en = sii_mb1_run_r ? sii_mb1_ipdbhq_wr_en : ipcs_ipdbhq_wr_en_i; | |
670 | assign ipcs_ipdbhq_wr_en_i = (cstate[`HDR] || cstate[`HDR_PAYLD]) && ext_sii_reqbypass_r; | |
671 | ||
672 | assign ipdohq_din[71:0] = sii_mb1_run_r ? mbist_hdr_data[71:0] : newhdr[71:0]; | |
673 | assign ipdbhq_din[71:0] = sii_mb1_run_r ? mbist_hdr_data[71:0] : newhdr[71:0]; | |
674 | ||
675 | //----- data queues control signals ----------- | |
676 | assign ipcs_ipdodq_wr_addr_l[5:0] = ~ext_sii_reqbypass_r && ((cstate[`HDR_PAYLD] || | |
677 | (cstate[`DATA1] && arc_data1_data2 ) || cstate[`DATA2] | |
678 | || cstate[`DATA3])) ? (ipcs_ipdodq_wr_addr_r[5:0] + 6'b000001) | |
679 | : ipcs_ipdodq_wr_addr_r[5:0]; | |
680 | assign ipcs_ipdodq_wr_addr[5:0] = sii_mb1_run_r ? sii_mb1_wr_addr[5:0] : ipcs_ipdodq_wr_addr_r[5:0]; | |
681 | assign ipcs_ipdodq_wr_en = sii_mb1_run_r ? sii_mb1_ipdodq_wr_en : | |
682 | (~ext_sii_reqbypass_r && (cstate[`HDR_PAYLD] || | |
683 | (cstate[`DATA1] && arc_data1_data2) || cstate[`DATA2] | |
684 | || cstate[`DATA3])); | |
685 | ||
686 | assign ipcs_ipdbdq_wr_addr_l[5:0] = ext_sii_reqbypass_r && ((cstate[`HDR_PAYLD] || | |
687 | (cstate[`DATA1] && arc_data1_data2 ) || cstate[`DATA2] | |
688 | || cstate[`DATA3])) ? (ipcs_ipdbdq_wr_addr_r[5:0] + 6'b000001) | |
689 | : ipcs_ipdbdq_wr_addr_r[5:0]; | |
690 | ||
691 | assign ipcs_ipdbdq_wr_addr[5:0] = sii_mb1_run_r ? sii_mb1_wr_addr[5:0] : ipcs_ipdbdq_wr_addr_r[5:0]; | |
692 | assign ipcs_ipdbdq_wr_en = sii_mb1_run_r ? sii_mb1_ipdbdq_wr_en : | |
693 | (ext_sii_reqbypass_r && (cstate[`HDR_PAYLD] || | |
694 | (cstate[`DATA1] && arc_data1_data2 ) || cstate[`DATA2] | |
695 | || cstate[`DATA3])); | |
696 | ||
697 | //************************************************************************ | |
698 | // internal wires assignment | |
699 | //************************************************************************ | |
700 | assign ext_sii_datareq16_l = ext_sii_hdr_vld ? ext_sii_datareq16 : ext_sii_datareq16_r; | |
701 | assign dmu_sii_reqbypass_l = (ext_sii_hdr_vld) ? ext_sii_reqbypass : | |
702 | ext_sii_reqbypass_r; | |
703 | assign ext_sii_hdr_l[127:0] = (ext_sii_hdr_vld) ? ext_sii_data[127:0] : | |
704 | ext_sii_hdr_r[127:0]; | |
705 | assign newhdr[71:0] = {ctag_ecc[5:0], addr_parity[1:0], cmd_parity, intr, cmd[2:0], l2_io, posted, id[15:0], timeout, | |
706 | unmap, uncor, pa[37:0]}; | |
707 | ||
708 | assign cmd[2:0] = ((cmd_grp[3] == 1'b1) && (cmd_grp[1:0]== 2'b10)) ? 3'b001 : | |
709 | (~cmd_grp[5] && (cmd_grp[3:0] == 4'b0010)) ? 3'b100 : 3'b010; | |
710 | assign l2_io = ext_sii_hdr_r[123]; | |
711 | assign posted = ext_sii_hdr_r[126]; | |
712 | assign intr = (ext_sii_hdr_r[127:122] == 6'b000001) ? 1'b1 : 1'b0; | |
713 | assign timeout = ext_sii_hdr_r[82]; | |
714 | assign unmap = ext_sii_hdr_r[81]; | |
715 | assign uncor = ext_sii_hdr_r[80]; | |
716 | assign id[15:0] = ncu_sii_ctag_uei ? {ext_sii_hdr_r[79:66], ~ext_sii_hdr_r[65], ~ext_sii_hdr_r[64]} : | |
717 | ncu_sii_ctag_cei ? {ext_sii_hdr_r[79:65], ~ext_sii_hdr_r[64]} :ext_sii_hdr_r[79:64]; | |
718 | assign pa[37:0] = { ext_sii_hdr_r[39:10], ncu_sii_a_pei ^ ext_sii_hdr_r[9], ext_sii_hdr_r[8:2]} ; | |
719 | assign cmd_grp[5:0] = {ext_sii_hdr_r[127:122]}; | |
720 | assign ctag_ecc[5:0] = ext_sii_hdr_r[61:56]; | |
721 | assign addr_parity[1:0] = ext_sii_hdr_r[84:83]; | |
722 | ||
723 | assign cmd_parity_ori = ^ cmd_grp[5:0] ^ ext_sii_hdr_r[62]; | |
724 | ||
725 | assign cmd_parity = cmd[2] ^ cmd[1] ^ cmd[0] ^ intr ^ l2_io ^ cmd_parity_ori ; | |
726 | ||
727 | //------------------------------------------------------------------------ | |
728 | // Duplicate Address registers and tag depedency | |
729 | //------------------------------------------------------------------------ | |
730 | // Set the last write pointer in both queues , the msb bit[4] is valid it | |
731 | // Whenever ipcc dequeue a write transaction , if the address matched last_write ptr, | |
732 | // the last write pointer will be invalidate, meaning there is no more write | |
733 | // transactons in the queue. | |
734 | ||
735 | assign last_or_wr_l[4] = ipcc_ipcs_or_go && | |
736 | (ipcc_ipcs_or_raddr[3:0] == last_or_wr_r[3:0]) ? 1'b0 : | |
737 | last_or_wr_r[4] ; | |
738 | assign last_or_wr_l[3:0] = (ipcs_ipdohq_wr_en_i && w_r) ? ipdohq_wr_addr_r[3:0] : | |
739 | last_or_wr_r[3:0]; | |
740 | ||
741 | assign last_by_wr_l[4] = ipcc_ipcs_by_go && | |
742 | (ipcc_ipcs_by_raddr[3:0] == last_by_wr_r[3:0]) ? 1'b0 : | |
743 | last_by_wr_r[4] ; | |
744 | assign last_by_wr_l[3:0] = (ipcs_ipdbhq_wr_en_i && w_r) ? ipdbhq_wr_addr_r[3:0] : | |
745 | last_by_wr_r[3:0]; | |
746 | ||
747 | //------------------------------------------------------------------------ | |
748 | // ADDIDNG ENTRY INTO THE DUPLICATE ADDRESS REGISTER | |
749 | //------------------------------------------------------------------------ | |
750 | // In DMU mode, all the transaction are in strict order regardless of order | |
751 | // or bypass queue, so the dependency pointer is always pointing to the | |
752 | // youngest transaction in the other queue. | |
753 | // | |
754 | // cam_l[40:7] = 34-bit physical address | |
755 | // cam_l[6:3] = pointer to the dependency transaction in the other queue | |
756 | // cam_l[2] = 1 write, 0 read | |
757 | // cam_l[1] = 1 depend on dequeue of transaction in the other queue, 0 free to go | |
758 | // cam_l[0] = valid bit. 1= valid, 0=not valid | |
759 | ||
760 | assign addr[33:0] = ext_sii_hdr_r[39:6]; //cache line address | |
761 | assign ptr[3:0] = dmu_mode ? dmu_ptr[3:0] : niu_ptr[3:0]; | |
762 | assign niu_ptr[3:0] = ext_sii_reqbypass_r ? youngest_match[3:0] : youngest_dep[3:0]; | |
763 | assign dmu_ptr[3:0] = ext_sii_reqbypass_r ? dmu_or_ptr[3:0] | |
764 | : dmu_by_ptr[3:0]; | |
765 | assign dmu_or_ptr_l[3:0] = ipcs_ipdohq_wr_en_i ? ipdohq_wr_addr_r[3:0] | |
766 | : dmu_or_ptr[3:0]; | |
767 | assign dmu_by_ptr_l[3:0] = ipcs_ipdbhq_wr_en_i ? ipdbhq_wr_addr_r[3:0] | |
768 | : dmu_by_ptr[3:0]; | |
769 | assign w_r = cmd[1] || cmd[2] ; | |
770 | assign niu_dep = address_matched ? 1'b1 : ext_sii_reqbypass_r ? 1'b0 : | |
771 | last_wrptr[4] ; //dependency bit | |
772 | ||
773 | assign dmu_dep = ext_sii_reqbypass_r ? or_qvalid : by_qvalid; | |
774 | //assign dmu_dep = (dmu_ptr[3:0] ==4'b0) ? head_q_v : 1'b1; | |
775 | //assign head_q_v = ext_sii_reqbypass_r ? or_cam0_v : by_cam0_v; | |
776 | assign dep = dmu_mode ? dmu_dep : niu_dep; | |
777 | assign cam_l[40:0] = {addr[33:0], ptr[3:0], w_r, dep, 1'b1}; | |
778 | ||
779 | //-------------------------------------------------------------------------------------- | |
780 | // Address comparison logic | |
781 | //-------------------------------------------------------------------------------------- | |
782 | // find the entry with cacheline match and is valid (not yet dequeue) | |
783 | assign match0 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam0_r[40:7]) ? by_cam0_v | |
784 | : 1'b0) : ((addr[33:0] == or_cam0_r[40:7]) ? or_cam0_v : 1'b0)) ; | |
785 | assign match1 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam1_r[40:7]) ? by_cam1_v | |
786 | : 1'b0) : ((addr[33:0] == or_cam1_r[40:7]) ? or_cam1_v : 1'b0)) ; | |
787 | assign match2 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam2_r[40:7]) ? by_cam2_v | |
788 | : 1'b0) : ((addr[33:0] == or_cam2_r[40:7]) ? or_cam2_v : 1'b0)) ; | |
789 | assign match3 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam3_r[40:7]) ? by_cam3_v | |
790 | : 1'b0) : ((addr[33:0] == or_cam3_r[40:7]) ? or_cam3_v : 1'b0)) ; | |
791 | assign match4 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam4_r[40:7]) ? by_cam4_v | |
792 | : 1'b0) : ((addr[33:0] == or_cam4_r[40:7]) ? or_cam4_v : 1'b0)) ; | |
793 | assign match5 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam5_r[40:7]) ? by_cam5_v | |
794 | : 1'b0) : ((addr[33:0] == or_cam5_r[40:7]) ? or_cam5_v : 1'b0)) ; | |
795 | assign match6 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam6_r[40:7]) ? by_cam6_v | |
796 | : 1'b0) : ((addr[33:0] == or_cam6_r[40:7]) ? or_cam6_v : 1'b0)) ; | |
797 | assign match7 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam7_r[40:7]) ? by_cam7_v | |
798 | : 1'b0) : ((addr[33:0] == or_cam7_r[40:7]) ? or_cam7_v : 1'b0)) ; | |
799 | assign match8 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam8_r[40:7]) ? by_cam8_v | |
800 | : 1'b0) : ((addr[33:0] == or_cam8_r[40:7]) ? or_cam8_v : 1'b0)) ; | |
801 | assign match9 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam9_r[40:7]) ? by_cam9_v | |
802 | : 1'b0) : ((addr[33:0] == or_cam9_r[40:7]) ? or_cam9_v : 1'b0)) ; | |
803 | assign match10 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam10_r[40:7]) ? by_cam10_v | |
804 | : 1'b0) : ((addr[33:0] == or_cam10_r[40:7]) ? or_cam10_v : 1'b0)) ; | |
805 | assign match11 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam11_r[40:7]) ? by_cam11_v | |
806 | : 1'b0) : ((addr[33:0] == or_cam11_r[40:7]) ? or_cam11_v : 1'b0)) ; | |
807 | assign match12 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam12_r[40:7]) ? by_cam12_v | |
808 | : 1'b0) : ((addr[33:0] == or_cam12_r[40:7]) ? or_cam12_v : 1'b0)) ; | |
809 | assign match13 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam13_r[40:7]) ? by_cam13_v | |
810 | : 1'b0) : ((addr[33:0] == or_cam13_r[40:7]) ? or_cam13_v : 1'b0)) ; | |
811 | assign match14 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam14_r[40:7]) ? by_cam14_v | |
812 | : 1'b0) : ((addr[33:0] == or_cam14_r[40:7]) ? or_cam14_v : 1'b0)) ; | |
813 | assign match15 = (~ext_sii_reqbypass_r ? ((addr[33:0] == by_cam15_r[40:7]) ? by_cam15_v | |
814 | : 1'b0) : ((addr[33:0] == or_cam15_r[40:7]) ? or_cam15_v : 1'b0)) ; | |
815 | ||
816 | // validate the bypass queue cam entery | |
817 | ||
818 | assign by_cam0_v = by_cam0_r[0] && ~by_clr_v0; | |
819 | assign by_cam1_v = by_cam1_r[0] && ~by_clr_v1; | |
820 | assign by_cam2_v = by_cam2_r[0] && ~by_clr_v2; | |
821 | assign by_cam3_v = by_cam3_r[0] && ~by_clr_v3; | |
822 | assign by_cam4_v = by_cam4_r[0] && ~by_clr_v4; | |
823 | assign by_cam5_v = by_cam5_r[0] && ~by_clr_v5; | |
824 | assign by_cam6_v = by_cam6_r[0] && ~by_clr_v6; | |
825 | assign by_cam7_v = by_cam7_r[0] && ~by_clr_v7; | |
826 | assign by_cam8_v = by_cam8_r[0] && ~by_clr_v8; | |
827 | assign by_cam9_v = by_cam9_r[0] && ~by_clr_v9; | |
828 | assign by_cam10_v = by_cam10_r[0] && ~by_clr_v10; | |
829 | assign by_cam11_v = by_cam11_r[0] && ~by_clr_v11; | |
830 | assign by_cam12_v = by_cam12_r[0] && ~by_clr_v12; | |
831 | assign by_cam13_v = by_cam13_r[0] && ~by_clr_v13; | |
832 | assign by_cam14_v = by_cam14_r[0] && ~by_clr_v14; | |
833 | assign by_cam15_v = by_cam15_r[0] && ~by_clr_v15; | |
834 | ||
835 | // find out if there is valid entry in the order queue | |
836 | assign or_qvalid = or_cam0_v || or_cam1_v || or_cam2_v || or_cam3_v | |
837 | || or_cam4_v || or_cam5_v || or_cam6_v || or_cam7_v | |
838 | || or_cam8_v || or_cam9_v || or_cam10_v || or_cam11_v | |
839 | || or_cam12_v || or_cam13_v || or_cam14_v || or_cam15_v; | |
840 | ||
841 | // find out if there is valid entry in the bypass queue | |
842 | assign by_qvalid = by_cam0_v || by_cam1_v || by_cam2_v || by_cam3_v | |
843 | || by_cam4_v || by_cam5_v || by_cam6_v || by_cam7_v | |
844 | || by_cam8_v || by_cam9_v || by_cam10_v || by_cam11_v | |
845 | || by_cam12_v || by_cam13_v || by_cam14_v || by_cam15_v; | |
846 | ||
847 | // validate order queue cam entry | |
848 | assign or_cam0_v = or_cam0_r[0] && ~or_clr_v0; | |
849 | assign or_cam1_v = or_cam1_r[0] && ~or_clr_v1; | |
850 | assign or_cam2_v = or_cam2_r[0] && ~or_clr_v2; | |
851 | assign or_cam3_v = or_cam3_r[0] && ~or_clr_v3; | |
852 | assign or_cam4_v = or_cam4_r[0] && ~or_clr_v4; | |
853 | assign or_cam5_v = or_cam5_r[0] && ~or_clr_v5; | |
854 | assign or_cam6_v = or_cam6_r[0] && ~or_clr_v6; | |
855 | assign or_cam7_v = or_cam7_r[0] && ~or_clr_v7; | |
856 | assign or_cam8_v = or_cam8_r[0] && ~or_clr_v8; | |
857 | assign or_cam9_v = or_cam9_r[0] && ~or_clr_v9; | |
858 | assign or_cam10_v = or_cam10_r[0] && ~or_clr_v10; | |
859 | assign or_cam11_v = or_cam11_r[0] && ~or_clr_v11; | |
860 | assign or_cam12_v = or_cam12_r[0] && ~or_clr_v12; | |
861 | assign or_cam13_v = or_cam13_r[0] && ~or_clr_v13; | |
862 | assign or_cam14_v = or_cam14_r[0] && ~or_clr_v14; | |
863 | assign or_cam15_v = or_cam15_r[0] && ~or_clr_v15; | |
864 | ||
865 | // find the youngest dependcy pointer from the other queue | |
866 | assign last_wrptr[4:0] = ext_sii_reqbypass_r ? last_or_wr_r[4:0] : last_by_wr_r[4:0]; | |
867 | ||
868 | assign wpt[3:0] = ext_sii_reqbypass_r ? ipdohq_wr_addr_r[3:0] | |
869 | : ipdbhq_wr_addr_r[3:0]; //cur wr pointer of other queue | |
870 | assign youngest_dep[3:0] = ~last_wrptr[4] ? youngest_match[3:0] : | |
871 | (wpt[3:0] == youngest_match[3:0]) ? youngest_match[3:0] : | |
872 | (wpt[3:0] == last_wrptr[3:0]) ? last_wrptr[3:0] : | |
873 | ((wpt[3:0] > last_wrptr[3:0]) && (wpt[3:0] < youngest_match[3:0])) | |
874 | ? last_wrptr[3:0] : | |
875 | ((wpt[3:0] < last_wrptr[3:0]) && (wpt[3:0] > youngest_match[3:0])) | |
876 | ? youngest_match[3:0] : | |
877 | ( youngest_match[3:0]> last_wrptr[3:0]) ? youngest_match[3:0] : | |
878 | last_wrptr[3:0]; | |
879 | ||
880 | // find if there is at least one cacheline address match | |
881 | assign address_matched = match0 || match1 || match2 || match3 || match4 || | |
882 | match5 || match6 || match7 || match8 || match9 || | |
883 | match10 || match11 || match12 || match13 || match14 || match15; | |
884 | ||
885 | // find the youngest matched address pointer from the right queue | |
886 | assign youngest_match[3:0] = (lt_wrptr[4]) ? lt_wrptr[3:0] : gt_wrptr[3:0]; | |
887 | ||
888 | assign gt_wrptr[4:0] = (match15 && (wpt[3:0] < 4'b1111)) ? 5'b11111 : | |
889 | (match14 && (wpt[3:0] < 4'b1110)) ? 5'b11110 : | |
890 | (match13 && (wpt[3:0] < 4'b1101)) ? 5'b11101 : | |
891 | (match12 && (wpt[3:0] < 4'b1100)) ? 5'b11100 : | |
892 | (match11 && (wpt[3:0] < 4'b1011)) ? 5'b11011 : | |
893 | (match10 && (wpt[3:0] < 4'b1010)) ? 5'b11010 : | |
894 | (match9 && (wpt[3:0] < 4'b1001)) ? 5'b11001 : | |
895 | (match8 && (wpt[3:0] < 4'b1000)) ? 5'b11000 : | |
896 | (match7 && (wpt[3:0] < 4'b0111)) ? 5'b10111 : | |
897 | (match6 && (wpt[3:0] < 4'b0110)) ? 5'b10110 : | |
898 | (match5 && (wpt[3:0] < 4'b0101)) ? 5'b10101 : | |
899 | (match4 && (wpt[3:0] < 4'b0100)) ? 5'b10100 : | |
900 | (match3 && (wpt[3:0] < 4'b0011)) ? 5'b10011 : | |
901 | (match2 && (wpt[3:0] < 4'b0010)) ? 5'b10010 : | |
902 | (match1 && (wpt[3:0] < 4'b0001)) ? 5'b10001 : | |
903 | (match0 && (wpt[3:0] == 4'b0000)) ? 5'b10000 : 5'b00000; | |
904 | ||
905 | ||
906 | assign lt_wrptr[4:0] = (match15 && (wpt[3:0] == 4'b1111)) ? 5'b11111 : | |
907 | (match14 && (wpt[3:0] > 4'b1110)) ? 5'b11110 : | |
908 | (match13 && (wpt[3:0] > 4'b1101)) ? 5'b11101 : | |
909 | (match12 && (wpt[3:0] > 4'b1100)) ? 5'b11100 : | |
910 | (match11 && (wpt[3:0] > 4'b1011)) ? 5'b11011 : | |
911 | (match10 && (wpt[3:0] > 4'b1010)) ? 5'b11010 : | |
912 | (match9 && (wpt[3:0] > 4'b1001)) ? 5'b11001 : | |
913 | (match8 && (wpt[3:0] > 4'b1000)) ? 5'b11000 : | |
914 | (match7 && (wpt[3:0] > 4'b0111)) ? 5'b10111 : | |
915 | (match6 && (wpt[3:0] > 4'b0110)) ? 5'b10110 : | |
916 | (match5 && (wpt[3:0] > 4'b0101)) ? 5'b10101 : | |
917 | (match4 && (wpt[3:0] > 4'b0100)) ? 5'b10100 : | |
918 | (match3 && (wpt[3:0] > 4'b0011)) ? 5'b10011 : | |
919 | (match2 && (wpt[3:0] > 4'b0010)) ? 5'b10010 : | |
920 | (match1 && (wpt[3:0] > 4'b0001)) ? 5'b10001 : | |
921 | (match0 && (wpt[3:0] > 4'b0000)) ? 5'b10000 : 5'b00000; | |
922 | ||
923 | //************************************************************************ | |
924 | // STATE TRANSITION SECTION | |
925 | //************************************************************************ | |
926 | //0in one_hot -var cstate[6:0] | |
927 | //0in one_hot -var nstate_r[6:0] | |
928 | ||
929 | assign nstate[6:0] = {nstate_r[6:1], ~nstate_r[0]}; | |
930 | assign cstate[6:0] = {cstate_r[6:1], ~cstate_r[0]}; | |
931 | assign arc_start_hdr = cstate[`START] && ext_sii_hdr_vld && ~ext_sii_datareq; | |
932 | assign arc_start_hdrpayld = cstate[`START] && ext_sii_hdr_vld && ext_sii_datareq; | |
933 | assign arc_hdr_hdrpayld = cstate[`HDR] && ext_sii_hdr_vld && ext_sii_datareq; | |
934 | assign arc_hdr_hdr = cstate[`HDR] && ext_sii_hdr_vld && ~ext_sii_datareq; | |
935 | assign arc_hdrpayld_data1 = cstate[`HDR_PAYLD] ; | |
936 | assign arc_data1_hdrpayld = cstate[`DATA1] && | |
937 | ext_sii_hdr_vld && ext_sii_datareq; | |
938 | assign arc_data1_hdr = cstate[`DATA1] && | |
939 | ext_sii_hdr_vld && ~ext_sii_datareq; | |
940 | assign arc_data1_data2 = cstate[`DATA1] && ~ext_sii_datareq16_r; //record the current transaction | |
941 | //assign arc_data1_data2 = cstate[`DATA1]; | |
942 | assign arc_data2_data3 = cstate[`DATA2]; | |
943 | assign arc_data3_data4 = cstate[`DATA3]; | |
944 | assign arc_data4_hdr = cstate[`DATA4] && ext_sii_hdr_vld && ~ext_sii_datareq; | |
945 | assign arc_data4_hdrpayld = cstate[`DATA4] && ext_sii_hdr_vld && ext_sii_datareq; | |
946 | ||
947 | always @ (arc_start_hdr or arc_start_hdrpayld or arc_hdr_hdrpayld or | |
948 | arc_hdr_hdr or arc_hdrpayld_data1 or arc_data1_hdrpayld or | |
949 | arc_data1_hdr or arc_data1_data2 or arc_data2_data3 or | |
950 | arc_data3_data4 or arc_data4_hdr or arc_data4_hdrpayld or | |
951 | cstate) | |
952 | ||
953 | begin | |
954 | case (1'b1) //synopsys parallel_case full_case | |
955 | cstate[`START] : if (arc_start_hdr) | |
956 | nstate_r = `HDR_ST; | |
957 | else if (arc_start_hdrpayld) | |
958 | nstate_r = `HDR_PAYLD_ST; | |
959 | else | |
960 | nstate_r = `START_ST; | |
961 | cstate[`HDR] : if (arc_hdr_hdrpayld) | |
962 | nstate_r = `HDR_PAYLD_ST; | |
963 | else if (arc_hdr_hdr) | |
964 | nstate_r = `HDR_ST; | |
965 | else | |
966 | nstate_r = `START_ST; | |
967 | cstate[`HDR_PAYLD] : if (arc_hdrpayld_data1) | |
968 | nstate_r = `DATA1_ST; | |
969 | else | |
970 | nstate_r = `START_ST; | |
971 | cstate[`DATA1] : if (arc_data1_data2) | |
972 | nstate_r = `DATA2_ST; | |
973 | else if (arc_data1_hdr) | |
974 | nstate_r = `HDR_ST; | |
975 | else if (arc_data1_hdrpayld) | |
976 | nstate_r = `HDR_PAYLD_ST; | |
977 | else | |
978 | nstate_r = `START_ST; | |
979 | cstate[`DATA2] : if (arc_data2_data3) | |
980 | nstate_r = `DATA3_ST; | |
981 | else | |
982 | nstate_r = `START_ST; | |
983 | cstate[`DATA3] : if (arc_data3_data4) | |
984 | nstate_r = `DATA4_ST; | |
985 | else | |
986 | nstate_r = `START_ST; | |
987 | cstate[`DATA4] : if (arc_data4_hdr) | |
988 | nstate_r = `HDR_ST; | |
989 | else if (arc_data4_hdrpayld) | |
990 | nstate_r = `HDR_PAYLD_ST; | |
991 | else | |
992 | nstate_r = `START_ST; | |
993 | default : begin | |
994 | // 0in < fire -message "ERROR : sii_ipcs state machine default case" | |
995 | nstate_r = `START_ST; | |
996 | end | |
997 | ||
998 | endcase | |
999 | end | |
1000 | ||
1001 | //-------------------------------------------------------------------------------------- | |
1002 | // Clear Valid Signal for CAM (Ordered) | |
1003 | //-------------------------------------------------------------------------------------- | |
1004 | assign or_clr_v0 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h0)) ? | |
1005 | 1'b1 : 1'b0; | |
1006 | assign or_clr_v1 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h1)) ? | |
1007 | 1'b1 : 1'b0; | |
1008 | assign or_clr_v2 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h2)) ? | |
1009 | 1'b1 : 1'b0; | |
1010 | assign or_clr_v3 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h3)) ? | |
1011 | 1'b1 : 1'b0; | |
1012 | assign or_clr_v4 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h4)) ? | |
1013 | 1'b1 : 1'b0; | |
1014 | assign or_clr_v5 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h5)) ? | |
1015 | 1'b1 : 1'b0; | |
1016 | assign or_clr_v6 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h6)) ? | |
1017 | 1'b1 : 1'b0; | |
1018 | assign or_clr_v7 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h7)) ? | |
1019 | 1'b1 : 1'b0; | |
1020 | assign or_clr_v8 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h8)) ? | |
1021 | 1'b1 : 1'b0; | |
1022 | assign or_clr_v9 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'h9)) ? | |
1023 | 1'b1 : 1'b0; | |
1024 | assign or_clr_v10 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'hA)) ? | |
1025 | 1'b1 : 1'b0; | |
1026 | assign or_clr_v11 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'hB)) ? | |
1027 | 1'b1 : 1'b0; | |
1028 | assign or_clr_v12 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'hC)) ? | |
1029 | 1'b1 : 1'b0; | |
1030 | assign or_clr_v13 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'hD)) ? | |
1031 | 1'b1 : 1'b0; | |
1032 | assign or_clr_v14 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'hE)) ? | |
1033 | 1'b1 : 1'b0; | |
1034 | assign or_clr_v15 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == 4'hF)) ? | |
1035 | 1'b1 : 1'b0; | |
1036 | ||
1037 | //-------------------------------------------------------------------------------------- | |
1038 | // Clear Valid Signal for CAM (Bypass) | |
1039 | //-------------------------------------------------------------------------------------- | |
1040 | assign by_clr_v0 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h0)) ? | |
1041 | 1'b1 : 1'b0; | |
1042 | assign by_clr_v1 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h1)) ? | |
1043 | 1'b1 : 1'b0; | |
1044 | assign by_clr_v2 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h2)) ? | |
1045 | 1'b1 : 1'b0; | |
1046 | assign by_clr_v3 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h3)) ? | |
1047 | 1'b1 : 1'b0; | |
1048 | assign by_clr_v4 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h4)) ? | |
1049 | 1'b1 : 1'b0; | |
1050 | assign by_clr_v5 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h5)) ? | |
1051 | 1'b1 : 1'b0; | |
1052 | assign by_clr_v6 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h6)) ? | |
1053 | 1'b1 : 1'b0; | |
1054 | assign by_clr_v7 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h7)) ? | |
1055 | 1'b1 : 1'b0; | |
1056 | assign by_clr_v8 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h8)) ? | |
1057 | 1'b1 : 1'b0; | |
1058 | assign by_clr_v9 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'h9)) ? | |
1059 | 1'b1 : 1'b0; | |
1060 | assign by_clr_v10 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'hA)) ? | |
1061 | 1'b1 : 1'b0; | |
1062 | assign by_clr_v11 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'hB)) ? | |
1063 | 1'b1 : 1'b0; | |
1064 | assign by_clr_v12 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'hC)) ? | |
1065 | 1'b1 : 1'b0; | |
1066 | assign by_clr_v13 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'hD)) ? | |
1067 | 1'b1 : 1'b0; | |
1068 | assign by_clr_v14 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'hE)) ? | |
1069 | 1'b1 : 1'b0; | |
1070 | assign by_clr_v15 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == 4'hF)) ? | |
1071 | 1'b1 : 1'b0; | |
1072 | ||
1073 | //-------------------------------------------------------------------------------------- | |
1074 | // Clear Dependency bit for CAM (Ordered) | |
1075 | //-------------------------------------------------------------------------------------- | |
1076 | assign or_clr_d0 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam0_r[6:3])) | |
1077 | ? 1'b1 : 1'b0; | |
1078 | assign or_clr_d1 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam1_r[6:3])) | |
1079 | ? 1'b1 : 1'b0; | |
1080 | assign or_clr_d2 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam2_r[6:3])) | |
1081 | ? 1'b1 : 1'b0; | |
1082 | assign or_clr_d3 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam3_r[6:3])) | |
1083 | ? 1'b1 : 1'b0; | |
1084 | assign or_clr_d4 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam4_r[6:3])) | |
1085 | ? 1'b1 : 1'b0; | |
1086 | assign or_clr_d5 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam5_r[6:3])) | |
1087 | ? 1'b1 : 1'b0; | |
1088 | assign or_clr_d6 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam6_r[6:3])) | |
1089 | ? 1'b1 : 1'b0; | |
1090 | assign or_clr_d7 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam7_r[6:3])) | |
1091 | ? 1'b1 : 1'b0; | |
1092 | assign or_clr_d8 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam8_r[6:3])) | |
1093 | ? 1'b1 : 1'b0; | |
1094 | assign or_clr_d9 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam9_r[6:3])) | |
1095 | ? 1'b1 : 1'b0; | |
1096 | assign or_clr_d10 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam10_r[6:3])) | |
1097 | ? 1'b1 : 1'b0; | |
1098 | assign or_clr_d11 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam11_r[6:3])) | |
1099 | ? 1'b1 : 1'b0; | |
1100 | assign or_clr_d12 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam12_r[6:3])) | |
1101 | ? 1'b1 : 1'b0; | |
1102 | assign or_clr_d13 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam13_r[6:3])) | |
1103 | ? 1'b1 : 1'b0; | |
1104 | assign or_clr_d14 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam14_r[6:3])) | |
1105 | ? 1'b1 : 1'b0; | |
1106 | assign or_clr_d15 = (ipcc_ipcs_by_go && (ipcc_ipcs_by_raddr[3:0] == or_cam15_r[6:3])) | |
1107 | ? 1'b1 : 1'b0; | |
1108 | ||
1109 | //-------------------------------------------------------------------------------------- | |
1110 | // Clear Dependency bit for CAM (Bypass) | |
1111 | //-------------------------------------------------------------------------------------- | |
1112 | assign by_clr_d0 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam0_r[6:3])) | |
1113 | ? 1'b1 : 1'b0; | |
1114 | assign by_clr_d1 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam1_r[6:3])) | |
1115 | ? 1'b1 : 1'b0; | |
1116 | assign by_clr_d2 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam2_r[6:3])) | |
1117 | ? 1'b1 : 1'b0; | |
1118 | assign by_clr_d3 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam3_r[6:3])) | |
1119 | ? 1'b1 : 1'b0; | |
1120 | assign by_clr_d4 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam4_r[6:3])) | |
1121 | ? 1'b1 : 1'b0; | |
1122 | assign by_clr_d5 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam5_r[6:3])) | |
1123 | ? 1'b1 : 1'b0; | |
1124 | assign by_clr_d6 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam6_r[6:3])) | |
1125 | ? 1'b1 : 1'b0; | |
1126 | assign by_clr_d7 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam7_r[6:3])) | |
1127 | ? 1'b1 : 1'b0; | |
1128 | assign by_clr_d8 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam8_r[6:3])) | |
1129 | ? 1'b1 : 1'b0; | |
1130 | assign by_clr_d9 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam9_r[6:3])) | |
1131 | ? 1'b1 : 1'b0; | |
1132 | assign by_clr_d10 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam10_r[6:3])) | |
1133 | ? 1'b1 : 1'b0; | |
1134 | assign by_clr_d11 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam11_r[6:3])) | |
1135 | ? 1'b1 : 1'b0; | |
1136 | assign by_clr_d12 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam12_r[6:3])) | |
1137 | ? 1'b1 : 1'b0; | |
1138 | assign by_clr_d13 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam13_r[6:3])) | |
1139 | ? 1'b1 : 1'b0; | |
1140 | assign by_clr_d14 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam14_r[6:3])) | |
1141 | ? 1'b1 : 1'b0; | |
1142 | assign by_clr_d15 = (ipcc_ipcs_or_go && (ipcc_ipcs_or_raddr[3:0] == by_cam15_r[6:3])) | |
1143 | ? 1'b1 : 1'b0; | |
1144 | ||
1145 | //-------------------------------------------------------------------------------------- | |
1146 | // Register write section (Ordered) | |
1147 | //-------------------------------------------------------------------------------------- | |
1148 | ||
1149 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1150 | or_clr_v0 or or_clr_d0 or or_cam0_r[40:0]) | |
1151 | if ((ipdohq_wr_addr_r[3:0] == 4'b0000) && ipcs_ipdohq_wr_en_i) | |
1152 | or_cam0_l[40:0] = cam_l[40:0]; | |
1153 | else if (or_clr_v0) | |
1154 | or_cam0_l[40:0] = {or_cam0_r[40:1],1'b0}; | |
1155 | else if (or_clr_d0) | |
1156 | or_cam0_l[40:0] = {or_cam0_r[40:2],1'b0, or_cam0_r[0]}; | |
1157 | else | |
1158 | or_cam0_l[40:0] = or_cam0_r[40:0]; | |
1159 | ||
1160 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1161 | or_clr_v1 or or_clr_d1 or or_cam1_r[40:0]) | |
1162 | if ((ipdohq_wr_addr_r[3:0] == 4'b0001) && ipcs_ipdohq_wr_en_i) | |
1163 | or_cam1_l[40:0] = cam_l[40:0]; | |
1164 | else if (or_clr_v1) | |
1165 | or_cam1_l[40:0] = {or_cam1_r[40:1],1'b0}; | |
1166 | else if (or_clr_d1) | |
1167 | or_cam1_l[40:0] = {or_cam1_r[40:2],1'b0, or_cam1_r[0]}; | |
1168 | else | |
1169 | or_cam1_l[40:0] = or_cam1_r[40:0]; | |
1170 | ||
1171 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1172 | or_clr_v2 or or_clr_d2 or or_cam2_r[40:0]) | |
1173 | if ((ipdohq_wr_addr_r[3:0] == 4'b0010) && ipcs_ipdohq_wr_en_i) | |
1174 | or_cam2_l[40:0] = cam_l[40:0]; | |
1175 | else if (or_clr_v2) | |
1176 | or_cam2_l[40:0] = {or_cam2_r[40:1],1'b0}; | |
1177 | else if (or_clr_d2) | |
1178 | or_cam2_l[40:0] = {or_cam2_r[40:2],1'b0, or_cam2_r[0]}; | |
1179 | else | |
1180 | or_cam2_l[40:0] = or_cam2_r[40:0]; | |
1181 | ||
1182 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1183 | or_clr_v3 or or_clr_d3 or or_cam3_r[40:0]) | |
1184 | if ((ipdohq_wr_addr_r[3:0] == 4'b0011) && ipcs_ipdohq_wr_en_i) | |
1185 | or_cam3_l[40:0] = cam_l[40:0]; | |
1186 | else if (or_clr_v3) | |
1187 | or_cam3_l[40:0] = {or_cam3_r[40:1],1'b0}; | |
1188 | else if (or_clr_d3) | |
1189 | or_cam3_l[40:0] = {or_cam3_r[40:2],1'b0, or_cam3_r[0]}; | |
1190 | else | |
1191 | or_cam3_l[40:0] = or_cam3_r[40:0]; | |
1192 | ||
1193 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1194 | or_clr_v4 or or_clr_d4 or or_cam4_r[40:0]) | |
1195 | if ((ipdohq_wr_addr_r[3:0] == 4'b0100) && ipcs_ipdohq_wr_en_i) | |
1196 | or_cam4_l[40:0] = cam_l[40:0]; | |
1197 | else if (or_clr_v4) | |
1198 | or_cam4_l[40:0] = {or_cam4_r[40:1],1'b0}; | |
1199 | else if (or_clr_d4) | |
1200 | or_cam4_l[40:0] = {or_cam4_r[40:2],1'b0, or_cam4_r[0]}; | |
1201 | else | |
1202 | or_cam4_l[40:0] = or_cam4_r[40:0]; | |
1203 | ||
1204 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1205 | or_clr_v5 or or_clr_d5 or or_cam5_r[40:0]) | |
1206 | if ((ipdohq_wr_addr_r[3:0] == 4'b0101) && ipcs_ipdohq_wr_en_i) | |
1207 | or_cam5_l[40:0] = cam_l[40:0]; | |
1208 | else if (or_clr_v5) | |
1209 | or_cam5_l[40:0] = {or_cam5_r[40:1],1'b0}; | |
1210 | else if (or_clr_d5) | |
1211 | or_cam5_l[40:0] = {or_cam5_r[40:2],1'b0, or_cam5_r[0]}; | |
1212 | else | |
1213 | or_cam5_l[40:0] = or_cam5_r[40:0]; | |
1214 | ||
1215 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1216 | or_clr_v6 or or_clr_d6 or or_cam6_r[40:0]) | |
1217 | if ((ipdohq_wr_addr_r[3:0] == 4'b0110) && ipcs_ipdohq_wr_en_i) | |
1218 | or_cam6_l[40:0] = cam_l[40:0]; | |
1219 | else if (or_clr_v6) | |
1220 | or_cam6_l[40:0] = {or_cam6_r[40:1],1'b0}; | |
1221 | else if (or_clr_d6) | |
1222 | or_cam6_l[40:0] = {or_cam6_r[40:2],1'b0, or_cam6_r[0]}; | |
1223 | else | |
1224 | or_cam6_l[40:0] = or_cam6_r[40:0]; | |
1225 | ||
1226 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1227 | or_clr_v7 or or_clr_d7 or or_cam7_r[40:0]) | |
1228 | if ((ipdohq_wr_addr_r[3:0] == 4'b0111) && ipcs_ipdohq_wr_en_i) | |
1229 | or_cam7_l[40:0] = cam_l[40:0]; | |
1230 | else if (or_clr_v7) | |
1231 | or_cam7_l[40:0] = {or_cam7_r[40:1],1'b0}; | |
1232 | else if (or_clr_d7) | |
1233 | or_cam7_l[40:0] = {or_cam7_r[40:2],1'b0, or_cam7_r[0]}; | |
1234 | else | |
1235 | or_cam7_l[40:0] = or_cam7_r[40:0]; | |
1236 | ||
1237 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1238 | or_clr_v8 or or_clr_d8 or or_cam8_r[40:0]) | |
1239 | if ((ipdohq_wr_addr_r[3:0] == 4'b1000) && ipcs_ipdohq_wr_en_i) | |
1240 | or_cam8_l[40:0] = cam_l[40:0]; | |
1241 | else if (or_clr_v8) | |
1242 | or_cam8_l[40:0] = {or_cam8_r[40:1],1'b0}; | |
1243 | else if (or_clr_d8) | |
1244 | or_cam8_l[40:0] = {or_cam8_r[40:2],1'b0, or_cam8_r[0]}; | |
1245 | else | |
1246 | or_cam8_l[40:0] = or_cam8_r[40:0]; | |
1247 | ||
1248 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1249 | or_clr_v9 or or_clr_d9 or or_cam9_r[40:0]) | |
1250 | if ((ipdohq_wr_addr_r[3:0] == 4'b1001) && ipcs_ipdohq_wr_en_i) | |
1251 | or_cam9_l[40:0] = cam_l[40:0]; | |
1252 | else if (or_clr_v9) | |
1253 | or_cam9_l[40:0] = {or_cam9_r[40:1],1'b0}; | |
1254 | else if (or_clr_d9) | |
1255 | or_cam9_l[40:0] = {or_cam9_r[40:2],1'b0, or_cam9_r[0]}; | |
1256 | else | |
1257 | or_cam9_l[40:0] = or_cam9_r[40:0]; | |
1258 | ||
1259 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1260 | or_clr_v10 or or_clr_d10 or or_cam10_r[40:0]) | |
1261 | if ((ipdohq_wr_addr_r[3:0] == 4'b1010) && ipcs_ipdohq_wr_en_i) | |
1262 | or_cam10_l[40:0] = cam_l[40:0]; | |
1263 | else if (or_clr_v10) | |
1264 | or_cam10_l[40:0] = {or_cam10_r[40:1],1'b0}; | |
1265 | else if (or_clr_d10) | |
1266 | or_cam10_l[40:0] = {or_cam10_r[40:2],1'b0, or_cam10_r[0]}; | |
1267 | else | |
1268 | or_cam10_l[40:0] = or_cam10_r[40:0]; | |
1269 | ||
1270 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1271 | or_clr_v11 or or_clr_d11 or or_cam11_r[40:0]) | |
1272 | if ((ipdohq_wr_addr_r[3:0] == 4'b1011) && ipcs_ipdohq_wr_en_i) | |
1273 | or_cam11_l[40:0] = cam_l[40:0]; | |
1274 | else if (or_clr_v11) | |
1275 | or_cam11_l[40:0] = {or_cam11_r[40:1],1'b0}; | |
1276 | else if (or_clr_d11) | |
1277 | or_cam11_l[40:0] = {or_cam11_r[40:2],1'b0, or_cam11_r[0]}; | |
1278 | else | |
1279 | or_cam11_l[40:0] = or_cam11_r[40:0]; | |
1280 | ||
1281 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1282 | or_clr_v12 or or_clr_d12 or or_cam12_r[40:0]) | |
1283 | if ((ipdohq_wr_addr_r[3:0] == 4'b1100) && ipcs_ipdohq_wr_en_i) | |
1284 | or_cam12_l[40:0] = cam_l[40:0]; | |
1285 | else if (or_clr_v12) | |
1286 | or_cam12_l[40:0] = {or_cam12_r[40:1],1'b0}; | |
1287 | else if (or_clr_d12) | |
1288 | or_cam12_l[40:0] = {or_cam12_r[40:2],1'b0, or_cam12_r[0]}; | |
1289 | else | |
1290 | or_cam12_l[40:0] = or_cam12_r[40:0]; | |
1291 | ||
1292 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1293 | or_clr_v13 or or_clr_d13 or or_cam13_r[40:0]) | |
1294 | if ((ipdohq_wr_addr_r[3:0] == 4'b1101) && ipcs_ipdohq_wr_en_i) | |
1295 | or_cam13_l[40:0] = cam_l[40:0]; | |
1296 | else if (or_clr_v13) | |
1297 | or_cam13_l[40:0] = {or_cam13_r[40:1],1'b0}; | |
1298 | else if (or_clr_d13) | |
1299 | or_cam13_l[40:0] = {or_cam13_r[40:2],1'b0, or_cam13_r[0]}; | |
1300 | else | |
1301 | or_cam13_l[40:0] = or_cam13_r[40:0]; | |
1302 | ||
1303 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1304 | or_clr_v14 or or_clr_d14 or or_cam14_r[40:0]) | |
1305 | if ((ipdohq_wr_addr_r[3:0] == 4'b1110) && ipcs_ipdohq_wr_en_i) | |
1306 | or_cam14_l[40:0] = cam_l[40:0]; | |
1307 | else if (or_clr_v14) | |
1308 | or_cam14_l[40:0] = {or_cam14_r[40:1],1'b0}; | |
1309 | else if (or_clr_d14) | |
1310 | or_cam14_l[40:0] = {or_cam14_r[40:2],1'b0, or_cam14_r[0]}; | |
1311 | else | |
1312 | or_cam14_l[40:0] = or_cam14_r[40:0]; | |
1313 | ||
1314 | always @ (ipdohq_wr_addr_r[3:0] or ipcs_ipdohq_wr_en_i or cam_l[40:0] or | |
1315 | or_clr_v15 or or_clr_d15 or or_cam15_r[40:0]) | |
1316 | if ((ipdohq_wr_addr_r[3:0] == 4'b1111) && ipcs_ipdohq_wr_en_i) | |
1317 | or_cam15_l[40:0] = cam_l[40:0]; | |
1318 | else if (or_clr_v15) | |
1319 | or_cam15_l[40:0] = {or_cam15_r[40:1],1'b0}; | |
1320 | else if (or_clr_d15) | |
1321 | or_cam15_l[40:0] = {or_cam15_r[40:2],1'b0, or_cam15_r[0]}; | |
1322 | else | |
1323 | or_cam15_l[40:0] = or_cam15_r[40:0]; | |
1324 | ||
1325 | //-------------------------------------------------------------------------------------- | |
1326 | // Register write section (Bypass) | |
1327 | //-------------------------------------------------------------------------------------- | |
1328 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1329 | by_clr_v0 or by_clr_d0 or by_cam0_r[40:0]) | |
1330 | if ((ipdbhq_wr_addr_r[3:0] == 4'b0000) && ipcs_ipdbhq_wr_en_i) | |
1331 | by_cam0_l[40:0] = cam_l[40:0]; | |
1332 | else if (by_clr_v0) | |
1333 | by_cam0_l[40:0] = {by_cam0_r[40:1],1'b0}; | |
1334 | else if (by_clr_d0) | |
1335 | by_cam0_l[40:0] = {by_cam0_r[40:2],1'b0, by_cam0_r[0]}; | |
1336 | else | |
1337 | by_cam0_l[40:0] = by_cam0_r[40:0]; | |
1338 | ||
1339 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1340 | by_clr_v1 or by_clr_d1 or by_cam1_r[40:0]) | |
1341 | if ((ipdbhq_wr_addr_r[3:0] == 4'b0001) && ipcs_ipdbhq_wr_en_i) | |
1342 | by_cam1_l[40:0] = cam_l[40:0]; | |
1343 | else if (by_clr_v1) | |
1344 | by_cam1_l[40:0] = {by_cam1_r[40:1],1'b0}; | |
1345 | else if (by_clr_d1) | |
1346 | by_cam1_l[40:0] = {by_cam1_r[40:2],1'b0, by_cam1_r[0]}; | |
1347 | else | |
1348 | by_cam1_l[40:0] = by_cam1_r[40:0]; | |
1349 | ||
1350 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1351 | by_clr_v2 or by_clr_d2 or by_cam2_r[40:0]) | |
1352 | if ((ipdbhq_wr_addr_r[3:0] == 4'b0010) && ipcs_ipdbhq_wr_en_i) | |
1353 | by_cam2_l[40:0] = cam_l[40:0]; | |
1354 | else if (by_clr_v2) | |
1355 | by_cam2_l[40:0] = {by_cam2_r[40:1],1'b0}; | |
1356 | else if (by_clr_d2) | |
1357 | by_cam2_l[40:0] = {by_cam2_r[40:2],1'b0, by_cam2_r[0]}; | |
1358 | else | |
1359 | by_cam2_l[40:0] = by_cam2_r[40:0]; | |
1360 | ||
1361 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1362 | by_clr_v3 or by_clr_d3 or by_cam3_r[40:0]) | |
1363 | if ((ipdbhq_wr_addr_r[3:0] == 4'b0011) && ipcs_ipdbhq_wr_en_i) | |
1364 | by_cam3_l[40:0] = cam_l[40:0]; | |
1365 | else if (by_clr_v3) | |
1366 | by_cam3_l[40:0] = {by_cam3_r[40:1],1'b0}; | |
1367 | else if (by_clr_d3) | |
1368 | by_cam3_l[40:0] = {by_cam3_r[40:2],1'b0, by_cam3_r[0]}; | |
1369 | else | |
1370 | by_cam3_l[40:0] = by_cam3_r[40:0]; | |
1371 | ||
1372 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1373 | by_clr_v4 or by_clr_d4 or by_cam4_r[40:0]) | |
1374 | if ((ipdbhq_wr_addr_r[3:0] == 4'b0100) && ipcs_ipdbhq_wr_en_i) | |
1375 | by_cam4_l[40:0] = cam_l[40:0]; | |
1376 | else if (by_clr_v4) | |
1377 | by_cam4_l[40:0] = {by_cam4_r[40:1],1'b0}; | |
1378 | else if (by_clr_d4) | |
1379 | by_cam4_l[40:0] = {by_cam4_r[40:2],1'b0, by_cam4_r[0]}; | |
1380 | else | |
1381 | by_cam4_l[40:0] = by_cam4_r[40:0]; | |
1382 | ||
1383 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1384 | by_clr_v5 or by_clr_d5 or by_cam5_r[40:0]) | |
1385 | if ((ipdbhq_wr_addr_r[3:0] == 4'b0101) && ipcs_ipdbhq_wr_en_i) | |
1386 | by_cam5_l[40:0] = cam_l[40:0]; | |
1387 | else if (by_clr_v5) | |
1388 | by_cam5_l[40:0] = {by_cam5_r[40:1],1'b0}; | |
1389 | else if (by_clr_d5) | |
1390 | by_cam5_l[40:0] = {by_cam5_r[40:2],1'b0, by_cam5_r[0]}; | |
1391 | else | |
1392 | by_cam5_l[40:0] = by_cam5_r[40:0]; | |
1393 | ||
1394 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1395 | by_clr_v6 or by_clr_d6 or by_cam6_r[40:0]) | |
1396 | if ((ipdbhq_wr_addr_r[3:0] == 4'b0110) && ipcs_ipdbhq_wr_en_i) | |
1397 | by_cam6_l[40:0] = cam_l[40:0]; | |
1398 | else if (by_clr_v6) | |
1399 | by_cam6_l[40:0] = {by_cam6_r[40:1],1'b0}; | |
1400 | else if (by_clr_d6) | |
1401 | by_cam6_l[40:0] = {by_cam6_r[40:2],1'b0, by_cam6_r[0]}; | |
1402 | else | |
1403 | by_cam6_l[40:0] = by_cam6_r[40:0]; | |
1404 | ||
1405 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1406 | by_clr_v7 or by_clr_d7 or by_cam7_r[40:0]) | |
1407 | if ((ipdbhq_wr_addr_r[3:0] == 4'b0111) && ipcs_ipdbhq_wr_en_i) | |
1408 | by_cam7_l[40:0] = cam_l[40:0]; | |
1409 | else if (by_clr_v7) | |
1410 | by_cam7_l[40:0] = {by_cam7_r[40:1],1'b0}; | |
1411 | else if (by_clr_d7) | |
1412 | by_cam7_l[40:0] = {by_cam7_r[40:2],1'b0, by_cam7_r[0]}; | |
1413 | else | |
1414 | by_cam7_l[40:0] = by_cam7_r[40:0]; | |
1415 | ||
1416 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1417 | by_clr_v8 or by_clr_d8 or by_cam8_r[40:0]) | |
1418 | if ((ipdbhq_wr_addr_r[3:0] == 4'b1000) && ipcs_ipdbhq_wr_en_i) | |
1419 | by_cam8_l[40:0] = cam_l[40:0]; | |
1420 | else if (by_clr_v8) | |
1421 | by_cam8_l[40:0] = {by_cam8_r[40:1],1'b0}; | |
1422 | else if (by_clr_d8) | |
1423 | by_cam8_l[40:0] = {by_cam8_r[40:2],1'b0, by_cam8_r[0]}; | |
1424 | else | |
1425 | by_cam8_l[40:0] = by_cam8_r[40:0]; | |
1426 | ||
1427 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1428 | by_clr_v9 or by_clr_d9 or by_cam9_r[40:0]) | |
1429 | if ((ipdbhq_wr_addr_r[3:0] == 4'b1001) && ipcs_ipdbhq_wr_en_i) | |
1430 | by_cam9_l[40:0] = cam_l[40:0]; | |
1431 | else if (by_clr_v9) | |
1432 | by_cam9_l[40:0] = {by_cam9_r[40:1],1'b0}; | |
1433 | else if (by_clr_d9) | |
1434 | by_cam9_l[40:0] = {by_cam9_r[40:2],1'b0, by_cam9_r[0]}; | |
1435 | else | |
1436 | by_cam9_l[40:0] = by_cam9_r[40:0]; | |
1437 | ||
1438 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1439 | by_clr_v10 or by_clr_d10 or by_cam10_r[40:0]) | |
1440 | if ((ipdbhq_wr_addr_r[3:0] == 4'b1010) && ipcs_ipdbhq_wr_en_i) | |
1441 | by_cam10_l[40:0] = cam_l[40:0]; | |
1442 | else if (by_clr_v10) | |
1443 | by_cam10_l[40:0] = {by_cam10_r[40:1],1'b0}; | |
1444 | else if (by_clr_d10) | |
1445 | by_cam10_l[40:0] = {by_cam10_r[40:2],1'b0, by_cam10_r[0]}; | |
1446 | else | |
1447 | by_cam10_l[40:0] = by_cam10_r[40:0]; | |
1448 | ||
1449 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1450 | by_clr_v11 or by_clr_d11 or by_cam11_r[40:0]) | |
1451 | if ((ipdbhq_wr_addr_r[3:0] == 4'b1011) && ipcs_ipdbhq_wr_en_i) | |
1452 | by_cam11_l[40:0] = cam_l[40:0]; | |
1453 | else if (by_clr_v11) | |
1454 | by_cam11_l[40:0] = {by_cam11_r[40:1],1'b0}; | |
1455 | else if (by_clr_d11) | |
1456 | by_cam11_l[40:0] = {by_cam11_r[40:2],1'b0, by_cam11_r[0]}; | |
1457 | else | |
1458 | by_cam11_l[40:0] = by_cam11_r[40:0]; | |
1459 | ||
1460 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1461 | by_clr_v12 or by_clr_d12 or by_cam12_r[40:0]) | |
1462 | if ((ipdbhq_wr_addr_r[3:0] == 4'b1100) && ipcs_ipdbhq_wr_en_i) | |
1463 | by_cam12_l[40:0] = cam_l[40:0]; | |
1464 | else if (by_clr_v12) | |
1465 | by_cam12_l[40:0] = {by_cam12_r[40:1],1'b0}; | |
1466 | else if (by_clr_d12) | |
1467 | by_cam12_l[40:0] = {by_cam12_r[40:2],1'b0, by_cam12_r[0]}; | |
1468 | else | |
1469 | by_cam12_l[40:0] = by_cam12_r[40:0]; | |
1470 | ||
1471 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1472 | by_clr_v13 or by_clr_d13 or by_cam13_r[40:0]) | |
1473 | if ((ipdbhq_wr_addr_r[3:0] == 4'b1101) && ipcs_ipdbhq_wr_en_i) | |
1474 | by_cam13_l[40:0] = cam_l[40:0]; | |
1475 | else if (by_clr_v13) | |
1476 | by_cam13_l[40:0] = {by_cam13_r[40:1],1'b0}; | |
1477 | else if (by_clr_d13) | |
1478 | by_cam13_l[40:0] = {by_cam13_r[40:2],1'b0, by_cam13_r[0]}; | |
1479 | else | |
1480 | by_cam13_l[40:0] = by_cam13_r[40:0]; | |
1481 | ||
1482 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1483 | by_clr_v14 or by_clr_d14 or by_cam14_r[40:0]) | |
1484 | if ((ipdbhq_wr_addr_r[3:0] == 4'b1110) && ipcs_ipdbhq_wr_en_i) | |
1485 | by_cam14_l[40:0] = cam_l[40:0]; | |
1486 | else if (by_clr_v14) | |
1487 | by_cam14_l[40:0] = {by_cam14_r[40:1],1'b0}; | |
1488 | else if (by_clr_d14) | |
1489 | by_cam14_l[40:0] = {by_cam14_r[40:2],1'b0, by_cam14_r[0]}; | |
1490 | else | |
1491 | by_cam14_l[40:0] = by_cam14_r[40:0]; | |
1492 | ||
1493 | always @ (ipdbhq_wr_addr_r[3:0] or ipcs_ipdbhq_wr_en_i or cam_l[40:0] or | |
1494 | by_clr_v15 or by_clr_d15 or by_cam15_r[40:0]) | |
1495 | begin | |
1496 | if ((ipdbhq_wr_addr_r[3:0] == 4'b1111) && ipcs_ipdbhq_wr_en_i) | |
1497 | by_cam15_l[40:0] = cam_l[40:0]; | |
1498 | else if (by_clr_v15) | |
1499 | by_cam15_l[40:0] = {by_cam15_r[40:1],1'b0}; | |
1500 | else if (by_clr_d15) | |
1501 | by_cam15_l[40:0] = {by_cam15_r[40:2],1'b0, by_cam15_r[0]}; | |
1502 | else | |
1503 | by_cam15_l[40:0] = by_cam15_r[40:0]; | |
1504 | end | |
1505 | ||
1506 | //-------------------------------------------------------------------------------------- | |
1507 | //************************************************************************ | |
1508 | // REGISTERS section | |
1509 | //************************************************************************ | |
1510 | ||
1511 | sii_ipcs_ctlmsff_ctl_macro__width_7 reg_cstate // ASYNC reset active low | |
1512 | ( | |
1513 | .scan_in(reg_cstate_scanin), | |
1514 | .scan_out(reg_cstate_scanout), | |
1515 | .dout(cstate_r[6:0]), | |
1516 | .l1clk(l1clk), | |
1517 | .din(nstate[6:0]), | |
1518 | .siclk(siclk), | |
1519 | .soclk(soclk) | |
1520 | ); | |
1521 | ||
1522 | sii_ipcs_ctlmsff_ctl_macro__width_5 reg_last_or_wr // ASYNC reset active low | |
1523 | ( | |
1524 | .scan_in(reg_last_or_wr_scanin), | |
1525 | .scan_out(reg_last_or_wr_scanout), | |
1526 | .dout(last_or_wr_r[4:0]), | |
1527 | .l1clk(l1clk), | |
1528 | .din(last_or_wr_l[4:0]), | |
1529 | .siclk(siclk), | |
1530 | .soclk(soclk) | |
1531 | ); | |
1532 | ||
1533 | sii_ipcs_ctlmsff_ctl_macro__width_5 reg_last_by_wr // ASYNC reset active low | |
1534 | ( | |
1535 | .scan_in(reg_last_by_wr_scanin), | |
1536 | .scan_out(reg_last_by_wr_scanout), | |
1537 | .dout(last_by_wr_r[4:0]), | |
1538 | .l1clk(l1clk), | |
1539 | .din(last_by_wr_l[4:0]), | |
1540 | .siclk(siclk), | |
1541 | .soclk(soclk) | |
1542 | ); | |
1543 | ||
1544 | sii_ipcs_ctlmsff_ctl_macro__width_4 reg_dmu_or_ptr // ASYNC reset active low | |
1545 | ( | |
1546 | .scan_in(reg_dmu_or_ptr_scanin), | |
1547 | .scan_out(reg_dmu_or_ptr_scanout), | |
1548 | .dout(dmu_or_ptr[3:0]), | |
1549 | .l1clk(l1clk), | |
1550 | .din(dmu_or_ptr_l[3:0]), | |
1551 | .siclk(siclk), | |
1552 | .soclk(soclk) | |
1553 | ); | |
1554 | ||
1555 | sii_ipcs_ctlmsff_ctl_macro__width_4 reg_dmu_by_ptr // ASYNC reset active low | |
1556 | ( | |
1557 | .scan_in(reg_dmu_by_ptr_scanin), | |
1558 | .scan_out(reg_dmu_by_ptr_scanout), | |
1559 | .dout(dmu_by_ptr[3:0]), | |
1560 | .l1clk(l1clk), | |
1561 | .din(dmu_by_ptr_l[3:0]), | |
1562 | .siclk(siclk), | |
1563 | .soclk(soclk) | |
1564 | ); | |
1565 | ||
1566 | sii_ipcs_ctlmsff_ctl_macro__width_5 reg_ipdohq_wr_addr // ASYNC reset active low | |
1567 | ( | |
1568 | .scan_in(reg_ipdohq_wr_addr_scanin), | |
1569 | .scan_out(reg_ipdohq_wr_addr_scanout), | |
1570 | .dout(ipdohq_wr_addr_r[4:0]), | |
1571 | .l1clk(l1clk), | |
1572 | .din(ipdohq_wr_addr_l[4:0]), | |
1573 | .siclk(siclk), | |
1574 | .soclk(soclk) | |
1575 | ); | |
1576 | ||
1577 | sii_ipcs_ctlmsff_ctl_macro__width_5 reg_ipdbhq_wr_addr // ASYNC reset active low | |
1578 | ( | |
1579 | .scan_in(reg_ipdbhq_wr_addr_scanin), | |
1580 | .scan_out(reg_ipdbhq_wr_addr_scanout), | |
1581 | .dout(ipdbhq_wr_addr_r[4:0]), | |
1582 | .l1clk(l1clk), | |
1583 | .din(ipdbhq_wr_addr_l[4:0]), | |
1584 | .siclk(siclk), | |
1585 | .soclk(soclk) | |
1586 | ); | |
1587 | ||
1588 | sii_ipcs_ctlmsff_ctl_macro__width_6 reg_ipdodq_wr_addr // ASYNC reset active low | |
1589 | ( | |
1590 | .scan_in(reg_ipdodq_wr_addr_scanin), | |
1591 | .scan_out(reg_ipdodq_wr_addr_scanout), | |
1592 | .dout(ipcs_ipdodq_wr_addr_r[5:0]), | |
1593 | .l1clk(l1clk), | |
1594 | .din(ipcs_ipdodq_wr_addr_l[5:0]), | |
1595 | .siclk(siclk), | |
1596 | .soclk(soclk) | |
1597 | ); | |
1598 | ||
1599 | sii_ipcs_ctlmsff_ctl_macro__width_6 reg_ipdbdq_wr_addr // ASYNC reset active low | |
1600 | ( | |
1601 | .scan_in(reg_ipdbdq_wr_addr_scanin), | |
1602 | .scan_out(reg_ipdbdq_wr_addr_scanout), | |
1603 | .dout(ipcs_ipdbdq_wr_addr_r[5:0]), | |
1604 | .l1clk(l1clk), | |
1605 | .din(ipcs_ipdbdq_wr_addr_l[5:0]), | |
1606 | .siclk(siclk), | |
1607 | .soclk(soclk) | |
1608 | ); | |
1609 | ||
1610 | ||
1611 | sii_ipcs_ctlmsff_ctl_macro__width_128 reg_dmu_sii_hdr // ASYNC reset active low | |
1612 | ( | |
1613 | .scan_in(reg_dmu_sii_hdr_scanin), | |
1614 | .scan_out(reg_dmu_sii_hdr_scanout), | |
1615 | .dout(ext_sii_hdr_r[127:0]), | |
1616 | .l1clk(l1clk), | |
1617 | .din(ext_sii_hdr_l[127:0]), | |
1618 | .siclk(siclk), | |
1619 | .soclk(soclk) | |
1620 | ); | |
1621 | ||
1622 | ||
1623 | sii_ipcs_ctlmsff_ctl_macro__width_1 reg_datareq16 // ASYNC reset active low | |
1624 | ( | |
1625 | .scan_in(reg_datareq16_scanin), | |
1626 | .scan_out(reg_datareq16_scanout), | |
1627 | .dout(ext_sii_datareq16_r), | |
1628 | .l1clk(l1clk), | |
1629 | .din(ext_sii_datareq16_l), | |
1630 | .siclk(siclk), | |
1631 | .soclk(soclk) | |
1632 | ); | |
1633 | ||
1634 | sii_ipcs_ctlmsff_ctl_macro__width_1 reg_reqbypass // ASYNC reset active low | |
1635 | ( | |
1636 | .scan_in(reg_reqbypass_scanin), | |
1637 | .scan_out(reg_reqbypass_scanout), | |
1638 | .dout(ext_sii_reqbypass_r), | |
1639 | .l1clk(l1clk), | |
1640 | .din(dmu_sii_reqbypass_l), | |
1641 | .siclk(siclk), | |
1642 | .soclk(soclk) | |
1643 | ); | |
1644 | ||
1645 | ||
1646 | sii_ipcs_ctlmsff_ctl_macro__width_1 reg_add_or // ASYNC reset active low | |
1647 | ( | |
1648 | .scan_in(reg_add_or_scanin), | |
1649 | .scan_out(reg_add_or_scanout), | |
1650 | .dout(ipcs_ipcc_add_or), | |
1651 | .l1clk(l1clk), | |
1652 | .din(add_or), | |
1653 | .siclk(siclk), | |
1654 | .soclk(soclk) | |
1655 | ); | |
1656 | ||
1657 | sii_ipcs_ctlmsff_ctl_macro__width_1 reg_add_by // ASYNC reset active low | |
1658 | ( | |
1659 | .scan_in(reg_add_by_scanin), | |
1660 | .scan_out(reg_add_by_scanout), | |
1661 | .dout(ipcs_ipcc_add_by), | |
1662 | .l1clk(l1clk), | |
1663 | .din(add_by), | |
1664 | .siclk(siclk), | |
1665 | .soclk(soclk) | |
1666 | ); | |
1667 | ||
1668 | //------------------------------------------------------------------- | |
1669 | // Synchronization Section (l2clk -> iol1clk) | |
1670 | //------------------------------------------------------------------- | |
1671 | sii_ipcs_ctlmsff_ctl_macro__width_4 reg_dmu_wrack_tag // ASYNC reset active low | |
1672 | ( | |
1673 | .scan_in(reg_dmu_wrack_tag_scanin), | |
1674 | .scan_out(reg_dmu_wrack_tag_scanout), | |
1675 | .dout(sii_ext_wrack_tag[3:0]), | |
1676 | .l1clk(l1clk), | |
1677 | .din(ipcc_ipcs_dmu_tag[3:0]), | |
1678 | .siclk(siclk), | |
1679 | .soclk(soclk) | |
1680 | ); | |
1681 | ||
1682 | sii_ipcs_ctlmsff_ctl_macro__width_1 reg_dmu_wrack_parity // ASYNC reset active low | |
1683 | ( | |
1684 | .scan_in(reg_dmu_wrack_parity_scanin), | |
1685 | .scan_out(reg_dmu_wrack_parity_scanout), | |
1686 | .dout(sii_ext_wrack_parity), | |
1687 | .l1clk(l1clk), | |
1688 | .din(ipcc_ipcs_dmu_wrack_p), | |
1689 | .siclk(siclk), | |
1690 | .soclk(soclk) | |
1691 | ); | |
1692 | ||
1693 | assign dmu_wrack_vld = ipcc_ipcs_wrack_vld ^ sync2_wrack; | |
1694 | sii_ipcs_ctlmsff_ctl_macro__width_1 reg_ipcc_ipcs_wrack // ASYNC reset active low | |
1695 | ( | |
1696 | .scan_in(reg_ipcc_ipcs_wrack_scanin), | |
1697 | .scan_out(reg_ipcc_ipcs_wrack_scanout), | |
1698 | .dout(ipcc_ipcs_wrack_vld), | |
1699 | .l1clk(l1clk), | |
1700 | .din(sync2_wrack), | |
1701 | .siclk(siclk), | |
1702 | .soclk(soclk) | |
1703 | ); | |
1704 | ||
1705 | sii_ipcs_ctlmsff_ctl_macro__width_1 sync_ff_wrack1 // ASYNC reset active low | |
1706 | ( | |
1707 | .scan_in(sync_ff_wrack1_scanin), | |
1708 | .scan_out(sync_ff_wrack1_scanout), | |
1709 | .dout(sync1_wrack), | |
1710 | .l1clk(l1clk), | |
1711 | .din(ipcc_ipcs_wrack_lv), | |
1712 | .siclk(siclk), | |
1713 | .soclk(soclk) | |
1714 | ); | |
1715 | ||
1716 | sii_ipcs_ctlmsff_ctl_macro__width_1 sync_ff_wrack2 // ASYNC reset active low | |
1717 | ( | |
1718 | .scan_in(sync_ff_wrack2_scanin), | |
1719 | .scan_out(sync_ff_wrack2_scanout), | |
1720 | .dout(sync2_wrack), | |
1721 | .l1clk(l1clk), | |
1722 | .din(sync1_wrack), | |
1723 | .siclk(siclk), | |
1724 | .soclk(soclk) | |
1725 | ); | |
1726 | ||
1727 | assign ipcc_ipcs_or_go = ipcc_ipcs_or_dq ^ ipcc_ipcs_or_go_lv; | |
1728 | sii_ipcs_ctlmsff_ctl_macro__width_1 reg_ipcc_ipcs_or_dq // ASYNC reset active low | |
1729 | ( | |
1730 | .scan_in(reg_ipcc_ipcs_or_dq_scanin), | |
1731 | .scan_out(reg_ipcc_ipcs_or_dq_scanout), | |
1732 | .dout(ipcc_ipcs_or_dq), | |
1733 | .l1clk(l1clk), | |
1734 | .din(ipcc_ipcs_or_go_lv), | |
1735 | .siclk(siclk), | |
1736 | .soclk(soclk) | |
1737 | ); | |
1738 | ||
1739 | ||
1740 | assign ipcc_ipcs_by_go = ipcc_ipcs_by_dq ^ ipcc_ipcs_by_go_lv; | |
1741 | sii_ipcs_ctlmsff_ctl_macro__width_1 reg_ipcc_ipcs_by_dq // ASYNC reset active low | |
1742 | ( | |
1743 | .scan_in(reg_ipcc_ipcs_by_dq_scanin), | |
1744 | .scan_out(reg_ipcc_ipcs_by_dq_scanout), | |
1745 | .dout(ipcc_ipcs_by_dq), | |
1746 | .l1clk(l1clk), | |
1747 | .din(ipcc_ipcs_by_go_lv), | |
1748 | .siclk(siclk), | |
1749 | .soclk(soclk) | |
1750 | ); | |
1751 | ||
1752 | //msff_ctl_macro sync_ff_or_ptr1 (width=4) // ASYNC reset active low | |
1753 | // ( | |
1754 | // .scan_in(sync_ff_or_ptr1_scanin), | |
1755 | // .scan_out(sync_ff_or_ptr1_scanout), | |
1756 | // .dout(sync1_or_ptr[3:0]), | |
1757 | // .l1clk(l1clk), | |
1758 | // .din(ipcc_ipcs_or_ptr[3:0]), | |
1759 | // ); | |
1760 | ||
1761 | sii_ipcs_ctlmsff_ctl_macro__width_4 sync_ff_or_ptr2 // ASYNC reset active low | |
1762 | ( | |
1763 | .scan_in(sync_ff_or_ptr2_scanin), | |
1764 | .scan_out(sync_ff_or_ptr2_scanout), | |
1765 | .dout(ipcc_ipcs_or_raddr[3:0]), | |
1766 | .l1clk(l1clk), | |
1767 | .din(ipcc_ipcs_or_ptr[3:0]), | |
1768 | .siclk(siclk), | |
1769 | .soclk(soclk) | |
1770 | ); | |
1771 | ||
1772 | //msff_ctl_macro sync_ff_or_ptr4 (width=4) // ASYNC reset active low | |
1773 | // ( | |
1774 | // .scan_in(sync_ff_or_ptr4_scanin), | |
1775 | // .scan_out(sync_ff_or_ptr4_scanout), | |
1776 | // .dout(ipcc_ipcs_or_raddr[3:0]), | |
1777 | // .l1clk(l1clk), | |
1778 | // .din(sync3_or_ptr[3:0]), | |
1779 | // ); | |
1780 | ||
1781 | //msff_ctl_macro sync_ff_or_ptr3 (width=4) // ASYNC reset active low | |
1782 | // ( | |
1783 | // .scan_in(sync_ff_or_ptr3_scanin), | |
1784 | // .scan_out(sync_ff_or_ptr3_scanout), | |
1785 | // .dout(ipcc_ipcs_or_raddr[3:0]), | |
1786 | // .l1clk(l1clk), | |
1787 | // .din(sync2_or_ptr[3:0]), | |
1788 | // ); | |
1789 | ||
1790 | sii_ipcs_ctlmsff_ctl_macro__width_4 sync_ff_by_ptr1 // ASYNC reset active low | |
1791 | ( | |
1792 | .scan_in(sync_ff_by_ptr1_scanin), | |
1793 | .scan_out(sync_ff_by_ptr1_scanout), | |
1794 | .dout(ipcc_ipcs_by_raddr[3:0]), | |
1795 | .l1clk(l1clk), | |
1796 | .din(ipcc_ipcs_by_ptr[3:0]), | |
1797 | .siclk(siclk), | |
1798 | .soclk(soclk) | |
1799 | ); | |
1800 | ||
1801 | //msff_ctl_macro sync_ff_by_ptr2 (width=4) // ASYNC reset active low | |
1802 | // ( | |
1803 | // .scan_in(sync_ff_by_ptr2_scanin), | |
1804 | // .scan_out(sync_ff_by_ptr2_scanout), | |
1805 | // .dout(ipcc_ipcs_by_raddr[3:0]), | |
1806 | // .l1clk(l1clk), | |
1807 | // .din(sync1_by_ptr[3:0]), | |
1808 | // ); | |
1809 | ||
1810 | //msff_ctl_macro sync_ff_by_ptr4 (width=4) // ASYNC reset active low | |
1811 | // ( | |
1812 | // .scan_in(sync_ff_by_ptr4_scanin), | |
1813 | // .scan_out(sync_ff_by_ptr4_scanout), | |
1814 | // .dout(ipcc_ipcs_by_raddr[3:0]), | |
1815 | // .l1clk(l1clk), | |
1816 | // .din(sync3_by_ptr[3:0]), | |
1817 | // ); | |
1818 | ||
1819 | //msff_ctl_macro sync_ff_by_ptr3 (width=4) // ASYNC reset active low | |
1820 | // ( | |
1821 | // .scan_in(sync_ff_by_ptr3_scanin), | |
1822 | // .scan_out(sync_ff_by_ptr3_scanout), | |
1823 | // .dout(ipcc_ipcs_by_raddr[3:0]), | |
1824 | // .l1clk(l1clk), | |
1825 | // .din(sync2_by_ptr[3:0]), | |
1826 | // ); | |
1827 | // | |
1828 | ||
1829 | //------------------------------------------------------------------- | |
1830 | // DUPLICATE ADDRESS REGISTERS ( bypass queue) | |
1831 | //------------------------------------------------------------------- | |
1832 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam0 | |
1833 | ( | |
1834 | .scan_in(reg_by_cam0_scanin), | |
1835 | .scan_out(reg_by_cam0_scanout), | |
1836 | .dout(by_cam0_r[40:0]), | |
1837 | .l1clk(l1clk), | |
1838 | .din(by_cam0_l[40:0]), | |
1839 | .siclk(siclk), | |
1840 | .soclk(soclk) | |
1841 | ); | |
1842 | ||
1843 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam1 | |
1844 | ( | |
1845 | .scan_in(reg_by_cam1_scanin), | |
1846 | .scan_out(reg_by_cam1_scanout), | |
1847 | .dout(by_cam1_r[40:0]), | |
1848 | .l1clk(l1clk), | |
1849 | .din(by_cam1_l[40:0]), | |
1850 | .siclk(siclk), | |
1851 | .soclk(soclk) | |
1852 | ); | |
1853 | ||
1854 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam2 | |
1855 | ( | |
1856 | .scan_in(reg_by_cam2_scanin), | |
1857 | .scan_out(reg_by_cam2_scanout), | |
1858 | .dout(by_cam2_r[40:0]), | |
1859 | .l1clk(l1clk), | |
1860 | .din(by_cam2_l[40:0]), | |
1861 | .siclk(siclk), | |
1862 | .soclk(soclk) | |
1863 | ); | |
1864 | ||
1865 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam3 | |
1866 | ( | |
1867 | .scan_in(reg_by_cam3_scanin), | |
1868 | .scan_out(reg_by_cam3_scanout), | |
1869 | .dout(by_cam3_r[40:0]), | |
1870 | .l1clk(l1clk), | |
1871 | .din(by_cam3_l[40:0]), | |
1872 | .siclk(siclk), | |
1873 | .soclk(soclk) | |
1874 | ); | |
1875 | ||
1876 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam4 | |
1877 | ( | |
1878 | .scan_in(reg_by_cam4_scanin), | |
1879 | .scan_out(reg_by_cam4_scanout), | |
1880 | .dout(by_cam4_r[40:0]), | |
1881 | .l1clk(l1clk), | |
1882 | .din(by_cam4_l[40:0]), | |
1883 | .siclk(siclk), | |
1884 | .soclk(soclk) | |
1885 | ); | |
1886 | ||
1887 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam5 | |
1888 | ( | |
1889 | .scan_in(reg_by_cam5_scanin), | |
1890 | .scan_out(reg_by_cam5_scanout), | |
1891 | .dout(by_cam5_r[40:0]), | |
1892 | .l1clk(l1clk), | |
1893 | .din(by_cam5_l[40:0]), | |
1894 | .siclk(siclk), | |
1895 | .soclk(soclk) | |
1896 | ); | |
1897 | ||
1898 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam6 | |
1899 | ( | |
1900 | .scan_in(reg_by_cam6_scanin), | |
1901 | .scan_out(reg_by_cam6_scanout), | |
1902 | .dout(by_cam6_r[40:0]), | |
1903 | .l1clk(l1clk), | |
1904 | .din(by_cam6_l[40:0]), | |
1905 | .siclk(siclk), | |
1906 | .soclk(soclk) | |
1907 | ); | |
1908 | ||
1909 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam7 | |
1910 | ( | |
1911 | .scan_in(reg_by_cam7_scanin), | |
1912 | .scan_out(reg_by_cam7_scanout), | |
1913 | .dout(by_cam7_r[40:0]), | |
1914 | .l1clk(l1clk), | |
1915 | .din(by_cam7_l[40:0]), | |
1916 | .siclk(siclk), | |
1917 | .soclk(soclk) | |
1918 | ); | |
1919 | ||
1920 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam8 | |
1921 | ( | |
1922 | .scan_in(reg_by_cam8_scanin), | |
1923 | .scan_out(reg_by_cam8_scanout), | |
1924 | .dout(by_cam8_r[40:0]), | |
1925 | .l1clk(l1clk), | |
1926 | .din(by_cam8_l[40:0]), | |
1927 | .siclk(siclk), | |
1928 | .soclk(soclk) | |
1929 | ); | |
1930 | ||
1931 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam9 | |
1932 | ( | |
1933 | .scan_in(reg_by_cam9_scanin), | |
1934 | .scan_out(reg_by_cam9_scanout), | |
1935 | .dout(by_cam9_r[40:0]), | |
1936 | .l1clk(l1clk), | |
1937 | .din(by_cam9_l[40:0]), | |
1938 | .siclk(siclk), | |
1939 | .soclk(soclk) | |
1940 | ); | |
1941 | ||
1942 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam10 | |
1943 | ( | |
1944 | .scan_in(reg_by_cam10_scanin), | |
1945 | .scan_out(reg_by_cam10_scanout), | |
1946 | .dout(by_cam10_r[40:0]), | |
1947 | .l1clk(l1clk), | |
1948 | .din(by_cam10_l[40:0]), | |
1949 | .siclk(siclk), | |
1950 | .soclk(soclk) | |
1951 | ); | |
1952 | ||
1953 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam11 | |
1954 | ( | |
1955 | .scan_in(reg_by_cam11_scanin), | |
1956 | .scan_out(reg_by_cam11_scanout), | |
1957 | .dout(by_cam11_r[40:0]), | |
1958 | .l1clk(l1clk), | |
1959 | .din(by_cam11_l[40:0]), | |
1960 | .siclk(siclk), | |
1961 | .soclk(soclk) | |
1962 | ); | |
1963 | ||
1964 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam12 | |
1965 | ( | |
1966 | .scan_in(reg_by_cam12_scanin), | |
1967 | .scan_out(reg_by_cam12_scanout), | |
1968 | .dout(by_cam12_r[40:0]), | |
1969 | .l1clk(l1clk), | |
1970 | .din(by_cam12_l[40:0]), | |
1971 | .siclk(siclk), | |
1972 | .soclk(soclk) | |
1973 | ); | |
1974 | ||
1975 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam13 | |
1976 | ( | |
1977 | .scan_in(reg_by_cam13_scanin), | |
1978 | .scan_out(reg_by_cam13_scanout), | |
1979 | .dout(by_cam13_r[40:0]), | |
1980 | .l1clk(l1clk), | |
1981 | .din(by_cam13_l[40:0]), | |
1982 | .siclk(siclk), | |
1983 | .soclk(soclk) | |
1984 | ); | |
1985 | ||
1986 | ||
1987 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam14 | |
1988 | ( | |
1989 | .scan_in(reg_by_cam14_scanin), | |
1990 | .scan_out(reg_by_cam14_scanout), | |
1991 | .dout(by_cam14_r[40:0]), | |
1992 | .l1clk(l1clk), | |
1993 | .din(by_cam14_l[40:0]), | |
1994 | .siclk(siclk), | |
1995 | .soclk(soclk) | |
1996 | ); | |
1997 | ||
1998 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_by_cam15 | |
1999 | ( | |
2000 | .scan_in(reg_by_cam15_scanin), | |
2001 | .scan_out(reg_by_cam15_scanout), | |
2002 | .dout(by_cam15_r[40:0]), | |
2003 | .l1clk(l1clk), | |
2004 | .din(by_cam15_l[40:0]), | |
2005 | .siclk(siclk), | |
2006 | .soclk(soclk) | |
2007 | ); | |
2008 | //------------------------------------------------------------------- | |
2009 | // DUPLICATE ADDRESS REGISTERS ( ordered queue) | |
2010 | //------------------------------------------------------------------- | |
2011 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam0 | |
2012 | ( | |
2013 | .scan_in(reg_or_cam0_scanin), | |
2014 | .scan_out(reg_or_cam0_scanout), | |
2015 | .dout(or_cam0_r[40:0]), | |
2016 | .l1clk(l1clk), | |
2017 | .din(or_cam0_l[40:0]), | |
2018 | .siclk(siclk), | |
2019 | .soclk(soclk) | |
2020 | ); | |
2021 | ||
2022 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam1 | |
2023 | ( | |
2024 | .scan_in(reg_or_cam1_scanin), | |
2025 | .scan_out(reg_or_cam1_scanout), | |
2026 | .dout(or_cam1_r[40:0]), | |
2027 | .l1clk(l1clk), | |
2028 | .din(or_cam1_l[40:0]), | |
2029 | .siclk(siclk), | |
2030 | .soclk(soclk) | |
2031 | ); | |
2032 | ||
2033 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam2 | |
2034 | ( | |
2035 | .scan_in(reg_or_cam2_scanin), | |
2036 | .scan_out(reg_or_cam2_scanout), | |
2037 | .dout(or_cam2_r[40:0]), | |
2038 | .l1clk(l1clk), | |
2039 | .din(or_cam2_l[40:0]), | |
2040 | .siclk(siclk), | |
2041 | .soclk(soclk) | |
2042 | ); | |
2043 | ||
2044 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam3 | |
2045 | ( | |
2046 | .scan_in(reg_or_cam3_scanin), | |
2047 | .scan_out(reg_or_cam3_scanout), | |
2048 | .dout(or_cam3_r[40:0]), | |
2049 | .l1clk(l1clk), | |
2050 | .din(or_cam3_l[40:0]), | |
2051 | .siclk(siclk), | |
2052 | .soclk(soclk) | |
2053 | ); | |
2054 | ||
2055 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam4 | |
2056 | ( | |
2057 | .scan_in(reg_or_cam4_scanin), | |
2058 | .scan_out(reg_or_cam4_scanout), | |
2059 | .dout(or_cam4_r[40:0]), | |
2060 | .l1clk(l1clk), | |
2061 | .din(or_cam4_l[40:0]), | |
2062 | .siclk(siclk), | |
2063 | .soclk(soclk) | |
2064 | ); | |
2065 | ||
2066 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam5 | |
2067 | ( | |
2068 | .scan_in(reg_or_cam5_scanin), | |
2069 | .scan_out(reg_or_cam5_scanout), | |
2070 | .dout(or_cam5_r[40:0]), | |
2071 | .l1clk(l1clk), | |
2072 | .din(or_cam5_l[40:0]), | |
2073 | .siclk(siclk), | |
2074 | .soclk(soclk) | |
2075 | ); | |
2076 | ||
2077 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam6 | |
2078 | ( | |
2079 | .scan_in(reg_or_cam6_scanin), | |
2080 | .scan_out(reg_or_cam6_scanout), | |
2081 | .dout(or_cam6_r[40:0]), | |
2082 | .l1clk(l1clk), | |
2083 | .din(or_cam6_l[40:0]), | |
2084 | .siclk(siclk), | |
2085 | .soclk(soclk) | |
2086 | ); | |
2087 | ||
2088 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam7 | |
2089 | ( | |
2090 | .scan_in(reg_or_cam7_scanin), | |
2091 | .scan_out(reg_or_cam7_scanout), | |
2092 | .dout(or_cam7_r[40:0]), | |
2093 | .l1clk(l1clk), | |
2094 | .din(or_cam7_l[40:0]), | |
2095 | .siclk(siclk), | |
2096 | .soclk(soclk) | |
2097 | ); | |
2098 | ||
2099 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam8 | |
2100 | ( | |
2101 | .scan_in(reg_or_cam8_scanin), | |
2102 | .scan_out(reg_or_cam8_scanout), | |
2103 | .dout(or_cam8_r[40:0]), | |
2104 | .l1clk(l1clk), | |
2105 | .din(or_cam8_l[40:0]), | |
2106 | .siclk(siclk), | |
2107 | .soclk(soclk) | |
2108 | ); | |
2109 | ||
2110 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam9 | |
2111 | ( | |
2112 | .scan_in(reg_or_cam9_scanin), | |
2113 | .scan_out(reg_or_cam9_scanout), | |
2114 | .dout(or_cam9_r[40:0]), | |
2115 | .l1clk(l1clk), | |
2116 | .din(or_cam9_l[40:0]), | |
2117 | .siclk(siclk), | |
2118 | .soclk(soclk) | |
2119 | ); | |
2120 | ||
2121 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam10 | |
2122 | ( | |
2123 | .scan_in(reg_or_cam10_scanin), | |
2124 | .scan_out(reg_or_cam10_scanout), | |
2125 | .dout(or_cam10_r[40:0]), | |
2126 | .l1clk(l1clk), | |
2127 | .din(or_cam10_l[40:0]), | |
2128 | .siclk(siclk), | |
2129 | .soclk(soclk) | |
2130 | ); | |
2131 | ||
2132 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam11 | |
2133 | ( | |
2134 | .scan_in(reg_or_cam11_scanin), | |
2135 | .scan_out(reg_or_cam11_scanout), | |
2136 | .dout(or_cam11_r[40:0]), | |
2137 | .l1clk(l1clk), | |
2138 | .din(or_cam11_l[40:0]), | |
2139 | .siclk(siclk), | |
2140 | .soclk(soclk) | |
2141 | ); | |
2142 | ||
2143 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam12 | |
2144 | ( | |
2145 | .scan_in(reg_or_cam12_scanin), | |
2146 | .scan_out(reg_or_cam12_scanout), | |
2147 | .dout(or_cam12_r[40:0]), | |
2148 | .l1clk(l1clk), | |
2149 | .din(or_cam12_l[40:0]), | |
2150 | .siclk(siclk), | |
2151 | .soclk(soclk) | |
2152 | ); | |
2153 | ||
2154 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam13 | |
2155 | ( | |
2156 | .scan_in(reg_or_cam13_scanin), | |
2157 | .scan_out(reg_or_cam13_scanout), | |
2158 | .dout(or_cam13_r[40:0]), | |
2159 | .l1clk(l1clk), | |
2160 | .din(or_cam13_l[40:0]), | |
2161 | .siclk(siclk), | |
2162 | .soclk(soclk) | |
2163 | ); | |
2164 | ||
2165 | ||
2166 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam14 | |
2167 | ( | |
2168 | .scan_in(reg_or_cam14_scanin), | |
2169 | .scan_out(reg_or_cam14_scanout), | |
2170 | .dout(or_cam14_r[40:0]), | |
2171 | .l1clk(l1clk), | |
2172 | .din(or_cam14_l[40:0]), | |
2173 | .siclk(siclk), | |
2174 | .soclk(soclk) | |
2175 | ); | |
2176 | ||
2177 | sii_ipcs_ctlmsff_ctl_macro__width_41 reg_or_cam15 | |
2178 | ( | |
2179 | .scan_in(reg_or_cam15_scanin), | |
2180 | .scan_out(reg_or_cam15_scanout), | |
2181 | .dout(or_cam15_r[40:0]), | |
2182 | .l1clk(l1clk), | |
2183 | .din(or_cam15_l[40:0]), | |
2184 | .siclk(siclk), | |
2185 | .soclk(soclk) | |
2186 | ); | |
2187 | ||
2188 | //msff_ctl_macro reg_sii_mb1_addr (width=6) | |
2189 | // ( | |
2190 | // .scan_in(reg_sii_mb1_addr_scanin), | |
2191 | // .scan_out(reg_sii_mb1_addr_scanout), | |
2192 | // .dout(sii_mb1_addr_r[5:0]), | |
2193 | // .l1clk(l1clk), | |
2194 | // .din(sii_mb1_addr[5:0]), | |
2195 | // ); | |
2196 | ||
2197 | //msff_ctl_macro reg_sii_mb1_wdata (width=8) | |
2198 | // ( | |
2199 | // .scan_in(reg_sii_mb1_wdata_scanin), | |
2200 | // .scan_out(reg_sii_mb1_wdata_scanout), | |
2201 | // .dout(sii_mb1_wdata_r[7:0]), | |
2202 | // .l1clk(l1clk), | |
2203 | // .din(sii_mb1_wdata[7:0]), | |
2204 | // ); | |
2205 | ||
2206 | ||
2207 | //msff_ctl_macro reg_sii_mb1_ipdodq_wr_en (width=1) | |
2208 | // ( | |
2209 | // .scan_in(reg_sii_mb1_ipdodq_wr_en_scanin), | |
2210 | // .scan_out(reg_sii_mb1_ipdodq_wr_en_scanout), | |
2211 | // .dout(sii_mb1_ipdodq_wr_en_r), | |
2212 | // .l1clk(l1clk), | |
2213 | // .din(sii_mb1_ipdodq_wr_en), | |
2214 | // ); | |
2215 | ||
2216 | //msff_ctl_macro reg_sii_mb1_ipdbdq_wr_en (width=1) | |
2217 | // ( | |
2218 | // .scan_in(reg_sii_mb1_ipdbdq_wr_en_scanin), | |
2219 | // .scan_out(reg_sii_mb1_ipdbdq_wr_en_scanout), | |
2220 | // .dout(sii_mb1_ipdbdq_wr_en_r), | |
2221 | // .l1clk(l1clk), | |
2222 | // .din(sii_mb1_ipdbdq_wr_en), | |
2223 | // ); | |
2224 | ||
2225 | //msff_ctl_macro reg_sii_mb1_ipdohq_wr_en (width=1) | |
2226 | // ( | |
2227 | // .scan_in(reg_sii_mb1_ipdohq_wr_en_scanin), | |
2228 | // .scan_out(reg_sii_mb1_ipdohq_wr_en_scanout), | |
2229 | // .dout(sii_mb1_ipdohq_wr_en_r), | |
2230 | // .l1clk(l1clk), | |
2231 | // .din(sii_mb1_ipdohq_wr_en), | |
2232 | // ); | |
2233 | ||
2234 | //msff_ctl_macro reg_sii_mb1_ipdbhq_wr_en (width=1) | |
2235 | // ( | |
2236 | // .scan_in(reg_sii_mb1_ipdbhq_wr_en_scanin), | |
2237 | // .scan_out(reg_sii_mb1_ipdbhq_wr_en_scanout), | |
2238 | // .dout(sii_mb1_ipdbhq_wr_en_r), | |
2239 | // .l1clk(l1clk), | |
2240 | // .din(sii_mb1_ipdbhq_wr_en), | |
2241 | // ); | |
2242 | // | |
2243 | // fixscan start: | |
2244 | assign spares_scanin = scan_in ; | |
2245 | assign reg_cstate_scanin = spares_scanout ; | |
2246 | assign reg_last_or_wr_scanin = reg_cstate_scanout ; | |
2247 | assign reg_last_by_wr_scanin = reg_last_or_wr_scanout ; | |
2248 | assign reg_dmu_or_ptr_scanin = reg_last_by_wr_scanout ; | |
2249 | assign reg_dmu_by_ptr_scanin = reg_dmu_or_ptr_scanout ; | |
2250 | assign reg_ipdohq_wr_addr_scanin = reg_dmu_by_ptr_scanout ; | |
2251 | assign reg_ipdbhq_wr_addr_scanin = reg_ipdohq_wr_addr_scanout; | |
2252 | assign reg_ipdodq_wr_addr_scanin = reg_ipdbhq_wr_addr_scanout; | |
2253 | assign reg_ipdbdq_wr_addr_scanin = reg_ipdodq_wr_addr_scanout; | |
2254 | assign reg_dmu_sii_hdr_scanin = reg_ipdbdq_wr_addr_scanout; | |
2255 | assign reg_datareq16_scanin = reg_dmu_sii_hdr_scanout ; | |
2256 | assign reg_reqbypass_scanin = reg_datareq16_scanout ; | |
2257 | assign reg_add_or_scanin = reg_reqbypass_scanout ; | |
2258 | assign reg_add_by_scanin = reg_add_or_scanout ; | |
2259 | assign reg_dmu_wrack_tag_scanin = reg_add_by_scanout ; | |
2260 | assign reg_dmu_wrack_parity_scanin = reg_dmu_wrack_tag_scanout; | |
2261 | assign reg_ipcc_ipcs_wrack_scanin = reg_dmu_wrack_parity_scanout; | |
2262 | assign sync_ff_wrack1_scanin = reg_ipcc_ipcs_wrack_scanout; | |
2263 | assign sync_ff_wrack2_scanin = sync_ff_wrack1_scanout ; | |
2264 | assign reg_ipcc_ipcs_or_dq_scanin = sync_ff_wrack2_scanout ; | |
2265 | assign reg_ipcc_ipcs_by_dq_scanin = reg_ipcc_ipcs_or_dq_scanout; | |
2266 | assign sync_ff_or_ptr2_scanin = reg_ipcc_ipcs_by_dq_scanout; | |
2267 | assign sync_ff_by_ptr1_scanin = sync_ff_or_ptr2_scanout ; | |
2268 | assign reg_by_cam0_scanin = sync_ff_by_ptr1_scanout ; | |
2269 | assign reg_by_cam1_scanin = reg_by_cam0_scanout ; | |
2270 | assign reg_by_cam2_scanin = reg_by_cam1_scanout ; | |
2271 | assign reg_by_cam3_scanin = reg_by_cam2_scanout ; | |
2272 | assign reg_by_cam4_scanin = reg_by_cam3_scanout ; | |
2273 | assign reg_by_cam5_scanin = reg_by_cam4_scanout ; | |
2274 | assign reg_by_cam6_scanin = reg_by_cam5_scanout ; | |
2275 | assign reg_by_cam7_scanin = reg_by_cam6_scanout ; | |
2276 | assign reg_by_cam8_scanin = reg_by_cam7_scanout ; | |
2277 | assign reg_by_cam9_scanin = reg_by_cam8_scanout ; | |
2278 | assign reg_by_cam10_scanin = reg_by_cam9_scanout ; | |
2279 | assign reg_by_cam11_scanin = reg_by_cam10_scanout ; | |
2280 | assign reg_by_cam12_scanin = reg_by_cam11_scanout ; | |
2281 | assign reg_by_cam13_scanin = reg_by_cam12_scanout ; | |
2282 | assign reg_by_cam14_scanin = reg_by_cam13_scanout ; | |
2283 | assign reg_by_cam15_scanin = reg_by_cam14_scanout ; | |
2284 | assign reg_or_cam0_scanin = reg_by_cam15_scanout ; | |
2285 | assign reg_or_cam1_scanin = reg_or_cam0_scanout ; | |
2286 | assign reg_or_cam2_scanin = reg_or_cam1_scanout ; | |
2287 | assign reg_or_cam3_scanin = reg_or_cam2_scanout ; | |
2288 | assign reg_or_cam4_scanin = reg_or_cam3_scanout ; | |
2289 | assign reg_or_cam5_scanin = reg_or_cam4_scanout ; | |
2290 | assign reg_or_cam6_scanin = reg_or_cam5_scanout ; | |
2291 | assign reg_or_cam7_scanin = reg_or_cam6_scanout ; | |
2292 | assign reg_or_cam8_scanin = reg_or_cam7_scanout ; | |
2293 | assign reg_or_cam9_scanin = reg_or_cam8_scanout ; | |
2294 | assign reg_or_cam10_scanin = reg_or_cam9_scanout ; | |
2295 | assign reg_or_cam11_scanin = reg_or_cam10_scanout ; | |
2296 | assign reg_or_cam12_scanin = reg_or_cam11_scanout ; | |
2297 | assign reg_or_cam13_scanin = reg_or_cam12_scanout ; | |
2298 | assign reg_or_cam14_scanin = reg_or_cam13_scanout ; | |
2299 | assign reg_or_cam15_scanin = reg_or_cam14_scanout ; | |
2300 | assign scan_out = reg_or_cam15_scanout ; | |
2301 | // fixscan end: | |
2302 | endmodule | |
2303 | ||
2304 | ||
2305 | ||
2306 | ||
2307 | ||
2308 | ||
2309 | // any PARAMS parms go into naming of macro | |
2310 | ||
2311 | module sii_ipcs_ctll1clkhdr_ctl_macro ( | |
2312 | l2clk, | |
2313 | l1en, | |
2314 | pce_ov, | |
2315 | stop, | |
2316 | se, | |
2317 | l1clk); | |
2318 | ||
2319 | ||
2320 | input l2clk; | |
2321 | input l1en; | |
2322 | input pce_ov; | |
2323 | input stop; | |
2324 | input se; | |
2325 | output l1clk; | |
2326 | ||
2327 | ||
2328 | ||
2329 | ||
2330 | ||
2331 | cl_sc1_l1hdr_8x c_0 ( | |
2332 | ||
2333 | ||
2334 | .l2clk(l2clk), | |
2335 | .pce(l1en), | |
2336 | .l1clk(l1clk), | |
2337 | .se(se), | |
2338 | .pce_ov(pce_ov), | |
2339 | .stop(stop) | |
2340 | ); | |
2341 | ||
2342 | ||
2343 | ||
2344 | endmodule | |
2345 | ||
2346 | ||
2347 | ||
2348 | ||
2349 | ||
2350 | ||
2351 | ||
2352 | ||
2353 | ||
2354 | // Description: Spare gate macro for control blocks | |
2355 | // | |
2356 | // Param num controls the number of times the macro is added | |
2357 | // flops=0 can be used to use only combination spare logic | |
2358 | ||
2359 | ||
2360 | module sii_ipcs_ctlspare_ctl_macro__num_20 ( | |
2361 | l1clk, | |
2362 | scan_in, | |
2363 | siclk, | |
2364 | soclk, | |
2365 | scan_out); | |
2366 | wire si_0; | |
2367 | wire so_0; | |
2368 | wire spare0_flop_unused; | |
2369 | wire spare0_buf_32x_unused; | |
2370 | wire spare0_nand3_8x_unused; | |
2371 | wire spare0_inv_8x_unused; | |
2372 | wire spare0_aoi22_4x_unused; | |
2373 | wire spare0_buf_8x_unused; | |
2374 | wire spare0_oai22_4x_unused; | |
2375 | wire spare0_inv_16x_unused; | |
2376 | wire spare0_nand2_16x_unused; | |
2377 | wire spare0_nor3_4x_unused; | |
2378 | wire spare0_nand2_8x_unused; | |
2379 | wire spare0_buf_16x_unused; | |
2380 | wire spare0_nor2_16x_unused; | |
2381 | wire spare0_inv_32x_unused; | |
2382 | wire si_1; | |
2383 | wire so_1; | |
2384 | wire spare1_flop_unused; | |
2385 | wire spare1_buf_32x_unused; | |
2386 | wire spare1_nand3_8x_unused; | |
2387 | wire spare1_inv_8x_unused; | |
2388 | wire spare1_aoi22_4x_unused; | |
2389 | wire spare1_buf_8x_unused; | |
2390 | wire spare1_oai22_4x_unused; | |
2391 | wire spare1_inv_16x_unused; | |
2392 | wire spare1_nand2_16x_unused; | |
2393 | wire spare1_nor3_4x_unused; | |
2394 | wire spare1_nand2_8x_unused; | |
2395 | wire spare1_buf_16x_unused; | |
2396 | wire spare1_nor2_16x_unused; | |
2397 | wire spare1_inv_32x_unused; | |
2398 | wire si_2; | |
2399 | wire so_2; | |
2400 | wire spare2_flop_unused; | |
2401 | wire spare2_buf_32x_unused; | |
2402 | wire spare2_nand3_8x_unused; | |
2403 | wire spare2_inv_8x_unused; | |
2404 | wire spare2_aoi22_4x_unused; | |
2405 | wire spare2_buf_8x_unused; | |
2406 | wire spare2_oai22_4x_unused; | |
2407 | wire spare2_inv_16x_unused; | |
2408 | wire spare2_nand2_16x_unused; | |
2409 | wire spare2_nor3_4x_unused; | |
2410 | wire spare2_nand2_8x_unused; | |
2411 | wire spare2_buf_16x_unused; | |
2412 | wire spare2_nor2_16x_unused; | |
2413 | wire spare2_inv_32x_unused; | |
2414 | wire si_3; | |
2415 | wire so_3; | |
2416 | wire spare3_flop_unused; | |
2417 | wire spare3_buf_32x_unused; | |
2418 | wire spare3_nand3_8x_unused; | |
2419 | wire spare3_inv_8x_unused; | |
2420 | wire spare3_aoi22_4x_unused; | |
2421 | wire spare3_buf_8x_unused; | |
2422 | wire spare3_oai22_4x_unused; | |
2423 | wire spare3_inv_16x_unused; | |
2424 | wire spare3_nand2_16x_unused; | |
2425 | wire spare3_nor3_4x_unused; | |
2426 | wire spare3_nand2_8x_unused; | |
2427 | wire spare3_buf_16x_unused; | |
2428 | wire spare3_nor2_16x_unused; | |
2429 | wire spare3_inv_32x_unused; | |
2430 | wire si_4; | |
2431 | wire so_4; | |
2432 | wire spare4_flop_unused; | |
2433 | wire spare4_buf_32x_unused; | |
2434 | wire spare4_nand3_8x_unused; | |
2435 | wire spare4_inv_8x_unused; | |
2436 | wire spare4_aoi22_4x_unused; | |
2437 | wire spare4_buf_8x_unused; | |
2438 | wire spare4_oai22_4x_unused; | |
2439 | wire spare4_inv_16x_unused; | |
2440 | wire spare4_nand2_16x_unused; | |
2441 | wire spare4_nor3_4x_unused; | |
2442 | wire spare4_nand2_8x_unused; | |
2443 | wire spare4_buf_16x_unused; | |
2444 | wire spare4_nor2_16x_unused; | |
2445 | wire spare4_inv_32x_unused; | |
2446 | wire si_5; | |
2447 | wire so_5; | |
2448 | wire spare5_flop_unused; | |
2449 | wire spare5_buf_32x_unused; | |
2450 | wire spare5_nand3_8x_unused; | |
2451 | wire spare5_inv_8x_unused; | |
2452 | wire spare5_aoi22_4x_unused; | |
2453 | wire spare5_buf_8x_unused; | |
2454 | wire spare5_oai22_4x_unused; | |
2455 | wire spare5_inv_16x_unused; | |
2456 | wire spare5_nand2_16x_unused; | |
2457 | wire spare5_nor3_4x_unused; | |
2458 | wire spare5_nand2_8x_unused; | |
2459 | wire spare5_buf_16x_unused; | |
2460 | wire spare5_nor2_16x_unused; | |
2461 | wire spare5_inv_32x_unused; | |
2462 | wire si_6; | |
2463 | wire so_6; | |
2464 | wire spare6_flop_unused; | |
2465 | wire spare6_buf_32x_unused; | |
2466 | wire spare6_nand3_8x_unused; | |
2467 | wire spare6_inv_8x_unused; | |
2468 | wire spare6_aoi22_4x_unused; | |
2469 | wire spare6_buf_8x_unused; | |
2470 | wire spare6_oai22_4x_unused; | |
2471 | wire spare6_inv_16x_unused; | |
2472 | wire spare6_nand2_16x_unused; | |
2473 | wire spare6_nor3_4x_unused; | |
2474 | wire spare6_nand2_8x_unused; | |
2475 | wire spare6_buf_16x_unused; | |
2476 | wire spare6_nor2_16x_unused; | |
2477 | wire spare6_inv_32x_unused; | |
2478 | wire si_7; | |
2479 | wire so_7; | |
2480 | wire spare7_flop_unused; | |
2481 | wire spare7_buf_32x_unused; | |
2482 | wire spare7_nand3_8x_unused; | |
2483 | wire spare7_inv_8x_unused; | |
2484 | wire spare7_aoi22_4x_unused; | |
2485 | wire spare7_buf_8x_unused; | |
2486 | wire spare7_oai22_4x_unused; | |
2487 | wire spare7_inv_16x_unused; | |
2488 | wire spare7_nand2_16x_unused; | |
2489 | wire spare7_nor3_4x_unused; | |
2490 | wire spare7_nand2_8x_unused; | |
2491 | wire spare7_buf_16x_unused; | |
2492 | wire spare7_nor2_16x_unused; | |
2493 | wire spare7_inv_32x_unused; | |
2494 | wire si_8; | |
2495 | wire so_8; | |
2496 | wire spare8_flop_unused; | |
2497 | wire spare8_buf_32x_unused; | |
2498 | wire spare8_nand3_8x_unused; | |
2499 | wire spare8_inv_8x_unused; | |
2500 | wire spare8_aoi22_4x_unused; | |
2501 | wire spare8_buf_8x_unused; | |
2502 | wire spare8_oai22_4x_unused; | |
2503 | wire spare8_inv_16x_unused; | |
2504 | wire spare8_nand2_16x_unused; | |
2505 | wire spare8_nor3_4x_unused; | |
2506 | wire spare8_nand2_8x_unused; | |
2507 | wire spare8_buf_16x_unused; | |
2508 | wire spare8_nor2_16x_unused; | |
2509 | wire spare8_inv_32x_unused; | |
2510 | wire si_9; | |
2511 | wire so_9; | |
2512 | wire spare9_flop_unused; | |
2513 | wire spare9_buf_32x_unused; | |
2514 | wire spare9_nand3_8x_unused; | |
2515 | wire spare9_inv_8x_unused; | |
2516 | wire spare9_aoi22_4x_unused; | |
2517 | wire spare9_buf_8x_unused; | |
2518 | wire spare9_oai22_4x_unused; | |
2519 | wire spare9_inv_16x_unused; | |
2520 | wire spare9_nand2_16x_unused; | |
2521 | wire spare9_nor3_4x_unused; | |
2522 | wire spare9_nand2_8x_unused; | |
2523 | wire spare9_buf_16x_unused; | |
2524 | wire spare9_nor2_16x_unused; | |
2525 | wire spare9_inv_32x_unused; | |
2526 | wire si_10; | |
2527 | wire so_10; | |
2528 | wire spare10_flop_unused; | |
2529 | wire spare10_buf_32x_unused; | |
2530 | wire spare10_nand3_8x_unused; | |
2531 | wire spare10_inv_8x_unused; | |
2532 | wire spare10_aoi22_4x_unused; | |
2533 | wire spare10_buf_8x_unused; | |
2534 | wire spare10_oai22_4x_unused; | |
2535 | wire spare10_inv_16x_unused; | |
2536 | wire spare10_nand2_16x_unused; | |
2537 | wire spare10_nor3_4x_unused; | |
2538 | wire spare10_nand2_8x_unused; | |
2539 | wire spare10_buf_16x_unused; | |
2540 | wire spare10_nor2_16x_unused; | |
2541 | wire spare10_inv_32x_unused; | |
2542 | wire si_11; | |
2543 | wire so_11; | |
2544 | wire spare11_flop_unused; | |
2545 | wire spare11_buf_32x_unused; | |
2546 | wire spare11_nand3_8x_unused; | |
2547 | wire spare11_inv_8x_unused; | |
2548 | wire spare11_aoi22_4x_unused; | |
2549 | wire spare11_buf_8x_unused; | |
2550 | wire spare11_oai22_4x_unused; | |
2551 | wire spare11_inv_16x_unused; | |
2552 | wire spare11_nand2_16x_unused; | |
2553 | wire spare11_nor3_4x_unused; | |
2554 | wire spare11_nand2_8x_unused; | |
2555 | wire spare11_buf_16x_unused; | |
2556 | wire spare11_nor2_16x_unused; | |
2557 | wire spare11_inv_32x_unused; | |
2558 | wire si_12; | |
2559 | wire so_12; | |
2560 | wire spare12_flop_unused; | |
2561 | wire spare12_buf_32x_unused; | |
2562 | wire spare12_nand3_8x_unused; | |
2563 | wire spare12_inv_8x_unused; | |
2564 | wire spare12_aoi22_4x_unused; | |
2565 | wire spare12_buf_8x_unused; | |
2566 | wire spare12_oai22_4x_unused; | |
2567 | wire spare12_inv_16x_unused; | |
2568 | wire spare12_nand2_16x_unused; | |
2569 | wire spare12_nor3_4x_unused; | |
2570 | wire spare12_nand2_8x_unused; | |
2571 | wire spare12_buf_16x_unused; | |
2572 | wire spare12_nor2_16x_unused; | |
2573 | wire spare12_inv_32x_unused; | |
2574 | wire si_13; | |
2575 | wire so_13; | |
2576 | wire spare13_flop_unused; | |
2577 | wire spare13_buf_32x_unused; | |
2578 | wire spare13_nand3_8x_unused; | |
2579 | wire spare13_inv_8x_unused; | |
2580 | wire spare13_aoi22_4x_unused; | |
2581 | wire spare13_buf_8x_unused; | |
2582 | wire spare13_oai22_4x_unused; | |
2583 | wire spare13_inv_16x_unused; | |
2584 | wire spare13_nand2_16x_unused; | |
2585 | wire spare13_nor3_4x_unused; | |
2586 | wire spare13_nand2_8x_unused; | |
2587 | wire spare13_buf_16x_unused; | |
2588 | wire spare13_nor2_16x_unused; | |
2589 | wire spare13_inv_32x_unused; | |
2590 | wire si_14; | |
2591 | wire so_14; | |
2592 | wire spare14_flop_unused; | |
2593 | wire spare14_buf_32x_unused; | |
2594 | wire spare14_nand3_8x_unused; | |
2595 | wire spare14_inv_8x_unused; | |
2596 | wire spare14_aoi22_4x_unused; | |
2597 | wire spare14_buf_8x_unused; | |
2598 | wire spare14_oai22_4x_unused; | |
2599 | wire spare14_inv_16x_unused; | |
2600 | wire spare14_nand2_16x_unused; | |
2601 | wire spare14_nor3_4x_unused; | |
2602 | wire spare14_nand2_8x_unused; | |
2603 | wire spare14_buf_16x_unused; | |
2604 | wire spare14_nor2_16x_unused; | |
2605 | wire spare14_inv_32x_unused; | |
2606 | wire si_15; | |
2607 | wire so_15; | |
2608 | wire spare15_flop_unused; | |
2609 | wire spare15_buf_32x_unused; | |
2610 | wire spare15_nand3_8x_unused; | |
2611 | wire spare15_inv_8x_unused; | |
2612 | wire spare15_aoi22_4x_unused; | |
2613 | wire spare15_buf_8x_unused; | |
2614 | wire spare15_oai22_4x_unused; | |
2615 | wire spare15_inv_16x_unused; | |
2616 | wire spare15_nand2_16x_unused; | |
2617 | wire spare15_nor3_4x_unused; | |
2618 | wire spare15_nand2_8x_unused; | |
2619 | wire spare15_buf_16x_unused; | |
2620 | wire spare15_nor2_16x_unused; | |
2621 | wire spare15_inv_32x_unused; | |
2622 | wire si_16; | |
2623 | wire so_16; | |
2624 | wire spare16_flop_unused; | |
2625 | wire spare16_buf_32x_unused; | |
2626 | wire spare16_nand3_8x_unused; | |
2627 | wire spare16_inv_8x_unused; | |
2628 | wire spare16_aoi22_4x_unused; | |
2629 | wire spare16_buf_8x_unused; | |
2630 | wire spare16_oai22_4x_unused; | |
2631 | wire spare16_inv_16x_unused; | |
2632 | wire spare16_nand2_16x_unused; | |
2633 | wire spare16_nor3_4x_unused; | |
2634 | wire spare16_nand2_8x_unused; | |
2635 | wire spare16_buf_16x_unused; | |
2636 | wire spare16_nor2_16x_unused; | |
2637 | wire spare16_inv_32x_unused; | |
2638 | wire si_17; | |
2639 | wire so_17; | |
2640 | wire spare17_flop_unused; | |
2641 | wire spare17_buf_32x_unused; | |
2642 | wire spare17_nand3_8x_unused; | |
2643 | wire spare17_inv_8x_unused; | |
2644 | wire spare17_aoi22_4x_unused; | |
2645 | wire spare17_buf_8x_unused; | |
2646 | wire spare17_oai22_4x_unused; | |
2647 | wire spare17_inv_16x_unused; | |
2648 | wire spare17_nand2_16x_unused; | |
2649 | wire spare17_nor3_4x_unused; | |
2650 | wire spare17_nand2_8x_unused; | |
2651 | wire spare17_buf_16x_unused; | |
2652 | wire spare17_nor2_16x_unused; | |
2653 | wire spare17_inv_32x_unused; | |
2654 | wire si_18; | |
2655 | wire so_18; | |
2656 | wire spare18_flop_unused; | |
2657 | wire spare18_buf_32x_unused; | |
2658 | wire spare18_nand3_8x_unused; | |
2659 | wire spare18_inv_8x_unused; | |
2660 | wire spare18_aoi22_4x_unused; | |
2661 | wire spare18_buf_8x_unused; | |
2662 | wire spare18_oai22_4x_unused; | |
2663 | wire spare18_inv_16x_unused; | |
2664 | wire spare18_nand2_16x_unused; | |
2665 | wire spare18_nor3_4x_unused; | |
2666 | wire spare18_nand2_8x_unused; | |
2667 | wire spare18_buf_16x_unused; | |
2668 | wire spare18_nor2_16x_unused; | |
2669 | wire spare18_inv_32x_unused; | |
2670 | wire si_19; | |
2671 | wire so_19; | |
2672 | wire spare19_flop_unused; | |
2673 | wire spare19_buf_32x_unused; | |
2674 | wire spare19_nand3_8x_unused; | |
2675 | wire spare19_inv_8x_unused; | |
2676 | wire spare19_aoi22_4x_unused; | |
2677 | wire spare19_buf_8x_unused; | |
2678 | wire spare19_oai22_4x_unused; | |
2679 | wire spare19_inv_16x_unused; | |
2680 | wire spare19_nand2_16x_unused; | |
2681 | wire spare19_nor3_4x_unused; | |
2682 | wire spare19_nand2_8x_unused; | |
2683 | wire spare19_buf_16x_unused; | |
2684 | wire spare19_nor2_16x_unused; | |
2685 | wire spare19_inv_32x_unused; | |
2686 | ||
2687 | ||
2688 | input l1clk; | |
2689 | input scan_in; | |
2690 | input siclk; | |
2691 | input soclk; | |
2692 | output scan_out; | |
2693 | ||
2694 | cl_sc1_msff_8x spare0_flop (.l1clk(l1clk), | |
2695 | .siclk(siclk), | |
2696 | .soclk(soclk), | |
2697 | .si(si_0), | |
2698 | .so(so_0), | |
2699 | .d(1'b0), | |
2700 | .q(spare0_flop_unused)); | |
2701 | assign si_0 = scan_in; | |
2702 | ||
2703 | cl_u1_buf_32x spare0_buf_32x (.in(1'b1), | |
2704 | .out(spare0_buf_32x_unused)); | |
2705 | cl_u1_nand3_8x spare0_nand3_8x (.in0(1'b1), | |
2706 | .in1(1'b1), | |
2707 | .in2(1'b1), | |
2708 | .out(spare0_nand3_8x_unused)); | |
2709 | cl_u1_inv_8x spare0_inv_8x (.in(1'b1), | |
2710 | .out(spare0_inv_8x_unused)); | |
2711 | cl_u1_aoi22_4x spare0_aoi22_4x (.in00(1'b1), | |
2712 | .in01(1'b1), | |
2713 | .in10(1'b1), | |
2714 | .in11(1'b1), | |
2715 | .out(spare0_aoi22_4x_unused)); | |
2716 | cl_u1_buf_8x spare0_buf_8x (.in(1'b1), | |
2717 | .out(spare0_buf_8x_unused)); | |
2718 | cl_u1_oai22_4x spare0_oai22_4x (.in00(1'b1), | |
2719 | .in01(1'b1), | |
2720 | .in10(1'b1), | |
2721 | .in11(1'b1), | |
2722 | .out(spare0_oai22_4x_unused)); | |
2723 | cl_u1_inv_16x spare0_inv_16x (.in(1'b1), | |
2724 | .out(spare0_inv_16x_unused)); | |
2725 | cl_u1_nand2_16x spare0_nand2_16x (.in0(1'b1), | |
2726 | .in1(1'b1), | |
2727 | .out(spare0_nand2_16x_unused)); | |
2728 | cl_u1_nor3_4x spare0_nor3_4x (.in0(1'b0), | |
2729 | .in1(1'b0), | |
2730 | .in2(1'b0), | |
2731 | .out(spare0_nor3_4x_unused)); | |
2732 | cl_u1_nand2_8x spare0_nand2_8x (.in0(1'b1), | |
2733 | .in1(1'b1), | |
2734 | .out(spare0_nand2_8x_unused)); | |
2735 | cl_u1_buf_16x spare0_buf_16x (.in(1'b1), | |
2736 | .out(spare0_buf_16x_unused)); | |
2737 | cl_u1_nor2_16x spare0_nor2_16x (.in0(1'b0), | |
2738 | .in1(1'b0), | |
2739 | .out(spare0_nor2_16x_unused)); | |
2740 | cl_u1_inv_32x spare0_inv_32x (.in(1'b1), | |
2741 | .out(spare0_inv_32x_unused)); | |
2742 | ||
2743 | cl_sc1_msff_8x spare1_flop (.l1clk(l1clk), | |
2744 | .siclk(siclk), | |
2745 | .soclk(soclk), | |
2746 | .si(si_1), | |
2747 | .so(so_1), | |
2748 | .d(1'b0), | |
2749 | .q(spare1_flop_unused)); | |
2750 | assign si_1 = so_0; | |
2751 | ||
2752 | cl_u1_buf_32x spare1_buf_32x (.in(1'b1), | |
2753 | .out(spare1_buf_32x_unused)); | |
2754 | cl_u1_nand3_8x spare1_nand3_8x (.in0(1'b1), | |
2755 | .in1(1'b1), | |
2756 | .in2(1'b1), | |
2757 | .out(spare1_nand3_8x_unused)); | |
2758 | cl_u1_inv_8x spare1_inv_8x (.in(1'b1), | |
2759 | .out(spare1_inv_8x_unused)); | |
2760 | cl_u1_aoi22_4x spare1_aoi22_4x (.in00(1'b1), | |
2761 | .in01(1'b1), | |
2762 | .in10(1'b1), | |
2763 | .in11(1'b1), | |
2764 | .out(spare1_aoi22_4x_unused)); | |
2765 | cl_u1_buf_8x spare1_buf_8x (.in(1'b1), | |
2766 | .out(spare1_buf_8x_unused)); | |
2767 | cl_u1_oai22_4x spare1_oai22_4x (.in00(1'b1), | |
2768 | .in01(1'b1), | |
2769 | .in10(1'b1), | |
2770 | .in11(1'b1), | |
2771 | .out(spare1_oai22_4x_unused)); | |
2772 | cl_u1_inv_16x spare1_inv_16x (.in(1'b1), | |
2773 | .out(spare1_inv_16x_unused)); | |
2774 | cl_u1_nand2_16x spare1_nand2_16x (.in0(1'b1), | |
2775 | .in1(1'b1), | |
2776 | .out(spare1_nand2_16x_unused)); | |
2777 | cl_u1_nor3_4x spare1_nor3_4x (.in0(1'b0), | |
2778 | .in1(1'b0), | |
2779 | .in2(1'b0), | |
2780 | .out(spare1_nor3_4x_unused)); | |
2781 | cl_u1_nand2_8x spare1_nand2_8x (.in0(1'b1), | |
2782 | .in1(1'b1), | |
2783 | .out(spare1_nand2_8x_unused)); | |
2784 | cl_u1_buf_16x spare1_buf_16x (.in(1'b1), | |
2785 | .out(spare1_buf_16x_unused)); | |
2786 | cl_u1_nor2_16x spare1_nor2_16x (.in0(1'b0), | |
2787 | .in1(1'b0), | |
2788 | .out(spare1_nor2_16x_unused)); | |
2789 | cl_u1_inv_32x spare1_inv_32x (.in(1'b1), | |
2790 | .out(spare1_inv_32x_unused)); | |
2791 | ||
2792 | cl_sc1_msff_8x spare2_flop (.l1clk(l1clk), | |
2793 | .siclk(siclk), | |
2794 | .soclk(soclk), | |
2795 | .si(si_2), | |
2796 | .so(so_2), | |
2797 | .d(1'b0), | |
2798 | .q(spare2_flop_unused)); | |
2799 | assign si_2 = so_1; | |
2800 | ||
2801 | cl_u1_buf_32x spare2_buf_32x (.in(1'b1), | |
2802 | .out(spare2_buf_32x_unused)); | |
2803 | cl_u1_nand3_8x spare2_nand3_8x (.in0(1'b1), | |
2804 | .in1(1'b1), | |
2805 | .in2(1'b1), | |
2806 | .out(spare2_nand3_8x_unused)); | |
2807 | cl_u1_inv_8x spare2_inv_8x (.in(1'b1), | |
2808 | .out(spare2_inv_8x_unused)); | |
2809 | cl_u1_aoi22_4x spare2_aoi22_4x (.in00(1'b1), | |
2810 | .in01(1'b1), | |
2811 | .in10(1'b1), | |
2812 | .in11(1'b1), | |
2813 | .out(spare2_aoi22_4x_unused)); | |
2814 | cl_u1_buf_8x spare2_buf_8x (.in(1'b1), | |
2815 | .out(spare2_buf_8x_unused)); | |
2816 | cl_u1_oai22_4x spare2_oai22_4x (.in00(1'b1), | |
2817 | .in01(1'b1), | |
2818 | .in10(1'b1), | |
2819 | .in11(1'b1), | |
2820 | .out(spare2_oai22_4x_unused)); | |
2821 | cl_u1_inv_16x spare2_inv_16x (.in(1'b1), | |
2822 | .out(spare2_inv_16x_unused)); | |
2823 | cl_u1_nand2_16x spare2_nand2_16x (.in0(1'b1), | |
2824 | .in1(1'b1), | |
2825 | .out(spare2_nand2_16x_unused)); | |
2826 | cl_u1_nor3_4x spare2_nor3_4x (.in0(1'b0), | |
2827 | .in1(1'b0), | |
2828 | .in2(1'b0), | |
2829 | .out(spare2_nor3_4x_unused)); | |
2830 | cl_u1_nand2_8x spare2_nand2_8x (.in0(1'b1), | |
2831 | .in1(1'b1), | |
2832 | .out(spare2_nand2_8x_unused)); | |
2833 | cl_u1_buf_16x spare2_buf_16x (.in(1'b1), | |
2834 | .out(spare2_buf_16x_unused)); | |
2835 | cl_u1_nor2_16x spare2_nor2_16x (.in0(1'b0), | |
2836 | .in1(1'b0), | |
2837 | .out(spare2_nor2_16x_unused)); | |
2838 | cl_u1_inv_32x spare2_inv_32x (.in(1'b1), | |
2839 | .out(spare2_inv_32x_unused)); | |
2840 | ||
2841 | cl_sc1_msff_8x spare3_flop (.l1clk(l1clk), | |
2842 | .siclk(siclk), | |
2843 | .soclk(soclk), | |
2844 | .si(si_3), | |
2845 | .so(so_3), | |
2846 | .d(1'b0), | |
2847 | .q(spare3_flop_unused)); | |
2848 | assign si_3 = so_2; | |
2849 | ||
2850 | cl_u1_buf_32x spare3_buf_32x (.in(1'b1), | |
2851 | .out(spare3_buf_32x_unused)); | |
2852 | cl_u1_nand3_8x spare3_nand3_8x (.in0(1'b1), | |
2853 | .in1(1'b1), | |
2854 | .in2(1'b1), | |
2855 | .out(spare3_nand3_8x_unused)); | |
2856 | cl_u1_inv_8x spare3_inv_8x (.in(1'b1), | |
2857 | .out(spare3_inv_8x_unused)); | |
2858 | cl_u1_aoi22_4x spare3_aoi22_4x (.in00(1'b1), | |
2859 | .in01(1'b1), | |
2860 | .in10(1'b1), | |
2861 | .in11(1'b1), | |
2862 | .out(spare3_aoi22_4x_unused)); | |
2863 | cl_u1_buf_8x spare3_buf_8x (.in(1'b1), | |
2864 | .out(spare3_buf_8x_unused)); | |
2865 | cl_u1_oai22_4x spare3_oai22_4x (.in00(1'b1), | |
2866 | .in01(1'b1), | |
2867 | .in10(1'b1), | |
2868 | .in11(1'b1), | |
2869 | .out(spare3_oai22_4x_unused)); | |
2870 | cl_u1_inv_16x spare3_inv_16x (.in(1'b1), | |
2871 | .out(spare3_inv_16x_unused)); | |
2872 | cl_u1_nand2_16x spare3_nand2_16x (.in0(1'b1), | |
2873 | .in1(1'b1), | |
2874 | .out(spare3_nand2_16x_unused)); | |
2875 | cl_u1_nor3_4x spare3_nor3_4x (.in0(1'b0), | |
2876 | .in1(1'b0), | |
2877 | .in2(1'b0), | |
2878 | .out(spare3_nor3_4x_unused)); | |
2879 | cl_u1_nand2_8x spare3_nand2_8x (.in0(1'b1), | |
2880 | .in1(1'b1), | |
2881 | .out(spare3_nand2_8x_unused)); | |
2882 | cl_u1_buf_16x spare3_buf_16x (.in(1'b1), | |
2883 | .out(spare3_buf_16x_unused)); | |
2884 | cl_u1_nor2_16x spare3_nor2_16x (.in0(1'b0), | |
2885 | .in1(1'b0), | |
2886 | .out(spare3_nor2_16x_unused)); | |
2887 | cl_u1_inv_32x spare3_inv_32x (.in(1'b1), | |
2888 | .out(spare3_inv_32x_unused)); | |
2889 | ||
2890 | cl_sc1_msff_8x spare4_flop (.l1clk(l1clk), | |
2891 | .siclk(siclk), | |
2892 | .soclk(soclk), | |
2893 | .si(si_4), | |
2894 | .so(so_4), | |
2895 | .d(1'b0), | |
2896 | .q(spare4_flop_unused)); | |
2897 | assign si_4 = so_3; | |
2898 | ||
2899 | cl_u1_buf_32x spare4_buf_32x (.in(1'b1), | |
2900 | .out(spare4_buf_32x_unused)); | |
2901 | cl_u1_nand3_8x spare4_nand3_8x (.in0(1'b1), | |
2902 | .in1(1'b1), | |
2903 | .in2(1'b1), | |
2904 | .out(spare4_nand3_8x_unused)); | |
2905 | cl_u1_inv_8x spare4_inv_8x (.in(1'b1), | |
2906 | .out(spare4_inv_8x_unused)); | |
2907 | cl_u1_aoi22_4x spare4_aoi22_4x (.in00(1'b1), | |
2908 | .in01(1'b1), | |
2909 | .in10(1'b1), | |
2910 | .in11(1'b1), | |
2911 | .out(spare4_aoi22_4x_unused)); | |
2912 | cl_u1_buf_8x spare4_buf_8x (.in(1'b1), | |
2913 | .out(spare4_buf_8x_unused)); | |
2914 | cl_u1_oai22_4x spare4_oai22_4x (.in00(1'b1), | |
2915 | .in01(1'b1), | |
2916 | .in10(1'b1), | |
2917 | .in11(1'b1), | |
2918 | .out(spare4_oai22_4x_unused)); | |
2919 | cl_u1_inv_16x spare4_inv_16x (.in(1'b1), | |
2920 | .out(spare4_inv_16x_unused)); | |
2921 | cl_u1_nand2_16x spare4_nand2_16x (.in0(1'b1), | |
2922 | .in1(1'b1), | |
2923 | .out(spare4_nand2_16x_unused)); | |
2924 | cl_u1_nor3_4x spare4_nor3_4x (.in0(1'b0), | |
2925 | .in1(1'b0), | |
2926 | .in2(1'b0), | |
2927 | .out(spare4_nor3_4x_unused)); | |
2928 | cl_u1_nand2_8x spare4_nand2_8x (.in0(1'b1), | |
2929 | .in1(1'b1), | |
2930 | .out(spare4_nand2_8x_unused)); | |
2931 | cl_u1_buf_16x spare4_buf_16x (.in(1'b1), | |
2932 | .out(spare4_buf_16x_unused)); | |
2933 | cl_u1_nor2_16x spare4_nor2_16x (.in0(1'b0), | |
2934 | .in1(1'b0), | |
2935 | .out(spare4_nor2_16x_unused)); | |
2936 | cl_u1_inv_32x spare4_inv_32x (.in(1'b1), | |
2937 | .out(spare4_inv_32x_unused)); | |
2938 | ||
2939 | cl_sc1_msff_8x spare5_flop (.l1clk(l1clk), | |
2940 | .siclk(siclk), | |
2941 | .soclk(soclk), | |
2942 | .si(si_5), | |
2943 | .so(so_5), | |
2944 | .d(1'b0), | |
2945 | .q(spare5_flop_unused)); | |
2946 | assign si_5 = so_4; | |
2947 | ||
2948 | cl_u1_buf_32x spare5_buf_32x (.in(1'b1), | |
2949 | .out(spare5_buf_32x_unused)); | |
2950 | cl_u1_nand3_8x spare5_nand3_8x (.in0(1'b1), | |
2951 | .in1(1'b1), | |
2952 | .in2(1'b1), | |
2953 | .out(spare5_nand3_8x_unused)); | |
2954 | cl_u1_inv_8x spare5_inv_8x (.in(1'b1), | |
2955 | .out(spare5_inv_8x_unused)); | |
2956 | cl_u1_aoi22_4x spare5_aoi22_4x (.in00(1'b1), | |
2957 | .in01(1'b1), | |
2958 | .in10(1'b1), | |
2959 | .in11(1'b1), | |
2960 | .out(spare5_aoi22_4x_unused)); | |
2961 | cl_u1_buf_8x spare5_buf_8x (.in(1'b1), | |
2962 | .out(spare5_buf_8x_unused)); | |
2963 | cl_u1_oai22_4x spare5_oai22_4x (.in00(1'b1), | |
2964 | .in01(1'b1), | |
2965 | .in10(1'b1), | |
2966 | .in11(1'b1), | |
2967 | .out(spare5_oai22_4x_unused)); | |
2968 | cl_u1_inv_16x spare5_inv_16x (.in(1'b1), | |
2969 | .out(spare5_inv_16x_unused)); | |
2970 | cl_u1_nand2_16x spare5_nand2_16x (.in0(1'b1), | |
2971 | .in1(1'b1), | |
2972 | .out(spare5_nand2_16x_unused)); | |
2973 | cl_u1_nor3_4x spare5_nor3_4x (.in0(1'b0), | |
2974 | .in1(1'b0), | |
2975 | .in2(1'b0), | |
2976 | .out(spare5_nor3_4x_unused)); | |
2977 | cl_u1_nand2_8x spare5_nand2_8x (.in0(1'b1), | |
2978 | .in1(1'b1), | |
2979 | .out(spare5_nand2_8x_unused)); | |
2980 | cl_u1_buf_16x spare5_buf_16x (.in(1'b1), | |
2981 | .out(spare5_buf_16x_unused)); | |
2982 | cl_u1_nor2_16x spare5_nor2_16x (.in0(1'b0), | |
2983 | .in1(1'b0), | |
2984 | .out(spare5_nor2_16x_unused)); | |
2985 | cl_u1_inv_32x spare5_inv_32x (.in(1'b1), | |
2986 | .out(spare5_inv_32x_unused)); | |
2987 | ||
2988 | cl_sc1_msff_8x spare6_flop (.l1clk(l1clk), | |
2989 | .siclk(siclk), | |
2990 | .soclk(soclk), | |
2991 | .si(si_6), | |
2992 | .so(so_6), | |
2993 | .d(1'b0), | |
2994 | .q(spare6_flop_unused)); | |
2995 | assign si_6 = so_5; | |
2996 | ||
2997 | cl_u1_buf_32x spare6_buf_32x (.in(1'b1), | |
2998 | .out(spare6_buf_32x_unused)); | |
2999 | cl_u1_nand3_8x spare6_nand3_8x (.in0(1'b1), | |
3000 | .in1(1'b1), | |
3001 | .in2(1'b1), | |
3002 | .out(spare6_nand3_8x_unused)); | |
3003 | cl_u1_inv_8x spare6_inv_8x (.in(1'b1), | |
3004 | .out(spare6_inv_8x_unused)); | |
3005 | cl_u1_aoi22_4x spare6_aoi22_4x (.in00(1'b1), | |
3006 | .in01(1'b1), | |
3007 | .in10(1'b1), | |
3008 | .in11(1'b1), | |
3009 | .out(spare6_aoi22_4x_unused)); | |
3010 | cl_u1_buf_8x spare6_buf_8x (.in(1'b1), | |
3011 | .out(spare6_buf_8x_unused)); | |
3012 | cl_u1_oai22_4x spare6_oai22_4x (.in00(1'b1), | |
3013 | .in01(1'b1), | |
3014 | .in10(1'b1), | |
3015 | .in11(1'b1), | |
3016 | .out(spare6_oai22_4x_unused)); | |
3017 | cl_u1_inv_16x spare6_inv_16x (.in(1'b1), | |
3018 | .out(spare6_inv_16x_unused)); | |
3019 | cl_u1_nand2_16x spare6_nand2_16x (.in0(1'b1), | |
3020 | .in1(1'b1), | |
3021 | .out(spare6_nand2_16x_unused)); | |
3022 | cl_u1_nor3_4x spare6_nor3_4x (.in0(1'b0), | |
3023 | .in1(1'b0), | |
3024 | .in2(1'b0), | |
3025 | .out(spare6_nor3_4x_unused)); | |
3026 | cl_u1_nand2_8x spare6_nand2_8x (.in0(1'b1), | |
3027 | .in1(1'b1), | |
3028 | .out(spare6_nand2_8x_unused)); | |
3029 | cl_u1_buf_16x spare6_buf_16x (.in(1'b1), | |
3030 | .out(spare6_buf_16x_unused)); | |
3031 | cl_u1_nor2_16x spare6_nor2_16x (.in0(1'b0), | |
3032 | .in1(1'b0), | |
3033 | .out(spare6_nor2_16x_unused)); | |
3034 | cl_u1_inv_32x spare6_inv_32x (.in(1'b1), | |
3035 | .out(spare6_inv_32x_unused)); | |
3036 | ||
3037 | cl_sc1_msff_8x spare7_flop (.l1clk(l1clk), | |
3038 | .siclk(siclk), | |
3039 | .soclk(soclk), | |
3040 | .si(si_7), | |
3041 | .so(so_7), | |
3042 | .d(1'b0), | |
3043 | .q(spare7_flop_unused)); | |
3044 | assign si_7 = so_6; | |
3045 | ||
3046 | cl_u1_buf_32x spare7_buf_32x (.in(1'b1), | |
3047 | .out(spare7_buf_32x_unused)); | |
3048 | cl_u1_nand3_8x spare7_nand3_8x (.in0(1'b1), | |
3049 | .in1(1'b1), | |
3050 | .in2(1'b1), | |
3051 | .out(spare7_nand3_8x_unused)); | |
3052 | cl_u1_inv_8x spare7_inv_8x (.in(1'b1), | |
3053 | .out(spare7_inv_8x_unused)); | |
3054 | cl_u1_aoi22_4x spare7_aoi22_4x (.in00(1'b1), | |
3055 | .in01(1'b1), | |
3056 | .in10(1'b1), | |
3057 | .in11(1'b1), | |
3058 | .out(spare7_aoi22_4x_unused)); | |
3059 | cl_u1_buf_8x spare7_buf_8x (.in(1'b1), | |
3060 | .out(spare7_buf_8x_unused)); | |
3061 | cl_u1_oai22_4x spare7_oai22_4x (.in00(1'b1), | |
3062 | .in01(1'b1), | |
3063 | .in10(1'b1), | |
3064 | .in11(1'b1), | |
3065 | .out(spare7_oai22_4x_unused)); | |
3066 | cl_u1_inv_16x spare7_inv_16x (.in(1'b1), | |
3067 | .out(spare7_inv_16x_unused)); | |
3068 | cl_u1_nand2_16x spare7_nand2_16x (.in0(1'b1), | |
3069 | .in1(1'b1), | |
3070 | .out(spare7_nand2_16x_unused)); | |
3071 | cl_u1_nor3_4x spare7_nor3_4x (.in0(1'b0), | |
3072 | .in1(1'b0), | |
3073 | .in2(1'b0), | |
3074 | .out(spare7_nor3_4x_unused)); | |
3075 | cl_u1_nand2_8x spare7_nand2_8x (.in0(1'b1), | |
3076 | .in1(1'b1), | |
3077 | .out(spare7_nand2_8x_unused)); | |
3078 | cl_u1_buf_16x spare7_buf_16x (.in(1'b1), | |
3079 | .out(spare7_buf_16x_unused)); | |
3080 | cl_u1_nor2_16x spare7_nor2_16x (.in0(1'b0), | |
3081 | .in1(1'b0), | |
3082 | .out(spare7_nor2_16x_unused)); | |
3083 | cl_u1_inv_32x spare7_inv_32x (.in(1'b1), | |
3084 | .out(spare7_inv_32x_unused)); | |
3085 | ||
3086 | cl_sc1_msff_8x spare8_flop (.l1clk(l1clk), | |
3087 | .siclk(siclk), | |
3088 | .soclk(soclk), | |
3089 | .si(si_8), | |
3090 | .so(so_8), | |
3091 | .d(1'b0), | |
3092 | .q(spare8_flop_unused)); | |
3093 | assign si_8 = so_7; | |
3094 | ||
3095 | cl_u1_buf_32x spare8_buf_32x (.in(1'b1), | |
3096 | .out(spare8_buf_32x_unused)); | |
3097 | cl_u1_nand3_8x spare8_nand3_8x (.in0(1'b1), | |
3098 | .in1(1'b1), | |
3099 | .in2(1'b1), | |
3100 | .out(spare8_nand3_8x_unused)); | |
3101 | cl_u1_inv_8x spare8_inv_8x (.in(1'b1), | |
3102 | .out(spare8_inv_8x_unused)); | |
3103 | cl_u1_aoi22_4x spare8_aoi22_4x (.in00(1'b1), | |
3104 | .in01(1'b1), | |
3105 | .in10(1'b1), | |
3106 | .in11(1'b1), | |
3107 | .out(spare8_aoi22_4x_unused)); | |
3108 | cl_u1_buf_8x spare8_buf_8x (.in(1'b1), | |
3109 | .out(spare8_buf_8x_unused)); | |
3110 | cl_u1_oai22_4x spare8_oai22_4x (.in00(1'b1), | |
3111 | .in01(1'b1), | |
3112 | .in10(1'b1), | |
3113 | .in11(1'b1), | |
3114 | .out(spare8_oai22_4x_unused)); | |
3115 | cl_u1_inv_16x spare8_inv_16x (.in(1'b1), | |
3116 | .out(spare8_inv_16x_unused)); | |
3117 | cl_u1_nand2_16x spare8_nand2_16x (.in0(1'b1), | |
3118 | .in1(1'b1), | |
3119 | .out(spare8_nand2_16x_unused)); | |
3120 | cl_u1_nor3_4x spare8_nor3_4x (.in0(1'b0), | |
3121 | .in1(1'b0), | |
3122 | .in2(1'b0), | |
3123 | .out(spare8_nor3_4x_unused)); | |
3124 | cl_u1_nand2_8x spare8_nand2_8x (.in0(1'b1), | |
3125 | .in1(1'b1), | |
3126 | .out(spare8_nand2_8x_unused)); | |
3127 | cl_u1_buf_16x spare8_buf_16x (.in(1'b1), | |
3128 | .out(spare8_buf_16x_unused)); | |
3129 | cl_u1_nor2_16x spare8_nor2_16x (.in0(1'b0), | |
3130 | .in1(1'b0), | |
3131 | .out(spare8_nor2_16x_unused)); | |
3132 | cl_u1_inv_32x spare8_inv_32x (.in(1'b1), | |
3133 | .out(spare8_inv_32x_unused)); | |
3134 | ||
3135 | cl_sc1_msff_8x spare9_flop (.l1clk(l1clk), | |
3136 | .siclk(siclk), | |
3137 | .soclk(soclk), | |
3138 | .si(si_9), | |
3139 | .so(so_9), | |
3140 | .d(1'b0), | |
3141 | .q(spare9_flop_unused)); | |
3142 | assign si_9 = so_8; | |
3143 | ||
3144 | cl_u1_buf_32x spare9_buf_32x (.in(1'b1), | |
3145 | .out(spare9_buf_32x_unused)); | |
3146 | cl_u1_nand3_8x spare9_nand3_8x (.in0(1'b1), | |
3147 | .in1(1'b1), | |
3148 | .in2(1'b1), | |
3149 | .out(spare9_nand3_8x_unused)); | |
3150 | cl_u1_inv_8x spare9_inv_8x (.in(1'b1), | |
3151 | .out(spare9_inv_8x_unused)); | |
3152 | cl_u1_aoi22_4x spare9_aoi22_4x (.in00(1'b1), | |
3153 | .in01(1'b1), | |
3154 | .in10(1'b1), | |
3155 | .in11(1'b1), | |
3156 | .out(spare9_aoi22_4x_unused)); | |
3157 | cl_u1_buf_8x spare9_buf_8x (.in(1'b1), | |
3158 | .out(spare9_buf_8x_unused)); | |
3159 | cl_u1_oai22_4x spare9_oai22_4x (.in00(1'b1), | |
3160 | .in01(1'b1), | |
3161 | .in10(1'b1), | |
3162 | .in11(1'b1), | |
3163 | .out(spare9_oai22_4x_unused)); | |
3164 | cl_u1_inv_16x spare9_inv_16x (.in(1'b1), | |
3165 | .out(spare9_inv_16x_unused)); | |
3166 | cl_u1_nand2_16x spare9_nand2_16x (.in0(1'b1), | |
3167 | .in1(1'b1), | |
3168 | .out(spare9_nand2_16x_unused)); | |
3169 | cl_u1_nor3_4x spare9_nor3_4x (.in0(1'b0), | |
3170 | .in1(1'b0), | |
3171 | .in2(1'b0), | |
3172 | .out(spare9_nor3_4x_unused)); | |
3173 | cl_u1_nand2_8x spare9_nand2_8x (.in0(1'b1), | |
3174 | .in1(1'b1), | |
3175 | .out(spare9_nand2_8x_unused)); | |
3176 | cl_u1_buf_16x spare9_buf_16x (.in(1'b1), | |
3177 | .out(spare9_buf_16x_unused)); | |
3178 | cl_u1_nor2_16x spare9_nor2_16x (.in0(1'b0), | |
3179 | .in1(1'b0), | |
3180 | .out(spare9_nor2_16x_unused)); | |
3181 | cl_u1_inv_32x spare9_inv_32x (.in(1'b1), | |
3182 | .out(spare9_inv_32x_unused)); | |
3183 | ||
3184 | cl_sc1_msff_8x spare10_flop (.l1clk(l1clk), | |
3185 | .siclk(siclk), | |
3186 | .soclk(soclk), | |
3187 | .si(si_10), | |
3188 | .so(so_10), | |
3189 | .d(1'b0), | |
3190 | .q(spare10_flop_unused)); | |
3191 | assign si_10 = so_9; | |
3192 | ||
3193 | cl_u1_buf_32x spare10_buf_32x (.in(1'b1), | |
3194 | .out(spare10_buf_32x_unused)); | |
3195 | cl_u1_nand3_8x spare10_nand3_8x (.in0(1'b1), | |
3196 | .in1(1'b1), | |
3197 | .in2(1'b1), | |
3198 | .out(spare10_nand3_8x_unused)); | |
3199 | cl_u1_inv_8x spare10_inv_8x (.in(1'b1), | |
3200 | .out(spare10_inv_8x_unused)); | |
3201 | cl_u1_aoi22_4x spare10_aoi22_4x (.in00(1'b1), | |
3202 | .in01(1'b1), | |
3203 | .in10(1'b1), | |
3204 | .in11(1'b1), | |
3205 | .out(spare10_aoi22_4x_unused)); | |
3206 | cl_u1_buf_8x spare10_buf_8x (.in(1'b1), | |
3207 | .out(spare10_buf_8x_unused)); | |
3208 | cl_u1_oai22_4x spare10_oai22_4x (.in00(1'b1), | |
3209 | .in01(1'b1), | |
3210 | .in10(1'b1), | |
3211 | .in11(1'b1), | |
3212 | .out(spare10_oai22_4x_unused)); | |
3213 | cl_u1_inv_16x spare10_inv_16x (.in(1'b1), | |
3214 | .out(spare10_inv_16x_unused)); | |
3215 | cl_u1_nand2_16x spare10_nand2_16x (.in0(1'b1), | |
3216 | .in1(1'b1), | |
3217 | .out(spare10_nand2_16x_unused)); | |
3218 | cl_u1_nor3_4x spare10_nor3_4x (.in0(1'b0), | |
3219 | .in1(1'b0), | |
3220 | .in2(1'b0), | |
3221 | .out(spare10_nor3_4x_unused)); | |
3222 | cl_u1_nand2_8x spare10_nand2_8x (.in0(1'b1), | |
3223 | .in1(1'b1), | |
3224 | .out(spare10_nand2_8x_unused)); | |
3225 | cl_u1_buf_16x spare10_buf_16x (.in(1'b1), | |
3226 | .out(spare10_buf_16x_unused)); | |
3227 | cl_u1_nor2_16x spare10_nor2_16x (.in0(1'b0), | |
3228 | .in1(1'b0), | |
3229 | .out(spare10_nor2_16x_unused)); | |
3230 | cl_u1_inv_32x spare10_inv_32x (.in(1'b1), | |
3231 | .out(spare10_inv_32x_unused)); | |
3232 | ||
3233 | cl_sc1_msff_8x spare11_flop (.l1clk(l1clk), | |
3234 | .siclk(siclk), | |
3235 | .soclk(soclk), | |
3236 | .si(si_11), | |
3237 | .so(so_11), | |
3238 | .d(1'b0), | |
3239 | .q(spare11_flop_unused)); | |
3240 | assign si_11 = so_10; | |
3241 | ||
3242 | cl_u1_buf_32x spare11_buf_32x (.in(1'b1), | |
3243 | .out(spare11_buf_32x_unused)); | |
3244 | cl_u1_nand3_8x spare11_nand3_8x (.in0(1'b1), | |
3245 | .in1(1'b1), | |
3246 | .in2(1'b1), | |
3247 | .out(spare11_nand3_8x_unused)); | |
3248 | cl_u1_inv_8x spare11_inv_8x (.in(1'b1), | |
3249 | .out(spare11_inv_8x_unused)); | |
3250 | cl_u1_aoi22_4x spare11_aoi22_4x (.in00(1'b1), | |
3251 | .in01(1'b1), | |
3252 | .in10(1'b1), | |
3253 | .in11(1'b1), | |
3254 | .out(spare11_aoi22_4x_unused)); | |
3255 | cl_u1_buf_8x spare11_buf_8x (.in(1'b1), | |
3256 | .out(spare11_buf_8x_unused)); | |
3257 | cl_u1_oai22_4x spare11_oai22_4x (.in00(1'b1), | |
3258 | .in01(1'b1), | |
3259 | .in10(1'b1), | |
3260 | .in11(1'b1), | |
3261 | .out(spare11_oai22_4x_unused)); | |
3262 | cl_u1_inv_16x spare11_inv_16x (.in(1'b1), | |
3263 | .out(spare11_inv_16x_unused)); | |
3264 | cl_u1_nand2_16x spare11_nand2_16x (.in0(1'b1), | |
3265 | .in1(1'b1), | |
3266 | .out(spare11_nand2_16x_unused)); | |
3267 | cl_u1_nor3_4x spare11_nor3_4x (.in0(1'b0), | |
3268 | .in1(1'b0), | |
3269 | .in2(1'b0), | |
3270 | .out(spare11_nor3_4x_unused)); | |
3271 | cl_u1_nand2_8x spare11_nand2_8x (.in0(1'b1), | |
3272 | .in1(1'b1), | |
3273 | .out(spare11_nand2_8x_unused)); | |
3274 | cl_u1_buf_16x spare11_buf_16x (.in(1'b1), | |
3275 | .out(spare11_buf_16x_unused)); | |
3276 | cl_u1_nor2_16x spare11_nor2_16x (.in0(1'b0), | |
3277 | .in1(1'b0), | |
3278 | .out(spare11_nor2_16x_unused)); | |
3279 | cl_u1_inv_32x spare11_inv_32x (.in(1'b1), | |
3280 | .out(spare11_inv_32x_unused)); | |
3281 | ||
3282 | cl_sc1_msff_8x spare12_flop (.l1clk(l1clk), | |
3283 | .siclk(siclk), | |
3284 | .soclk(soclk), | |
3285 | .si(si_12), | |
3286 | .so(so_12), | |
3287 | .d(1'b0), | |
3288 | .q(spare12_flop_unused)); | |
3289 | assign si_12 = so_11; | |
3290 | ||
3291 | cl_u1_buf_32x spare12_buf_32x (.in(1'b1), | |
3292 | .out(spare12_buf_32x_unused)); | |
3293 | cl_u1_nand3_8x spare12_nand3_8x (.in0(1'b1), | |
3294 | .in1(1'b1), | |
3295 | .in2(1'b1), | |
3296 | .out(spare12_nand3_8x_unused)); | |
3297 | cl_u1_inv_8x spare12_inv_8x (.in(1'b1), | |
3298 | .out(spare12_inv_8x_unused)); | |
3299 | cl_u1_aoi22_4x spare12_aoi22_4x (.in00(1'b1), | |
3300 | .in01(1'b1), | |
3301 | .in10(1'b1), | |
3302 | .in11(1'b1), | |
3303 | .out(spare12_aoi22_4x_unused)); | |
3304 | cl_u1_buf_8x spare12_buf_8x (.in(1'b1), | |
3305 | .out(spare12_buf_8x_unused)); | |
3306 | cl_u1_oai22_4x spare12_oai22_4x (.in00(1'b1), | |
3307 | .in01(1'b1), | |
3308 | .in10(1'b1), | |
3309 | .in11(1'b1), | |
3310 | .out(spare12_oai22_4x_unused)); | |
3311 | cl_u1_inv_16x spare12_inv_16x (.in(1'b1), | |
3312 | .out(spare12_inv_16x_unused)); | |
3313 | cl_u1_nand2_16x spare12_nand2_16x (.in0(1'b1), | |
3314 | .in1(1'b1), | |
3315 | .out(spare12_nand2_16x_unused)); | |
3316 | cl_u1_nor3_4x spare12_nor3_4x (.in0(1'b0), | |
3317 | .in1(1'b0), | |
3318 | .in2(1'b0), | |
3319 | .out(spare12_nor3_4x_unused)); | |
3320 | cl_u1_nand2_8x spare12_nand2_8x (.in0(1'b1), | |
3321 | .in1(1'b1), | |
3322 | .out(spare12_nand2_8x_unused)); | |
3323 | cl_u1_buf_16x spare12_buf_16x (.in(1'b1), | |
3324 | .out(spare12_buf_16x_unused)); | |
3325 | cl_u1_nor2_16x spare12_nor2_16x (.in0(1'b0), | |
3326 | .in1(1'b0), | |
3327 | .out(spare12_nor2_16x_unused)); | |
3328 | cl_u1_inv_32x spare12_inv_32x (.in(1'b1), | |
3329 | .out(spare12_inv_32x_unused)); | |
3330 | ||
3331 | cl_sc1_msff_8x spare13_flop (.l1clk(l1clk), | |
3332 | .siclk(siclk), | |
3333 | .soclk(soclk), | |
3334 | .si(si_13), | |
3335 | .so(so_13), | |
3336 | .d(1'b0), | |
3337 | .q(spare13_flop_unused)); | |
3338 | assign si_13 = so_12; | |
3339 | ||
3340 | cl_u1_buf_32x spare13_buf_32x (.in(1'b1), | |
3341 | .out(spare13_buf_32x_unused)); | |
3342 | cl_u1_nand3_8x spare13_nand3_8x (.in0(1'b1), | |
3343 | .in1(1'b1), | |
3344 | .in2(1'b1), | |
3345 | .out(spare13_nand3_8x_unused)); | |
3346 | cl_u1_inv_8x spare13_inv_8x (.in(1'b1), | |
3347 | .out(spare13_inv_8x_unused)); | |
3348 | cl_u1_aoi22_4x spare13_aoi22_4x (.in00(1'b1), | |
3349 | .in01(1'b1), | |
3350 | .in10(1'b1), | |
3351 | .in11(1'b1), | |
3352 | .out(spare13_aoi22_4x_unused)); | |
3353 | cl_u1_buf_8x spare13_buf_8x (.in(1'b1), | |
3354 | .out(spare13_buf_8x_unused)); | |
3355 | cl_u1_oai22_4x spare13_oai22_4x (.in00(1'b1), | |
3356 | .in01(1'b1), | |
3357 | .in10(1'b1), | |
3358 | .in11(1'b1), | |
3359 | .out(spare13_oai22_4x_unused)); | |
3360 | cl_u1_inv_16x spare13_inv_16x (.in(1'b1), | |
3361 | .out(spare13_inv_16x_unused)); | |
3362 | cl_u1_nand2_16x spare13_nand2_16x (.in0(1'b1), | |
3363 | .in1(1'b1), | |
3364 | .out(spare13_nand2_16x_unused)); | |
3365 | cl_u1_nor3_4x spare13_nor3_4x (.in0(1'b0), | |
3366 | .in1(1'b0), | |
3367 | .in2(1'b0), | |
3368 | .out(spare13_nor3_4x_unused)); | |
3369 | cl_u1_nand2_8x spare13_nand2_8x (.in0(1'b1), | |
3370 | .in1(1'b1), | |
3371 | .out(spare13_nand2_8x_unused)); | |
3372 | cl_u1_buf_16x spare13_buf_16x (.in(1'b1), | |
3373 | .out(spare13_buf_16x_unused)); | |
3374 | cl_u1_nor2_16x spare13_nor2_16x (.in0(1'b0), | |
3375 | .in1(1'b0), | |
3376 | .out(spare13_nor2_16x_unused)); | |
3377 | cl_u1_inv_32x spare13_inv_32x (.in(1'b1), | |
3378 | .out(spare13_inv_32x_unused)); | |
3379 | ||
3380 | cl_sc1_msff_8x spare14_flop (.l1clk(l1clk), | |
3381 | .siclk(siclk), | |
3382 | .soclk(soclk), | |
3383 | .si(si_14), | |
3384 | .so(so_14), | |
3385 | .d(1'b0), | |
3386 | .q(spare14_flop_unused)); | |
3387 | assign si_14 = so_13; | |
3388 | ||
3389 | cl_u1_buf_32x spare14_buf_32x (.in(1'b1), | |
3390 | .out(spare14_buf_32x_unused)); | |
3391 | cl_u1_nand3_8x spare14_nand3_8x (.in0(1'b1), | |
3392 | .in1(1'b1), | |
3393 | .in2(1'b1), | |
3394 | .out(spare14_nand3_8x_unused)); | |
3395 | cl_u1_inv_8x spare14_inv_8x (.in(1'b1), | |
3396 | .out(spare14_inv_8x_unused)); | |
3397 | cl_u1_aoi22_4x spare14_aoi22_4x (.in00(1'b1), | |
3398 | .in01(1'b1), | |
3399 | .in10(1'b1), | |
3400 | .in11(1'b1), | |
3401 | .out(spare14_aoi22_4x_unused)); | |
3402 | cl_u1_buf_8x spare14_buf_8x (.in(1'b1), | |
3403 | .out(spare14_buf_8x_unused)); | |
3404 | cl_u1_oai22_4x spare14_oai22_4x (.in00(1'b1), | |
3405 | .in01(1'b1), | |
3406 | .in10(1'b1), | |
3407 | .in11(1'b1), | |
3408 | .out(spare14_oai22_4x_unused)); | |
3409 | cl_u1_inv_16x spare14_inv_16x (.in(1'b1), | |
3410 | .out(spare14_inv_16x_unused)); | |
3411 | cl_u1_nand2_16x spare14_nand2_16x (.in0(1'b1), | |
3412 | .in1(1'b1), | |
3413 | .out(spare14_nand2_16x_unused)); | |
3414 | cl_u1_nor3_4x spare14_nor3_4x (.in0(1'b0), | |
3415 | .in1(1'b0), | |
3416 | .in2(1'b0), | |
3417 | .out(spare14_nor3_4x_unused)); | |
3418 | cl_u1_nand2_8x spare14_nand2_8x (.in0(1'b1), | |
3419 | .in1(1'b1), | |
3420 | .out(spare14_nand2_8x_unused)); | |
3421 | cl_u1_buf_16x spare14_buf_16x (.in(1'b1), | |
3422 | .out(spare14_buf_16x_unused)); | |
3423 | cl_u1_nor2_16x spare14_nor2_16x (.in0(1'b0), | |
3424 | .in1(1'b0), | |
3425 | .out(spare14_nor2_16x_unused)); | |
3426 | cl_u1_inv_32x spare14_inv_32x (.in(1'b1), | |
3427 | .out(spare14_inv_32x_unused)); | |
3428 | ||
3429 | cl_sc1_msff_8x spare15_flop (.l1clk(l1clk), | |
3430 | .siclk(siclk), | |
3431 | .soclk(soclk), | |
3432 | .si(si_15), | |
3433 | .so(so_15), | |
3434 | .d(1'b0), | |
3435 | .q(spare15_flop_unused)); | |
3436 | assign si_15 = so_14; | |
3437 | ||
3438 | cl_u1_buf_32x spare15_buf_32x (.in(1'b1), | |
3439 | .out(spare15_buf_32x_unused)); | |
3440 | cl_u1_nand3_8x spare15_nand3_8x (.in0(1'b1), | |
3441 | .in1(1'b1), | |
3442 | .in2(1'b1), | |
3443 | .out(spare15_nand3_8x_unused)); | |
3444 | cl_u1_inv_8x spare15_inv_8x (.in(1'b1), | |
3445 | .out(spare15_inv_8x_unused)); | |
3446 | cl_u1_aoi22_4x spare15_aoi22_4x (.in00(1'b1), | |
3447 | .in01(1'b1), | |
3448 | .in10(1'b1), | |
3449 | .in11(1'b1), | |
3450 | .out(spare15_aoi22_4x_unused)); | |
3451 | cl_u1_buf_8x spare15_buf_8x (.in(1'b1), | |
3452 | .out(spare15_buf_8x_unused)); | |
3453 | cl_u1_oai22_4x spare15_oai22_4x (.in00(1'b1), | |
3454 | .in01(1'b1), | |
3455 | .in10(1'b1), | |
3456 | .in11(1'b1), | |
3457 | .out(spare15_oai22_4x_unused)); | |
3458 | cl_u1_inv_16x spare15_inv_16x (.in(1'b1), | |
3459 | .out(spare15_inv_16x_unused)); | |
3460 | cl_u1_nand2_16x spare15_nand2_16x (.in0(1'b1), | |
3461 | .in1(1'b1), | |
3462 | .out(spare15_nand2_16x_unused)); | |
3463 | cl_u1_nor3_4x spare15_nor3_4x (.in0(1'b0), | |
3464 | .in1(1'b0), | |
3465 | .in2(1'b0), | |
3466 | .out(spare15_nor3_4x_unused)); | |
3467 | cl_u1_nand2_8x spare15_nand2_8x (.in0(1'b1), | |
3468 | .in1(1'b1), | |
3469 | .out(spare15_nand2_8x_unused)); | |
3470 | cl_u1_buf_16x spare15_buf_16x (.in(1'b1), | |
3471 | .out(spare15_buf_16x_unused)); | |
3472 | cl_u1_nor2_16x spare15_nor2_16x (.in0(1'b0), | |
3473 | .in1(1'b0), | |
3474 | .out(spare15_nor2_16x_unused)); | |
3475 | cl_u1_inv_32x spare15_inv_32x (.in(1'b1), | |
3476 | .out(spare15_inv_32x_unused)); | |
3477 | ||
3478 | cl_sc1_msff_8x spare16_flop (.l1clk(l1clk), | |
3479 | .siclk(siclk), | |
3480 | .soclk(soclk), | |
3481 | .si(si_16), | |
3482 | .so(so_16), | |
3483 | .d(1'b0), | |
3484 | .q(spare16_flop_unused)); | |
3485 | assign si_16 = so_15; | |
3486 | ||
3487 | cl_u1_buf_32x spare16_buf_32x (.in(1'b1), | |
3488 | .out(spare16_buf_32x_unused)); | |
3489 | cl_u1_nand3_8x spare16_nand3_8x (.in0(1'b1), | |
3490 | .in1(1'b1), | |
3491 | .in2(1'b1), | |
3492 | .out(spare16_nand3_8x_unused)); | |
3493 | cl_u1_inv_8x spare16_inv_8x (.in(1'b1), | |
3494 | .out(spare16_inv_8x_unused)); | |
3495 | cl_u1_aoi22_4x spare16_aoi22_4x (.in00(1'b1), | |
3496 | .in01(1'b1), | |
3497 | .in10(1'b1), | |
3498 | .in11(1'b1), | |
3499 | .out(spare16_aoi22_4x_unused)); | |
3500 | cl_u1_buf_8x spare16_buf_8x (.in(1'b1), | |
3501 | .out(spare16_buf_8x_unused)); | |
3502 | cl_u1_oai22_4x spare16_oai22_4x (.in00(1'b1), | |
3503 | .in01(1'b1), | |
3504 | .in10(1'b1), | |
3505 | .in11(1'b1), | |
3506 | .out(spare16_oai22_4x_unused)); | |
3507 | cl_u1_inv_16x spare16_inv_16x (.in(1'b1), | |
3508 | .out(spare16_inv_16x_unused)); | |
3509 | cl_u1_nand2_16x spare16_nand2_16x (.in0(1'b1), | |
3510 | .in1(1'b1), | |
3511 | .out(spare16_nand2_16x_unused)); | |
3512 | cl_u1_nor3_4x spare16_nor3_4x (.in0(1'b0), | |
3513 | .in1(1'b0), | |
3514 | .in2(1'b0), | |
3515 | .out(spare16_nor3_4x_unused)); | |
3516 | cl_u1_nand2_8x spare16_nand2_8x (.in0(1'b1), | |
3517 | .in1(1'b1), | |
3518 | .out(spare16_nand2_8x_unused)); | |
3519 | cl_u1_buf_16x spare16_buf_16x (.in(1'b1), | |
3520 | .out(spare16_buf_16x_unused)); | |
3521 | cl_u1_nor2_16x spare16_nor2_16x (.in0(1'b0), | |
3522 | .in1(1'b0), | |
3523 | .out(spare16_nor2_16x_unused)); | |
3524 | cl_u1_inv_32x spare16_inv_32x (.in(1'b1), | |
3525 | .out(spare16_inv_32x_unused)); | |
3526 | ||
3527 | cl_sc1_msff_8x spare17_flop (.l1clk(l1clk), | |
3528 | .siclk(siclk), | |
3529 | .soclk(soclk), | |
3530 | .si(si_17), | |
3531 | .so(so_17), | |
3532 | .d(1'b0), | |
3533 | .q(spare17_flop_unused)); | |
3534 | assign si_17 = so_16; | |
3535 | ||
3536 | cl_u1_buf_32x spare17_buf_32x (.in(1'b1), | |
3537 | .out(spare17_buf_32x_unused)); | |
3538 | cl_u1_nand3_8x spare17_nand3_8x (.in0(1'b1), | |
3539 | .in1(1'b1), | |
3540 | .in2(1'b1), | |
3541 | .out(spare17_nand3_8x_unused)); | |
3542 | cl_u1_inv_8x spare17_inv_8x (.in(1'b1), | |
3543 | .out(spare17_inv_8x_unused)); | |
3544 | cl_u1_aoi22_4x spare17_aoi22_4x (.in00(1'b1), | |
3545 | .in01(1'b1), | |
3546 | .in10(1'b1), | |
3547 | .in11(1'b1), | |
3548 | .out(spare17_aoi22_4x_unused)); | |
3549 | cl_u1_buf_8x spare17_buf_8x (.in(1'b1), | |
3550 | .out(spare17_buf_8x_unused)); | |
3551 | cl_u1_oai22_4x spare17_oai22_4x (.in00(1'b1), | |
3552 | .in01(1'b1), | |
3553 | .in10(1'b1), | |
3554 | .in11(1'b1), | |
3555 | .out(spare17_oai22_4x_unused)); | |
3556 | cl_u1_inv_16x spare17_inv_16x (.in(1'b1), | |
3557 | .out(spare17_inv_16x_unused)); | |
3558 | cl_u1_nand2_16x spare17_nand2_16x (.in0(1'b1), | |
3559 | .in1(1'b1), | |
3560 | .out(spare17_nand2_16x_unused)); | |
3561 | cl_u1_nor3_4x spare17_nor3_4x (.in0(1'b0), | |
3562 | .in1(1'b0), | |
3563 | .in2(1'b0), | |
3564 | .out(spare17_nor3_4x_unused)); | |
3565 | cl_u1_nand2_8x spare17_nand2_8x (.in0(1'b1), | |
3566 | .in1(1'b1), | |
3567 | .out(spare17_nand2_8x_unused)); | |
3568 | cl_u1_buf_16x spare17_buf_16x (.in(1'b1), | |
3569 | .out(spare17_buf_16x_unused)); | |
3570 | cl_u1_nor2_16x spare17_nor2_16x (.in0(1'b0), | |
3571 | .in1(1'b0), | |
3572 | .out(spare17_nor2_16x_unused)); | |
3573 | cl_u1_inv_32x spare17_inv_32x (.in(1'b1), | |
3574 | .out(spare17_inv_32x_unused)); | |
3575 | ||
3576 | cl_sc1_msff_8x spare18_flop (.l1clk(l1clk), | |
3577 | .siclk(siclk), | |
3578 | .soclk(soclk), | |
3579 | .si(si_18), | |
3580 | .so(so_18), | |
3581 | .d(1'b0), | |
3582 | .q(spare18_flop_unused)); | |
3583 | assign si_18 = so_17; | |
3584 | ||
3585 | cl_u1_buf_32x spare18_buf_32x (.in(1'b1), | |
3586 | .out(spare18_buf_32x_unused)); | |
3587 | cl_u1_nand3_8x spare18_nand3_8x (.in0(1'b1), | |
3588 | .in1(1'b1), | |
3589 | .in2(1'b1), | |
3590 | .out(spare18_nand3_8x_unused)); | |
3591 | cl_u1_inv_8x spare18_inv_8x (.in(1'b1), | |
3592 | .out(spare18_inv_8x_unused)); | |
3593 | cl_u1_aoi22_4x spare18_aoi22_4x (.in00(1'b1), | |
3594 | .in01(1'b1), | |
3595 | .in10(1'b1), | |
3596 | .in11(1'b1), | |
3597 | .out(spare18_aoi22_4x_unused)); | |
3598 | cl_u1_buf_8x spare18_buf_8x (.in(1'b1), | |
3599 | .out(spare18_buf_8x_unused)); | |
3600 | cl_u1_oai22_4x spare18_oai22_4x (.in00(1'b1), | |
3601 | .in01(1'b1), | |
3602 | .in10(1'b1), | |
3603 | .in11(1'b1), | |
3604 | .out(spare18_oai22_4x_unused)); | |
3605 | cl_u1_inv_16x spare18_inv_16x (.in(1'b1), | |
3606 | .out(spare18_inv_16x_unused)); | |
3607 | cl_u1_nand2_16x spare18_nand2_16x (.in0(1'b1), | |
3608 | .in1(1'b1), | |
3609 | .out(spare18_nand2_16x_unused)); | |
3610 | cl_u1_nor3_4x spare18_nor3_4x (.in0(1'b0), | |
3611 | .in1(1'b0), | |
3612 | .in2(1'b0), | |
3613 | .out(spare18_nor3_4x_unused)); | |
3614 | cl_u1_nand2_8x spare18_nand2_8x (.in0(1'b1), | |
3615 | .in1(1'b1), | |
3616 | .out(spare18_nand2_8x_unused)); | |
3617 | cl_u1_buf_16x spare18_buf_16x (.in(1'b1), | |
3618 | .out(spare18_buf_16x_unused)); | |
3619 | cl_u1_nor2_16x spare18_nor2_16x (.in0(1'b0), | |
3620 | .in1(1'b0), | |
3621 | .out(spare18_nor2_16x_unused)); | |
3622 | cl_u1_inv_32x spare18_inv_32x (.in(1'b1), | |
3623 | .out(spare18_inv_32x_unused)); | |
3624 | ||
3625 | cl_sc1_msff_8x spare19_flop (.l1clk(l1clk), | |
3626 | .siclk(siclk), | |
3627 | .soclk(soclk), | |
3628 | .si(si_19), | |
3629 | .so(so_19), | |
3630 | .d(1'b0), | |
3631 | .q(spare19_flop_unused)); | |
3632 | assign si_19 = so_18; | |
3633 | ||
3634 | cl_u1_buf_32x spare19_buf_32x (.in(1'b1), | |
3635 | .out(spare19_buf_32x_unused)); | |
3636 | cl_u1_nand3_8x spare19_nand3_8x (.in0(1'b1), | |
3637 | .in1(1'b1), | |
3638 | .in2(1'b1), | |
3639 | .out(spare19_nand3_8x_unused)); | |
3640 | cl_u1_inv_8x spare19_inv_8x (.in(1'b1), | |
3641 | .out(spare19_inv_8x_unused)); | |
3642 | cl_u1_aoi22_4x spare19_aoi22_4x (.in00(1'b1), | |
3643 | .in01(1'b1), | |
3644 | .in10(1'b1), | |
3645 | .in11(1'b1), | |
3646 | .out(spare19_aoi22_4x_unused)); | |
3647 | cl_u1_buf_8x spare19_buf_8x (.in(1'b1), | |
3648 | .out(spare19_buf_8x_unused)); | |
3649 | cl_u1_oai22_4x spare19_oai22_4x (.in00(1'b1), | |
3650 | .in01(1'b1), | |
3651 | .in10(1'b1), | |
3652 | .in11(1'b1), | |
3653 | .out(spare19_oai22_4x_unused)); | |
3654 | cl_u1_inv_16x spare19_inv_16x (.in(1'b1), | |
3655 | .out(spare19_inv_16x_unused)); | |
3656 | cl_u1_nand2_16x spare19_nand2_16x (.in0(1'b1), | |
3657 | .in1(1'b1), | |
3658 | .out(spare19_nand2_16x_unused)); | |
3659 | cl_u1_nor3_4x spare19_nor3_4x (.in0(1'b0), | |
3660 | .in1(1'b0), | |
3661 | .in2(1'b0), | |
3662 | .out(spare19_nor3_4x_unused)); | |
3663 | cl_u1_nand2_8x spare19_nand2_8x (.in0(1'b1), | |
3664 | .in1(1'b1), | |
3665 | .out(spare19_nand2_8x_unused)); | |
3666 | cl_u1_buf_16x spare19_buf_16x (.in(1'b1), | |
3667 | .out(spare19_buf_16x_unused)); | |
3668 | cl_u1_nor2_16x spare19_nor2_16x (.in0(1'b0), | |
3669 | .in1(1'b0), | |
3670 | .out(spare19_nor2_16x_unused)); | |
3671 | cl_u1_inv_32x spare19_inv_32x (.in(1'b1), | |
3672 | .out(spare19_inv_32x_unused)); | |
3673 | assign scan_out = so_19; | |
3674 | ||
3675 | ||
3676 | ||
3677 | endmodule | |
3678 | ||
3679 | ||
3680 | ||
3681 | ||
3682 | ||
3683 | ||
3684 | // any PARAMS parms go into naming of macro | |
3685 | ||
3686 | module sii_ipcs_ctlmsff_ctl_macro__width_7 ( | |
3687 | din, | |
3688 | l1clk, | |
3689 | scan_in, | |
3690 | siclk, | |
3691 | soclk, | |
3692 | dout, | |
3693 | scan_out); | |
3694 | wire [6:0] fdin; | |
3695 | wire [5:0] so; | |
3696 | ||
3697 | input [6:0] din; | |
3698 | input l1clk; | |
3699 | input scan_in; | |
3700 | ||
3701 | ||
3702 | input siclk; | |
3703 | input soclk; | |
3704 | ||
3705 | output [6:0] dout; | |
3706 | output scan_out; | |
3707 | assign fdin[6:0] = din[6:0]; | |
3708 | ||
3709 | ||
3710 | ||
3711 | ||
3712 | ||
3713 | ||
3714 | dff #(7) d0_0 ( | |
3715 | .l1clk(l1clk), | |
3716 | .siclk(siclk), | |
3717 | .soclk(soclk), | |
3718 | .d(fdin[6:0]), | |
3719 | .si({scan_in,so[5:0]}), | |
3720 | .so({so[5:0],scan_out}), | |
3721 | .q(dout[6:0]) | |
3722 | ); | |
3723 | ||
3724 | ||
3725 | ||
3726 | ||
3727 | ||
3728 | ||
3729 | ||
3730 | ||
3731 | ||
3732 | ||
3733 | ||
3734 | ||
3735 | endmodule | |
3736 | ||
3737 | ||
3738 | ||
3739 | ||
3740 | ||
3741 | ||
3742 | ||
3743 | ||
3744 | ||
3745 | ||
3746 | ||
3747 | ||
3748 | ||
3749 | // any PARAMS parms go into naming of macro | |
3750 | ||
3751 | module sii_ipcs_ctlmsff_ctl_macro__width_5 ( | |
3752 | din, | |
3753 | l1clk, | |
3754 | scan_in, | |
3755 | siclk, | |
3756 | soclk, | |
3757 | dout, | |
3758 | scan_out); | |
3759 | wire [4:0] fdin; | |
3760 | wire [3:0] so; | |
3761 | ||
3762 | input [4:0] din; | |
3763 | input l1clk; | |
3764 | input scan_in; | |
3765 | ||
3766 | ||
3767 | input siclk; | |
3768 | input soclk; | |
3769 | ||
3770 | output [4:0] dout; | |
3771 | output scan_out; | |
3772 | assign fdin[4:0] = din[4:0]; | |
3773 | ||
3774 | ||
3775 | ||
3776 | ||
3777 | ||
3778 | ||
3779 | dff #(5) d0_0 ( | |
3780 | .l1clk(l1clk), | |
3781 | .siclk(siclk), | |
3782 | .soclk(soclk), | |
3783 | .d(fdin[4:0]), | |
3784 | .si({scan_in,so[3:0]}), | |
3785 | .so({so[3:0],scan_out}), | |
3786 | .q(dout[4:0]) | |
3787 | ); | |
3788 | ||
3789 | ||
3790 | ||
3791 | ||
3792 | ||
3793 | ||
3794 | ||
3795 | ||
3796 | ||
3797 | ||
3798 | ||
3799 | ||
3800 | endmodule | |
3801 | ||
3802 | ||
3803 | ||
3804 | ||
3805 | ||
3806 | ||
3807 | ||
3808 | ||
3809 | ||
3810 | ||
3811 | ||
3812 | ||
3813 | ||
3814 | // any PARAMS parms go into naming of macro | |
3815 | ||
3816 | module sii_ipcs_ctlmsff_ctl_macro__width_4 ( | |
3817 | din, | |
3818 | l1clk, | |
3819 | scan_in, | |
3820 | siclk, | |
3821 | soclk, | |
3822 | dout, | |
3823 | scan_out); | |
3824 | wire [3:0] fdin; | |
3825 | wire [2:0] so; | |
3826 | ||
3827 | input [3:0] din; | |
3828 | input l1clk; | |
3829 | input scan_in; | |
3830 | ||
3831 | ||
3832 | input siclk; | |
3833 | input soclk; | |
3834 | ||
3835 | output [3:0] dout; | |
3836 | output scan_out; | |
3837 | assign fdin[3:0] = din[3:0]; | |
3838 | ||
3839 | ||
3840 | ||
3841 | ||
3842 | ||
3843 | ||
3844 | dff #(4) d0_0 ( | |
3845 | .l1clk(l1clk), | |
3846 | .siclk(siclk), | |
3847 | .soclk(soclk), | |
3848 | .d(fdin[3:0]), | |
3849 | .si({scan_in,so[2:0]}), | |
3850 | .so({so[2:0],scan_out}), | |
3851 | .q(dout[3:0]) | |
3852 | ); | |
3853 | ||
3854 | ||
3855 | ||
3856 | ||
3857 | ||
3858 | ||
3859 | ||
3860 | ||
3861 | ||
3862 | ||
3863 | ||
3864 | ||
3865 | endmodule | |
3866 | ||
3867 | ||
3868 | ||
3869 | ||
3870 | ||
3871 | ||
3872 | ||
3873 | ||
3874 | ||
3875 | ||
3876 | ||
3877 | ||
3878 | ||
3879 | // any PARAMS parms go into naming of macro | |
3880 | ||
3881 | module sii_ipcs_ctlmsff_ctl_macro__width_6 ( | |
3882 | din, | |
3883 | l1clk, | |
3884 | scan_in, | |
3885 | siclk, | |
3886 | soclk, | |
3887 | dout, | |
3888 | scan_out); | |
3889 | wire [5:0] fdin; | |
3890 | wire [4:0] so; | |
3891 | ||
3892 | input [5:0] din; | |
3893 | input l1clk; | |
3894 | input scan_in; | |
3895 | ||
3896 | ||
3897 | input siclk; | |
3898 | input soclk; | |
3899 | ||
3900 | output [5:0] dout; | |
3901 | output scan_out; | |
3902 | assign fdin[5:0] = din[5:0]; | |
3903 | ||
3904 | ||
3905 | ||
3906 | ||
3907 | ||
3908 | ||
3909 | dff #(6) d0_0 ( | |
3910 | .l1clk(l1clk), | |
3911 | .siclk(siclk), | |
3912 | .soclk(soclk), | |
3913 | .d(fdin[5:0]), | |
3914 | .si({scan_in,so[4:0]}), | |
3915 | .so({so[4:0],scan_out}), | |
3916 | .q(dout[5:0]) | |
3917 | ); | |
3918 | ||
3919 | ||
3920 | ||
3921 | ||
3922 | ||
3923 | ||
3924 | ||
3925 | ||
3926 | ||
3927 | ||
3928 | ||
3929 | ||
3930 | endmodule | |
3931 | ||
3932 | ||
3933 | ||
3934 | ||
3935 | ||
3936 | ||
3937 | ||
3938 | ||
3939 | ||
3940 | ||
3941 | ||
3942 | ||
3943 | ||
3944 | // any PARAMS parms go into naming of macro | |
3945 | ||
3946 | module sii_ipcs_ctlmsff_ctl_macro__width_128 ( | |
3947 | din, | |
3948 | l1clk, | |
3949 | scan_in, | |
3950 | siclk, | |
3951 | soclk, | |
3952 | dout, | |
3953 | scan_out); | |
3954 | wire [127:0] fdin; | |
3955 | wire [126:0] so; | |
3956 | ||
3957 | input [127:0] din; | |
3958 | input l1clk; | |
3959 | input scan_in; | |
3960 | ||
3961 | ||
3962 | input siclk; | |
3963 | input soclk; | |
3964 | ||
3965 | output [127:0] dout; | |
3966 | output scan_out; | |
3967 | assign fdin[127:0] = din[127:0]; | |
3968 | ||
3969 | ||
3970 | ||
3971 | ||
3972 | ||
3973 | ||
3974 | dff #(128) d0_0 ( | |
3975 | .l1clk(l1clk), | |
3976 | .siclk(siclk), | |
3977 | .soclk(soclk), | |
3978 | .d(fdin[127:0]), | |
3979 | .si({scan_in,so[126:0]}), | |
3980 | .so({so[126:0],scan_out}), | |
3981 | .q(dout[127:0]) | |
3982 | ); | |
3983 | ||
3984 | ||
3985 | ||
3986 | ||
3987 | ||
3988 | ||
3989 | ||
3990 | ||
3991 | ||
3992 | ||
3993 | ||
3994 | ||
3995 | endmodule | |
3996 | ||
3997 | ||
3998 | ||
3999 | ||
4000 | ||
4001 | ||
4002 | ||
4003 | ||
4004 | ||
4005 | ||
4006 | ||
4007 | ||
4008 | ||
4009 | // any PARAMS parms go into naming of macro | |
4010 | ||
4011 | module sii_ipcs_ctlmsff_ctl_macro__width_1 ( | |
4012 | din, | |
4013 | l1clk, | |
4014 | scan_in, | |
4015 | siclk, | |
4016 | soclk, | |
4017 | dout, | |
4018 | scan_out); | |
4019 | wire [0:0] fdin; | |
4020 | ||
4021 | input [0:0] din; | |
4022 | input l1clk; | |
4023 | input scan_in; | |
4024 | ||
4025 | ||
4026 | input siclk; | |
4027 | input soclk; | |
4028 | ||
4029 | output [0:0] dout; | |
4030 | output scan_out; | |
4031 | assign fdin[0:0] = din[0:0]; | |
4032 | ||
4033 | ||
4034 | ||
4035 | ||
4036 | ||
4037 | ||
4038 | dff #(1) d0_0 ( | |
4039 | .l1clk(l1clk), | |
4040 | .siclk(siclk), | |
4041 | .soclk(soclk), | |
4042 | .d(fdin[0:0]), | |
4043 | .si(scan_in), | |
4044 | .so(scan_out), | |
4045 | .q(dout[0:0]) | |
4046 | ); | |
4047 | ||
4048 | ||
4049 | ||
4050 | ||
4051 | ||
4052 | ||
4053 | ||
4054 | ||
4055 | ||
4056 | ||
4057 | ||
4058 | ||
4059 | endmodule | |
4060 | ||
4061 | ||
4062 | ||
4063 | ||
4064 | ||
4065 | ||
4066 | ||
4067 | ||
4068 | ||
4069 | ||
4070 | ||
4071 | ||
4072 | ||
4073 | // any PARAMS parms go into naming of macro | |
4074 | ||
4075 | module sii_ipcs_ctlmsff_ctl_macro__width_41 ( | |
4076 | din, | |
4077 | l1clk, | |
4078 | scan_in, | |
4079 | siclk, | |
4080 | soclk, | |
4081 | dout, | |
4082 | scan_out); | |
4083 | wire [40:0] fdin; | |
4084 | wire [39:0] so; | |
4085 | ||
4086 | input [40:0] din; | |
4087 | input l1clk; | |
4088 | input scan_in; | |
4089 | ||
4090 | ||
4091 | input siclk; | |
4092 | input soclk; | |
4093 | ||
4094 | output [40:0] dout; | |
4095 | output scan_out; | |
4096 | assign fdin[40:0] = din[40:0]; | |
4097 | ||
4098 | ||
4099 | ||
4100 | ||
4101 | ||
4102 | ||
4103 | dff #(41) d0_0 ( | |
4104 | .l1clk(l1clk), | |
4105 | .siclk(siclk), | |
4106 | .soclk(soclk), | |
4107 | .d(fdin[40:0]), | |
4108 | .si({scan_in,so[39:0]}), | |
4109 | .so({so[39:0],scan_out}), | |
4110 | .q(dout[40:0]) | |
4111 | ); | |
4112 | ||
4113 | ||
4114 | ||
4115 | ||
4116 | ||
4117 | ||
4118 | ||
4119 | ||
4120 | ||
4121 | ||
4122 | ||
4123 | ||
4124 | endmodule | |
4125 | ||
4126 | ||
4127 | ||
4128 | ||
4129 | ||
4130 | ||
4131 | ||
4132 |