Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: efu_l2t_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 efu_l2t_ctl ( | |
36 | read_data_ff_vld, | |
37 | cmp_mrd_cnt_done, | |
38 | efu_spc1357_fuse_data, | |
39 | efu_spc0246_fuse_data, | |
40 | efu_spc0_fuse_ixfer_en, | |
41 | efu_spc1_fuse_ixfer_en, | |
42 | efu_spc2_fuse_ixfer_en, | |
43 | efu_spc3_fuse_ixfer_en, | |
44 | efu_spc4_fuse_ixfer_en, | |
45 | efu_spc5_fuse_ixfer_en, | |
46 | efu_spc6_fuse_ixfer_en, | |
47 | efu_spc7_fuse_ixfer_en, | |
48 | efu_spc0_fuse_dxfer_en, | |
49 | efu_spc1_fuse_dxfer_en, | |
50 | efu_spc2_fuse_dxfer_en, | |
51 | efu_spc3_fuse_dxfer_en, | |
52 | efu_spc4_fuse_dxfer_en, | |
53 | efu_spc5_fuse_dxfer_en, | |
54 | efu_spc6_fuse_dxfer_en, | |
55 | efu_spc7_fuse_dxfer_en, | |
56 | spc0_efu_fuse_dxfer_en, | |
57 | spc1_efu_fuse_dxfer_en, | |
58 | spc2_efu_fuse_dxfer_en, | |
59 | spc3_efu_fuse_dxfer_en, | |
60 | spc4_efu_fuse_dxfer_en, | |
61 | spc5_efu_fuse_dxfer_en, | |
62 | spc6_efu_fuse_dxfer_en, | |
63 | spc7_efu_fuse_dxfer_en, | |
64 | spc0_efu_fuse_ixfer_en, | |
65 | spc1_efu_fuse_ixfer_en, | |
66 | spc2_efu_fuse_ixfer_en, | |
67 | spc3_efu_fuse_ixfer_en, | |
68 | spc4_efu_fuse_ixfer_en, | |
69 | spc5_efu_fuse_ixfer_en, | |
70 | spc6_efu_fuse_ixfer_en, | |
71 | spc7_efu_fuse_ixfer_en, | |
72 | spc0_efu_fuse_ddata, | |
73 | spc1_efu_fuse_ddata, | |
74 | spc2_efu_fuse_ddata, | |
75 | spc3_efu_fuse_ddata, | |
76 | spc4_efu_fuse_ddata, | |
77 | spc5_efu_fuse_ddata, | |
78 | spc6_efu_fuse_ddata, | |
79 | spc7_efu_fuse_ddata, | |
80 | spc0_efu_fuse_idata, | |
81 | spc1_efu_fuse_idata, | |
82 | spc2_efu_fuse_idata, | |
83 | spc3_efu_fuse_idata, | |
84 | spc4_efu_fuse_idata, | |
85 | spc5_efu_fuse_idata, | |
86 | spc6_efu_fuse_idata, | |
87 | spc7_efu_fuse_idata, | |
88 | efu_l2b0246_fuse_data, | |
89 | efu_l2b1357_fuse_data, | |
90 | efu_l2b0_fuse_xfer_en, | |
91 | efu_l2b1_fuse_xfer_en, | |
92 | efu_l2b2_fuse_xfer_en, | |
93 | efu_l2b3_fuse_xfer_en, | |
94 | efu_l2b4_fuse_xfer_en, | |
95 | efu_l2b5_fuse_xfer_en, | |
96 | efu_l2b6_fuse_xfer_en, | |
97 | efu_l2b7_fuse_xfer_en, | |
98 | l2b0_efu_fuse_xfer_en, | |
99 | l2b1_efu_fuse_xfer_en, | |
100 | l2b2_efu_fuse_xfer_en, | |
101 | l2b3_efu_fuse_xfer_en, | |
102 | l2b4_efu_fuse_xfer_en, | |
103 | l2b5_efu_fuse_xfer_en, | |
104 | l2b6_efu_fuse_xfer_en, | |
105 | l2b7_efu_fuse_xfer_en, | |
106 | l2b0_efu_fuse_data, | |
107 | l2b1_efu_fuse_data, | |
108 | l2b2_efu_fuse_data, | |
109 | l2b3_efu_fuse_data, | |
110 | l2b4_efu_fuse_data, | |
111 | l2b5_efu_fuse_data, | |
112 | l2b6_efu_fuse_data, | |
113 | l2b7_efu_fuse_data, | |
114 | efu_l2t0246_fuse_data, | |
115 | efu_l2t1357_fuse_data, | |
116 | efu_l2t0_fuse_xfer_en, | |
117 | efu_l2t1_fuse_xfer_en, | |
118 | efu_l2t2_fuse_xfer_en, | |
119 | efu_l2t3_fuse_xfer_en, | |
120 | efu_l2t4_fuse_xfer_en, | |
121 | efu_l2t5_fuse_xfer_en, | |
122 | efu_l2t6_fuse_xfer_en, | |
123 | efu_l2t7_fuse_xfer_en, | |
124 | l2t0_efu_fuse_xfer_en, | |
125 | l2t1_efu_fuse_xfer_en, | |
126 | l2t2_efu_fuse_xfer_en, | |
127 | l2t3_efu_fuse_xfer_en, | |
128 | l2t4_efu_fuse_xfer_en, | |
129 | l2t5_efu_fuse_xfer_en, | |
130 | l2t6_efu_fuse_xfer_en, | |
131 | l2t7_efu_fuse_xfer_en, | |
132 | l2t0_efu_fuse_data, | |
133 | l2t1_efu_fuse_data, | |
134 | l2t2_efu_fuse_data, | |
135 | l2t3_efu_fuse_data, | |
136 | l2t4_efu_fuse_data, | |
137 | l2t5_efu_fuse_data, | |
138 | l2t6_efu_fuse_data, | |
139 | l2t7_efu_fuse_data, | |
140 | read_data_ff, | |
141 | shift_data_ff_out, | |
142 | load_l2_read_data, | |
143 | iol2clk, | |
144 | l2clk, | |
145 | cmp_io_sync_en, | |
146 | tcu_pce_ov, | |
147 | tcu_aclk, | |
148 | tcu_bclk, | |
149 | tcu_scan_en, | |
150 | scan_in, | |
151 | scan_out); | |
152 | wire pce_ov; | |
153 | wire siclk; | |
154 | wire soclk; | |
155 | wire stop; | |
156 | wire se; | |
157 | wire l1clk; | |
158 | wire l1clk_cmp; | |
159 | wire ff_cmp_io_sync_en_scanin; | |
160 | wire ff_cmp_io_sync_en_scanout; | |
161 | wire cmp_io_sync_en_r1; | |
162 | wire [7:0] l2b_xfer_en; | |
163 | wire [7:0] l2t_xfer_en; | |
164 | wire [7:0] spc_dxfer_en; | |
165 | wire [7:0] spc_ixfer_en; | |
166 | wire [7:0] spc_idata; | |
167 | wire [7:0] spc_ddata; | |
168 | wire [7:0] l2t_data; | |
169 | wire [7:0] l2b_data; | |
170 | wire ff_l2b_xfer_en_scanin; | |
171 | wire ff_l2b_xfer_en_scanout; | |
172 | wire [7:0] l2b_xfer_en_q; | |
173 | wire ff_l2t_xfer_en_scanin; | |
174 | wire ff_l2t_xfer_en_scanout; | |
175 | wire [7:0] l2t_xfer_en_q; | |
176 | wire ff_spc_dxfer_en_scanin; | |
177 | wire ff_spc_dxfer_en_scanout; | |
178 | wire [7:0] spc_dxfer_en_q; | |
179 | wire ff_spc_ixfer_en_scanin; | |
180 | wire ff_spc_ixfer_en_scanout; | |
181 | wire [7:0] spc_ixfer_en_q; | |
182 | wire ff_spc_idata_scanin; | |
183 | wire ff_spc_idata_scanout; | |
184 | wire [7:0] spc_idata_q; | |
185 | wire ff_spc_ddata_scanin; | |
186 | wire ff_spc_ddata_scanout; | |
187 | wire [7:0] spc_ddata_q; | |
188 | wire ff_l2t_data_scanin; | |
189 | wire ff_l2t_data_scanout; | |
190 | wire [7:0] l2t_data_q; | |
191 | wire ff_l2b_data_scanin; | |
192 | wire ff_l2b_data_scanout; | |
193 | wire [7:0] l2b_data_q; | |
194 | wire read_data_in; | |
195 | wire efu_xfer_out; | |
196 | wire read_data_in_r1; | |
197 | wire read_data_in_r2; | |
198 | wire ff_xfer_out_r2_scanin; | |
199 | wire ff_xfer_out_r2_scanout; | |
200 | wire ff_xfer_out_r1_scanin; | |
201 | wire ff_xfer_out_r1_scanout; | |
202 | wire ff_read_data_in_scanin; | |
203 | wire ff_read_data_in_scanout; | |
204 | wire read_data_in_reg; | |
205 | wire [31:0] shift_data_ff_in; | |
206 | wire cmp_read_data_ff_vld_reg; | |
207 | wire shift_in_reg; | |
208 | wire ff_cmp_read_data_ff_vld_scanin; | |
209 | wire ff_cmp_read_data_ff_vld_scanout; | |
210 | wire cmp_read_data_ff_vld; | |
211 | wire ff_read_data_ff_sync_scanin; | |
212 | wire ff_read_data_ff_sync_scanout; | |
213 | wire ff_shhift_data_ff_sync_scanin; | |
214 | wire ff_shhift_data_ff_sync_scanout; | |
215 | wire mrd_cnt_reg_scanin; | |
216 | wire mrd_cnt_reg_scanout; | |
217 | wire computed_parity; | |
218 | wire good_parity; | |
219 | wire any_cnt_other_than_zero; | |
220 | wire local_fuse_ashift_nxt; | |
221 | wire local_fuse_ashift_d1; | |
222 | wire local_fuse_dshift_nxt; | |
223 | wire local_fuse_ashift_ff_scanin; | |
224 | wire local_fuse_ashift_ff_scanout; | |
225 | wire local_fuse_data_ff; | |
226 | wire [5:0] block_id; | |
227 | wire spc0_ifuse_dec; | |
228 | wire spc0_dfuse_dec; | |
229 | wire spc1_ifuse_dec; | |
230 | wire spc1_dfuse_dec; | |
231 | wire spc2_ifuse_dec; | |
232 | wire spc2_dfuse_dec; | |
233 | wire spc3_ifuse_dec; | |
234 | wire spc3_dfuse_dec; | |
235 | wire spc4_ifuse_dec; | |
236 | wire spc4_dfuse_dec; | |
237 | wire spc5_ifuse_dec; | |
238 | wire spc5_dfuse_dec; | |
239 | wire spc6_ifuse_dec; | |
240 | wire spc6_dfuse_dec; | |
241 | wire spc7_ifuse_dec; | |
242 | wire spc7_dfuse_dec; | |
243 | wire l2t0_fuse_dec; | |
244 | wire l2t1_fuse_dec; | |
245 | wire l2t2_fuse_dec; | |
246 | wire l2t3_fuse_dec; | |
247 | wire l2t4_fuse_dec; | |
248 | wire l2t5_fuse_dec; | |
249 | wire l2t6_fuse_dec; | |
250 | wire l2t7_fuse_dec; | |
251 | wire l2d0_fuse_dec; | |
252 | wire l2d1_fuse_dec; | |
253 | wire l2d2_fuse_dec; | |
254 | wire l2d3_fuse_dec; | |
255 | wire l2d4_fuse_dec; | |
256 | wire l2d5_fuse_dec; | |
257 | wire l2d6_fuse_dec; | |
258 | wire l2d7_fuse_dec; | |
259 | wire data_vld_datareg_scanin; | |
260 | wire data_vld_datareg_scanout; | |
261 | wire shift_in; | |
262 | wire spc0_ifuse_ashift_reg_scanin; | |
263 | wire spc0_ifuse_ashift_reg_scanout; | |
264 | wire efu_spc0_ifuse_ashift; | |
265 | wire spc0_ifuse_dshift_reg_scanin; | |
266 | wire spc0_ifuse_dshift_reg_scanout; | |
267 | wire efu_spc0_ifuse_dshift; | |
268 | wire spc0_dfuse_ashift_reg_scanin; | |
269 | wire spc0_dfuse_ashift_reg_scanout; | |
270 | wire efu_spc0_dfuse_ashift; | |
271 | wire spc0_dfuse_dshift_reg_scanin; | |
272 | wire spc0_dfuse_dshift_reg_scanout; | |
273 | wire efu_spc0_dfuse_dshift; | |
274 | wire spc1_ifuse_ashift_reg_scanin; | |
275 | wire spc1_ifuse_ashift_reg_scanout; | |
276 | wire efu_spc1_ifuse_ashift; | |
277 | wire spc1_ifuse_dshift_reg_scanin; | |
278 | wire spc1_ifuse_dshift_reg_scanout; | |
279 | wire efu_spc1_ifuse_dshift; | |
280 | wire spc1_dfuse_ashift_reg_scanin; | |
281 | wire spc1_dfuse_ashift_reg_scanout; | |
282 | wire efu_spc1_dfuse_ashift; | |
283 | wire spc1_dfuse_dshift_reg_scanin; | |
284 | wire spc1_dfuse_dshift_reg_scanout; | |
285 | wire efu_spc1_dfuse_dshift; | |
286 | wire spc2_ifuse_ashift_reg_scanin; | |
287 | wire spc2_ifuse_ashift_reg_scanout; | |
288 | wire efu_spc2_ifuse_ashift; | |
289 | wire spc2_ifuse_dshift_reg_scanin; | |
290 | wire spc2_ifuse_dshift_reg_scanout; | |
291 | wire efu_spc2_ifuse_dshift; | |
292 | wire spc2_dfuse_ashift_reg_scanin; | |
293 | wire spc2_dfuse_ashift_reg_scanout; | |
294 | wire efu_spc2_dfuse_ashift; | |
295 | wire spc2_dfuse_dshift_reg_scanin; | |
296 | wire spc2_dfuse_dshift_reg_scanout; | |
297 | wire efu_spc2_dfuse_dshift; | |
298 | wire spc3_ifuse_ashift_reg_scanin; | |
299 | wire spc3_ifuse_ashift_reg_scanout; | |
300 | wire efu_spc3_ifuse_ashift; | |
301 | wire spc3_ifuse_dshift_reg_scanin; | |
302 | wire spc3_ifuse_dshift_reg_scanout; | |
303 | wire efu_spc3_ifuse_dshift; | |
304 | wire spc3_dfuse_ashift_reg_scanin; | |
305 | wire spc3_dfuse_ashift_reg_scanout; | |
306 | wire efu_spc3_dfuse_ashift; | |
307 | wire spc3_dfuse_dshift_reg_scanin; | |
308 | wire spc3_dfuse_dshift_reg_scanout; | |
309 | wire efu_spc3_dfuse_dshift; | |
310 | wire spc4_ifuse_ashift_reg_scanin; | |
311 | wire spc4_ifuse_ashift_reg_scanout; | |
312 | wire efu_spc4_ifuse_ashift; | |
313 | wire spc4_ifuse_dshift_reg_scanin; | |
314 | wire spc4_ifuse_dshift_reg_scanout; | |
315 | wire efu_spc4_ifuse_dshift; | |
316 | wire spc4_dfuse_ashift_reg_scanin; | |
317 | wire spc4_dfuse_ashift_reg_scanout; | |
318 | wire efu_spc4_dfuse_ashift; | |
319 | wire spc4_dfuse_dshift_reg_scanin; | |
320 | wire spc4_dfuse_dshift_reg_scanout; | |
321 | wire efu_spc4_dfuse_dshift; | |
322 | wire spc5_ifuse_ashift_reg_scanin; | |
323 | wire spc5_ifuse_ashift_reg_scanout; | |
324 | wire efu_spc5_ifuse_ashift; | |
325 | wire spc5_ifuse_dshift_reg_scanin; | |
326 | wire spc5_ifuse_dshift_reg_scanout; | |
327 | wire efu_spc5_ifuse_dshift; | |
328 | wire spc5_dfuse_ashift_reg_scanin; | |
329 | wire spc5_dfuse_ashift_reg_scanout; | |
330 | wire efu_spc5_dfuse_ashift; | |
331 | wire spc5_dfuse_dshift_reg_scanin; | |
332 | wire spc5_dfuse_dshift_reg_scanout; | |
333 | wire efu_spc5_dfuse_dshift; | |
334 | wire spc6_ifuse_ashift_reg_scanin; | |
335 | wire spc6_ifuse_ashift_reg_scanout; | |
336 | wire efu_spc6_ifuse_ashift; | |
337 | wire spc6_ifuse_dshift_reg_scanin; | |
338 | wire spc6_ifuse_dshift_reg_scanout; | |
339 | wire efu_spc6_ifuse_dshift; | |
340 | wire spc6_dfuse_ashift_reg_scanin; | |
341 | wire spc6_dfuse_ashift_reg_scanout; | |
342 | wire efu_spc6_dfuse_ashift; | |
343 | wire spc6_dfuse_dshift_reg_scanin; | |
344 | wire spc6_dfuse_dshift_reg_scanout; | |
345 | wire efu_spc6_dfuse_dshift; | |
346 | wire spc7_ifuse_ashift_reg_scanin; | |
347 | wire spc7_ifuse_ashift_reg_scanout; | |
348 | wire efu_spc7_ifuse_ashift; | |
349 | wire spc7_ifuse_dshift_reg_scanin; | |
350 | wire spc7_ifuse_dshift_reg_scanout; | |
351 | wire efu_spc7_ifuse_dshift; | |
352 | wire spc7_dfuse_ashift_reg_scanin; | |
353 | wire spc7_dfuse_ashift_reg_scanout; | |
354 | wire efu_spc7_dfuse_ashift; | |
355 | wire spc7_dfuse_dshift_reg_scanin; | |
356 | wire spc7_dfuse_dshift_reg_scanout; | |
357 | wire efu_spc7_dfuse_dshift; | |
358 | wire l2t0_fuse_ashift_reg_scanin; | |
359 | wire l2t0_fuse_ashift_reg_scanout; | |
360 | wire efu_l2t0_fuse_ashift; | |
361 | wire l2t0_fuse_dshift_reg_scanin; | |
362 | wire l2t0_fuse_dshift_reg_scanout; | |
363 | wire efu_l2t0_fuse_dshift; | |
364 | wire l2t1_fuse_ashift_reg_scanin; | |
365 | wire l2t1_fuse_ashift_reg_scanout; | |
366 | wire efu_l2t1_fuse_ashift; | |
367 | wire l2t1_fuse_dshift_reg_scanin; | |
368 | wire l2t1_fuse_dshift_reg_scanout; | |
369 | wire efu_l2t1_fuse_dshift; | |
370 | wire l2t2_fuse_ashift_reg_scanin; | |
371 | wire l2t2_fuse_ashift_reg_scanout; | |
372 | wire efu_l2t2_fuse_ashift; | |
373 | wire l2t2_fuse_dshift_reg_scanin; | |
374 | wire l2t2_fuse_dshift_reg_scanout; | |
375 | wire efu_l2t2_fuse_dshift; | |
376 | wire l2t3_fuse_ashift_reg_scanin; | |
377 | wire l2t3_fuse_ashift_reg_scanout; | |
378 | wire efu_l2t3_fuse_ashift; | |
379 | wire l2t3_fuse_dshift_reg_scanin; | |
380 | wire l2t3_fuse_dshift_reg_scanout; | |
381 | wire efu_l2t3_fuse_dshift; | |
382 | wire l2t4_fuse_ashift_reg_scanin; | |
383 | wire l2t4_fuse_ashift_reg_scanout; | |
384 | wire efu_l2t4_fuse_ashift; | |
385 | wire l2t4_fuse_dshift_reg_scanin; | |
386 | wire l2t4_fuse_dshift_reg_scanout; | |
387 | wire efu_l2t4_fuse_dshift; | |
388 | wire l2t5_fuse_ashift_reg_scanin; | |
389 | wire l2t5_fuse_ashift_reg_scanout; | |
390 | wire efu_l2t5_fuse_ashift; | |
391 | wire l2t5_fuse_dshift_reg_scanin; | |
392 | wire l2t5_fuse_dshift_reg_scanout; | |
393 | wire efu_l2t5_fuse_dshift; | |
394 | wire l2t6_fuse_ashift_reg_scanin; | |
395 | wire l2t6_fuse_ashift_reg_scanout; | |
396 | wire efu_l2t6_fuse_ashift; | |
397 | wire l2t6_fuse_dshift_reg_scanin; | |
398 | wire l2t6_fuse_dshift_reg_scanout; | |
399 | wire efu_l2t6_fuse_dshift; | |
400 | wire l2t7_fuse_ashift_reg_scanin; | |
401 | wire l2t7_fuse_ashift_reg_scanout; | |
402 | wire efu_l2t7_fuse_ashift; | |
403 | wire l2t7_fuse_dshift_reg_scanin; | |
404 | wire l2t7_fuse_dshift_reg_scanout; | |
405 | wire efu_l2t7_fuse_dshift; | |
406 | wire l2d0_fuse_ashift_reg_scanin; | |
407 | wire l2d0_fuse_ashift_reg_scanout; | |
408 | wire efu_l2d0_fuse_ashift; | |
409 | wire l2d0_fuse_dshift_reg_scanin; | |
410 | wire l2d0_fuse_dshift_reg_scanout; | |
411 | wire efu_l2d0_fuse_dshift; | |
412 | wire l2d1_fuse_ashift_reg_scanin; | |
413 | wire l2d1_fuse_ashift_reg_scanout; | |
414 | wire efu_l2d1_fuse_ashift; | |
415 | wire l2d1_fuse_dshift_reg_scanin; | |
416 | wire l2d1_fuse_dshift_reg_scanout; | |
417 | wire efu_l2d1_fuse_dshift; | |
418 | wire l2d2_fuse_ashift_reg_scanin; | |
419 | wire l2d2_fuse_ashift_reg_scanout; | |
420 | wire efu_l2d2_fuse_ashift; | |
421 | wire l2d2_fuse_dshift_reg_scanin; | |
422 | wire l2d2_fuse_dshift_reg_scanout; | |
423 | wire efu_l2d2_fuse_dshift; | |
424 | wire l2d3_fuse_ashift_reg_scanin; | |
425 | wire l2d3_fuse_ashift_reg_scanout; | |
426 | wire efu_l2d3_fuse_ashift; | |
427 | wire l2d3_fuse_dshift_reg_scanin; | |
428 | wire l2d3_fuse_dshift_reg_scanout; | |
429 | wire efu_l2d3_fuse_dshift; | |
430 | wire l2d4_fuse_ashift_reg_scanin; | |
431 | wire l2d4_fuse_ashift_reg_scanout; | |
432 | wire efu_l2d4_fuse_ashift; | |
433 | wire l2d4_fuse_dshift_reg_scanin; | |
434 | wire l2d4_fuse_dshift_reg_scanout; | |
435 | wire efu_l2d4_fuse_dshift; | |
436 | wire l2d5_fuse_ashift_reg_scanin; | |
437 | wire l2d5_fuse_ashift_reg_scanout; | |
438 | wire efu_l2d5_fuse_ashift; | |
439 | wire l2d5_fuse_dshift_reg_scanin; | |
440 | wire l2d5_fuse_dshift_reg_scanout; | |
441 | wire efu_l2d5_fuse_dshift; | |
442 | wire l2d6_fuse_ashift_reg_scanin; | |
443 | wire l2d6_fuse_ashift_reg_scanout; | |
444 | wire efu_l2d6_fuse_ashift; | |
445 | wire l2d6_fuse_dshift_reg_scanin; | |
446 | wire l2d6_fuse_dshift_reg_scanout; | |
447 | wire efu_l2d6_fuse_dshift; | |
448 | wire l2d7_fuse_ashift_reg_scanin; | |
449 | wire l2d7_fuse_ashift_reg_scanout; | |
450 | wire efu_l2d7_fuse_ashift; | |
451 | wire l2d7_fuse_dshift_reg_scanin; | |
452 | wire l2d7_fuse_dshift_reg_scanout; | |
453 | wire efu_l2d7_fuse_dshift; | |
454 | wire cmp_read_data_ff_vld_0_reg_scanin; | |
455 | wire cmp_read_data_ff_vld_0_reg_scanout; | |
456 | wire cmp_read_data_ff_vld_0; | |
457 | wire cmp_read_data_ff_vld_1_reg_scanin; | |
458 | wire cmp_read_data_ff_vld_1_reg_scanout; | |
459 | wire cmp_read_data_ff_vld_1; | |
460 | wire spares_scanin; | |
461 | wire spares_scanout; | |
462 | ||
463 | ||
464 | //input cmp_read_data_ff_vld; | |
465 | input read_data_ff_vld; | |
466 | output cmp_mrd_cnt_done; | |
467 | ||
468 | ||
469 | // Interface with Sparc cores 0 to 7 | |
470 | output efu_spc1357_fuse_data; | |
471 | output efu_spc0246_fuse_data; | |
472 | output efu_spc0_fuse_ixfer_en; | |
473 | output efu_spc1_fuse_ixfer_en; | |
474 | output efu_spc2_fuse_ixfer_en; | |
475 | output efu_spc3_fuse_ixfer_en; | |
476 | output efu_spc4_fuse_ixfer_en; | |
477 | output efu_spc5_fuse_ixfer_en; | |
478 | output efu_spc6_fuse_ixfer_en; | |
479 | output efu_spc7_fuse_ixfer_en; | |
480 | output efu_spc0_fuse_dxfer_en; | |
481 | output efu_spc1_fuse_dxfer_en; | |
482 | output efu_spc2_fuse_dxfer_en; | |
483 | output efu_spc3_fuse_dxfer_en; | |
484 | output efu_spc4_fuse_dxfer_en; | |
485 | output efu_spc5_fuse_dxfer_en; | |
486 | output efu_spc6_fuse_dxfer_en; | |
487 | output efu_spc7_fuse_dxfer_en; | |
488 | input spc0_efu_fuse_dxfer_en; | |
489 | input spc1_efu_fuse_dxfer_en; | |
490 | input spc2_efu_fuse_dxfer_en; | |
491 | input spc3_efu_fuse_dxfer_en; | |
492 | input spc4_efu_fuse_dxfer_en; | |
493 | input spc5_efu_fuse_dxfer_en; | |
494 | input spc6_efu_fuse_dxfer_en; | |
495 | input spc7_efu_fuse_dxfer_en; | |
496 | input spc0_efu_fuse_ixfer_en; | |
497 | input spc1_efu_fuse_ixfer_en; | |
498 | input spc2_efu_fuse_ixfer_en; | |
499 | input spc3_efu_fuse_ixfer_en; | |
500 | input spc4_efu_fuse_ixfer_en; | |
501 | input spc5_efu_fuse_ixfer_en; | |
502 | input spc6_efu_fuse_ixfer_en; | |
503 | input spc7_efu_fuse_ixfer_en; | |
504 | input spc0_efu_fuse_ddata; | |
505 | input spc1_efu_fuse_ddata; | |
506 | input spc2_efu_fuse_ddata; | |
507 | input spc3_efu_fuse_ddata; | |
508 | input spc4_efu_fuse_ddata; | |
509 | input spc5_efu_fuse_ddata; | |
510 | input spc6_efu_fuse_ddata; | |
511 | input spc7_efu_fuse_ddata; | |
512 | input spc0_efu_fuse_idata; | |
513 | input spc1_efu_fuse_idata; | |
514 | input spc2_efu_fuse_idata; | |
515 | input spc3_efu_fuse_idata; | |
516 | input spc4_efu_fuse_idata; | |
517 | input spc5_efu_fuse_idata; | |
518 | input spc6_efu_fuse_idata; | |
519 | input spc7_efu_fuse_idata; | |
520 | // Interface with l2b for data array repair | |
521 | output efu_l2b0246_fuse_data; | |
522 | output efu_l2b1357_fuse_data; | |
523 | output efu_l2b0_fuse_xfer_en; | |
524 | output efu_l2b1_fuse_xfer_en; | |
525 | output efu_l2b2_fuse_xfer_en; | |
526 | output efu_l2b3_fuse_xfer_en; | |
527 | output efu_l2b4_fuse_xfer_en; | |
528 | output efu_l2b5_fuse_xfer_en; | |
529 | output efu_l2b6_fuse_xfer_en; | |
530 | output efu_l2b7_fuse_xfer_en; | |
531 | input l2b0_efu_fuse_xfer_en; | |
532 | input l2b1_efu_fuse_xfer_en; | |
533 | input l2b2_efu_fuse_xfer_en; | |
534 | input l2b3_efu_fuse_xfer_en; | |
535 | input l2b4_efu_fuse_xfer_en; | |
536 | input l2b5_efu_fuse_xfer_en; | |
537 | input l2b6_efu_fuse_xfer_en; | |
538 | input l2b7_efu_fuse_xfer_en; | |
539 | input l2b0_efu_fuse_data; | |
540 | input l2b1_efu_fuse_data; | |
541 | input l2b2_efu_fuse_data; | |
542 | input l2b3_efu_fuse_data; | |
543 | input l2b4_efu_fuse_data; | |
544 | input l2b5_efu_fuse_data; | |
545 | input l2b6_efu_fuse_data; | |
546 | input l2b7_efu_fuse_data; | |
547 | output efu_l2t0246_fuse_data; | |
548 | output efu_l2t1357_fuse_data; | |
549 | output efu_l2t0_fuse_xfer_en; | |
550 | output efu_l2t1_fuse_xfer_en; | |
551 | output efu_l2t2_fuse_xfer_en; | |
552 | output efu_l2t3_fuse_xfer_en; | |
553 | output efu_l2t4_fuse_xfer_en; | |
554 | output efu_l2t5_fuse_xfer_en; | |
555 | output efu_l2t6_fuse_xfer_en; | |
556 | output efu_l2t7_fuse_xfer_en; | |
557 | input l2t0_efu_fuse_xfer_en; | |
558 | input l2t1_efu_fuse_xfer_en; | |
559 | input l2t2_efu_fuse_xfer_en; | |
560 | input l2t3_efu_fuse_xfer_en; | |
561 | input l2t4_efu_fuse_xfer_en; | |
562 | input l2t5_efu_fuse_xfer_en; | |
563 | input l2t6_efu_fuse_xfer_en; | |
564 | input l2t7_efu_fuse_xfer_en; | |
565 | input l2t0_efu_fuse_data; | |
566 | input l2t1_efu_fuse_data; | |
567 | input l2t2_efu_fuse_data; | |
568 | input l2t3_efu_fuse_data; | |
569 | input l2t4_efu_fuse_data; | |
570 | input l2t5_efu_fuse_data; | |
571 | input l2t6_efu_fuse_data; | |
572 | input l2t7_efu_fuse_data; | |
573 | ||
574 | ||
575 | ||
576 | ||
577 | ||
578 | ||
579 | input [31:0] read_data_ff; | |
580 | output [31:0] shift_data_ff_out; | |
581 | output load_l2_read_data; | |
582 | ||
583 | input iol2clk; | |
584 | input l2clk; | |
585 | ||
586 | input cmp_io_sync_en; | |
587 | ||
588 | ||
589 | input tcu_pce_ov; | |
590 | input tcu_aclk; | |
591 | input tcu_bclk; | |
592 | input tcu_scan_en; | |
593 | input scan_in; | |
594 | output scan_out; | |
595 | ||
596 | ||
597 | assign pce_ov = tcu_pce_ov; | |
598 | assign siclk = tcu_aclk; | |
599 | assign soclk = tcu_bclk; | |
600 | assign stop = 1'b0; | |
601 | assign se = tcu_scan_en; | |
602 | ||
603 | wire [31:0] read_data_ff_sync; | |
604 | ||
605 | ||
606 | efu_l2t_ctl_l1clkhdr_ctl_macro clkgen ( | |
607 | .l2clk(iol2clk), | |
608 | .l1en (1'b1 ), | |
609 | .l1clk(l1clk), | |
610 | .pce_ov(pce_ov), | |
611 | .stop(stop), | |
612 | .se(se)); | |
613 | ||
614 | efu_l2t_ctl_l1clkhdr_ctl_macro clkgen_cmp ( | |
615 | .l2clk(l2clk), | |
616 | .l1en (1'b1 ), | |
617 | .l1clk(l1clk_cmp), | |
618 | .pce_ov(pce_ov), | |
619 | .stop(stop), | |
620 | .se(se)); | |
621 | ||
622 | efu_l2t_ctl_msff_ctl_macro__width_1 ff_cmp_io_sync_en | |
623 | ( | |
624 | .scan_in(ff_cmp_io_sync_en_scanin), | |
625 | .scan_out(ff_cmp_io_sync_en_scanout), | |
626 | .din (cmp_io_sync_en), | |
627 | .dout (cmp_io_sync_en_r1), | |
628 | .l1clk (l1clk_cmp), | |
629 | .siclk(siclk), | |
630 | .soclk(soclk) | |
631 | ); | |
632 | ||
633 | assign l2b_xfer_en[7:0] = {l2b7_efu_fuse_xfer_en , l2b6_efu_fuse_xfer_en , | |
634 | l2b5_efu_fuse_xfer_en , l2b4_efu_fuse_xfer_en , | |
635 | l2b3_efu_fuse_xfer_en , l2b2_efu_fuse_xfer_en , | |
636 | l2b1_efu_fuse_xfer_en , l2b0_efu_fuse_xfer_en}; | |
637 | assign l2t_xfer_en[7:0] = {l2t7_efu_fuse_xfer_en, l2t6_efu_fuse_xfer_en , | |
638 | l2t5_efu_fuse_xfer_en , l2t4_efu_fuse_xfer_en , | |
639 | l2t3_efu_fuse_xfer_en , l2t2_efu_fuse_xfer_en , | |
640 | l2t1_efu_fuse_xfer_en , l2t0_efu_fuse_xfer_en}; | |
641 | assign spc_dxfer_en[7:0] = {spc7_efu_fuse_dxfer_en, spc6_efu_fuse_dxfer_en , | |
642 | spc5_efu_fuse_dxfer_en , spc4_efu_fuse_dxfer_en , | |
643 | spc3_efu_fuse_dxfer_en , spc2_efu_fuse_dxfer_en , | |
644 | spc1_efu_fuse_dxfer_en , spc0_efu_fuse_dxfer_en}; | |
645 | assign spc_ixfer_en[7:0] = {spc7_efu_fuse_ixfer_en, spc6_efu_fuse_ixfer_en , | |
646 | spc5_efu_fuse_ixfer_en , spc4_efu_fuse_ixfer_en , | |
647 | spc3_efu_fuse_ixfer_en , spc2_efu_fuse_ixfer_en , | |
648 | spc1_efu_fuse_ixfer_en , spc0_efu_fuse_ixfer_en}; | |
649 | ||
650 | assign spc_idata[7:0] = {spc7_efu_fuse_idata, spc6_efu_fuse_idata, | |
651 | spc5_efu_fuse_idata, spc4_efu_fuse_idata, | |
652 | spc3_efu_fuse_idata, spc2_efu_fuse_idata, | |
653 | spc1_efu_fuse_idata, spc0_efu_fuse_idata}; | |
654 | ||
655 | assign spc_ddata[7:0] = {spc7_efu_fuse_ddata, spc6_efu_fuse_ddata, | |
656 | spc5_efu_fuse_ddata, spc4_efu_fuse_ddata, | |
657 | spc3_efu_fuse_ddata, spc2_efu_fuse_ddata, | |
658 | spc1_efu_fuse_ddata, spc0_efu_fuse_ddata}; | |
659 | assign l2t_data[7:0] = {l2t7_efu_fuse_data, l2t6_efu_fuse_data, | |
660 | l2t5_efu_fuse_data, l2t4_efu_fuse_data, | |
661 | l2t3_efu_fuse_data, l2t2_efu_fuse_data, | |
662 | l2t1_efu_fuse_data, l2t0_efu_fuse_data}; | |
663 | assign l2b_data[7:0] = {l2b7_efu_fuse_data, l2b6_efu_fuse_data, | |
664 | l2b5_efu_fuse_data, l2b4_efu_fuse_data, | |
665 | l2b3_efu_fuse_data, l2b2_efu_fuse_data, | |
666 | l2b1_efu_fuse_data, l2b0_efu_fuse_data}; | |
667 | ||
668 | efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ff_l2b_xfer_en | |
669 | ( | |
670 | .scan_in(ff_l2b_xfer_en_scanin), | |
671 | .scan_out(ff_l2b_xfer_en_scanout), | |
672 | .dout (l2b_xfer_en_q[7:0]), | |
673 | .din (l2b_xfer_en[7:0]), | |
674 | .en (cmp_io_sync_en_r1), | |
675 | .l1clk (l1clk_cmp), | |
676 | .siclk(siclk), | |
677 | .soclk(soclk) | |
678 | ); | |
679 | ||
680 | efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ff_l2t_xfer_en | |
681 | ( | |
682 | .scan_in(ff_l2t_xfer_en_scanin), | |
683 | .scan_out(ff_l2t_xfer_en_scanout), | |
684 | .dout (l2t_xfer_en_q[7:0]), | |
685 | .din (l2t_xfer_en[7:0]), | |
686 | .en (cmp_io_sync_en_r1), | |
687 | .l1clk (l1clk_cmp), | |
688 | .siclk(siclk), | |
689 | .soclk(soclk) | |
690 | ); | |
691 | ||
692 | efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ff_spc_dxfer_en | |
693 | ( | |
694 | .scan_in(ff_spc_dxfer_en_scanin), | |
695 | .scan_out(ff_spc_dxfer_en_scanout), | |
696 | .dout (spc_dxfer_en_q[7:0]), | |
697 | .din (spc_dxfer_en[7:0]), | |
698 | .en (cmp_io_sync_en_r1), | |
699 | .l1clk (l1clk_cmp), | |
700 | .siclk(siclk), | |
701 | .soclk(soclk) | |
702 | ); | |
703 | ||
704 | efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ff_spc_ixfer_en | |
705 | ( | |
706 | .scan_in(ff_spc_ixfer_en_scanin), | |
707 | .scan_out(ff_spc_ixfer_en_scanout), | |
708 | .dout (spc_ixfer_en_q[7:0]), | |
709 | .din (spc_ixfer_en[7:0]), | |
710 | .en (cmp_io_sync_en_r1), | |
711 | .l1clk (l1clk_cmp), | |
712 | .siclk(siclk), | |
713 | .soclk(soclk) | |
714 | ); | |
715 | ||
716 | efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ff_spc_idata | |
717 | ( | |
718 | .scan_in(ff_spc_idata_scanin), | |
719 | .scan_out(ff_spc_idata_scanout), | |
720 | .dout (spc_idata_q[7:0]), | |
721 | .din (spc_idata[7:0]), | |
722 | .en (cmp_io_sync_en_r1), | |
723 | .l1clk (l1clk_cmp), | |
724 | .siclk(siclk), | |
725 | .soclk(soclk) | |
726 | ); | |
727 | ||
728 | efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ff_spc_ddata | |
729 | ( | |
730 | .scan_in(ff_spc_ddata_scanin), | |
731 | .scan_out(ff_spc_ddata_scanout), | |
732 | .dout (spc_ddata_q[7:0]), | |
733 | .din (spc_ddata[7:0]), | |
734 | .en (cmp_io_sync_en_r1), | |
735 | .l1clk (l1clk_cmp), | |
736 | .siclk(siclk), | |
737 | .soclk(soclk) | |
738 | ); | |
739 | ||
740 | efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ff_l2t_data | |
741 | ( | |
742 | .scan_in(ff_l2t_data_scanin), | |
743 | .scan_out(ff_l2t_data_scanout), | |
744 | .dout (l2t_data_q[7:0]), | |
745 | .din (l2t_data[7:0]), | |
746 | .en (cmp_io_sync_en_r1), | |
747 | .l1clk (l1clk_cmp), | |
748 | .siclk(siclk), | |
749 | .soclk(soclk) | |
750 | ); | |
751 | ||
752 | efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ff_l2b_data | |
753 | ( | |
754 | .scan_in(ff_l2b_data_scanin), | |
755 | .scan_out(ff_l2b_data_scanout), | |
756 | .dout (l2b_data_q[7:0]), | |
757 | .din (l2b_data[7:0]), | |
758 | .en (cmp_io_sync_en_r1), | |
759 | .l1clk (l1clk_cmp), | |
760 | .siclk(siclk), | |
761 | .soclk(soclk) | |
762 | ); | |
763 | ||
764 | ||
765 | assign read_data_in = l2b_xfer_en_q[0] | l2b_xfer_en_q[1] | | |
766 | l2b_xfer_en_q[2] | l2b_xfer_en_q[3] | l2b_xfer_en_q[4] | | |
767 | l2b_xfer_en_q[5] | l2b_xfer_en_q[6] | l2b_xfer_en_q[7] | | |
768 | l2t_xfer_en_q[0] | l2t_xfer_en_q[1] | l2t_xfer_en_q[2] | | |
769 | l2t_xfer_en_q[3] | l2t_xfer_en_q[4] | l2t_xfer_en_q[5] | | |
770 | l2t_xfer_en_q[6] | l2t_xfer_en_q[7] | | |
771 | spc_dxfer_en_q[0] | spc_dxfer_en_q[1] | spc_dxfer_en_q[2] | | |
772 | spc_dxfer_en_q[3] | spc_dxfer_en_q[4] | spc_dxfer_en_q[5] | | |
773 | spc_dxfer_en_q[6] | spc_dxfer_en_q[7] | spc_ixfer_en_q[0] | | |
774 | spc_ixfer_en_q[1] | spc_ixfer_en_q[2] | spc_ixfer_en_q[3] | | |
775 | spc_ixfer_en_q[4] | spc_ixfer_en_q[5] | spc_ixfer_en_q[6] | | |
776 | spc_ixfer_en_q[7] | 1'b0; | |
777 | ||
778 | assign efu_xfer_out = efu_l2b0_fuse_xfer_en | efu_l2b1_fuse_xfer_en | | |
779 | efu_l2b2_fuse_xfer_en | efu_l2b3_fuse_xfer_en | efu_l2b4_fuse_xfer_en | | |
780 | efu_l2b5_fuse_xfer_en | efu_l2b6_fuse_xfer_en | efu_l2b7_fuse_xfer_en | | |
781 | efu_l2t0_fuse_xfer_en | efu_l2t1_fuse_xfer_en | efu_l2t2_fuse_xfer_en | | |
782 | efu_l2t3_fuse_xfer_en | efu_l2t4_fuse_xfer_en | efu_l2t5_fuse_xfer_en | | |
783 | efu_l2t6_fuse_xfer_en | efu_l2t7_fuse_xfer_en | | |
784 | efu_spc0_fuse_dxfer_en | efu_spc1_fuse_dxfer_en | efu_spc2_fuse_dxfer_en | | |
785 | efu_spc3_fuse_dxfer_en | efu_spc4_fuse_dxfer_en | efu_spc5_fuse_dxfer_en | | |
786 | efu_spc6_fuse_dxfer_en | efu_spc7_fuse_dxfer_en | efu_spc0_fuse_ixfer_en | | |
787 | efu_spc1_fuse_ixfer_en | efu_spc2_fuse_ixfer_en | efu_spc3_fuse_ixfer_en | | |
788 | efu_spc4_fuse_ixfer_en | efu_spc5_fuse_ixfer_en | efu_spc6_fuse_ixfer_en | | |
789 | efu_spc7_fuse_ixfer_en | 1'b0; | |
790 | ||
791 | //assign read_data_in = 1'b0; | |
792 | ||
793 | assign load_l2_read_data = ~read_data_in_r1 & read_data_in_r2 ; | |
794 | ||
795 | efu_l2t_ctl_msff_ctl_macro__width_1 ff_efu_xfer_out_r2 | |
796 | ( | |
797 | .scan_in(ff_xfer_out_r2_scanin), | |
798 | .scan_out(ff_xfer_out_r2_scanout), | |
799 | .dout (read_data_in_r2), | |
800 | .din (read_data_in_r1), | |
801 | .l1clk (l1clk), | |
802 | .siclk(siclk), | |
803 | .soclk(soclk) | |
804 | ); | |
805 | ||
806 | efu_l2t_ctl_msff_ctl_macro__width_1 ff_read_data_in_r1 | |
807 | ( | |
808 | .scan_in(ff_xfer_out_r1_scanin), | |
809 | .scan_out(ff_xfer_out_r1_scanout), | |
810 | .dout (read_data_in_r1), | |
811 | .din (read_data_in), | |
812 | .l1clk (l1clk), | |
813 | .siclk(siclk), | |
814 | .soclk(soclk) | |
815 | ); | |
816 | ||
817 | efu_l2t_ctl_msff_ctl_macro__width_1 ff_read_data_in | |
818 | ( | |
819 | .scan_in(ff_read_data_in_scanin), | |
820 | .scan_out(ff_read_data_in_scanout), | |
821 | .dout (read_data_in_reg), | |
822 | .din (read_data_in), | |
823 | .l1clk (l1clk), | |
824 | .siclk(siclk), | |
825 | .soclk(soclk) | |
826 | ); | |
827 | ||
828 | ||
829 | //assign shift_data_ff_in[31:0] = //cmp_read_data_ff_vld ? read_data_ff[31:0] | |
830 | // read_data_in_reg | |
831 | // ? {read_data_ff_sync[31:22],read_data_ff_sync[21:1],shift_in_reg} | |
832 | // : {read_data_ff_sync[31:22],read_data_ff_sync[20:0],1'b0}; | |
833 | ||
834 | assign shift_data_ff_in[31:0] = cmp_read_data_ff_vld_reg ? read_data_ff_sync[31:0] | |
835 | : efu_xfer_out ? {shift_data_ff_out[31:22],shift_data_ff_out[20:0],1'b0} | |
836 | : read_data_in_reg ? {shift_data_ff_out[31:22],shift_data_ff_out[20:0],shift_in_reg} | |
837 | : shift_data_ff_out[31:0]; | |
838 | ||
839 | ||
840 | efu_l2t_ctl_msff_ctl_macro__width_1 ff_cmp_read_data_ff_vld | |
841 | ( | |
842 | .scan_in(ff_cmp_read_data_ff_vld_scanin), | |
843 | .scan_out(ff_cmp_read_data_ff_vld_scanout), | |
844 | .dout (cmp_read_data_ff_vld_reg), | |
845 | .din (cmp_read_data_ff_vld), | |
846 | .l1clk (l1clk), | |
847 | .siclk(siclk), | |
848 | .soclk(soclk) | |
849 | ); | |
850 | ||
851 | efu_l2t_ctl_msff_ctl_macro__en_1__width_32 ff_read_data_ff_sync | |
852 | ( | |
853 | .scan_in(ff_read_data_ff_sync_scanin), | |
854 | .scan_out(ff_read_data_ff_sync_scanout), | |
855 | .din (read_data_ff[31:0]), | |
856 | .dout (read_data_ff_sync[31:0]), | |
857 | .en (cmp_read_data_ff_vld), | |
858 | .l1clk (l1clk), | |
859 | .siclk(siclk), | |
860 | .soclk(soclk) | |
861 | ); | |
862 | ||
863 | efu_l2t_ctl_msff_ctl_macro__width_32 ff_shhift_data_ff_sync | |
864 | ( | |
865 | .scan_in(ff_shhift_data_ff_sync_scanin), | |
866 | .scan_out(ff_shhift_data_ff_sync_scanout), | |
867 | .din (shift_data_ff_in), | |
868 | .dout (shift_data_ff_out), | |
869 | .l1clk (l1clk), | |
870 | .siclk(siclk), | |
871 | .soclk(soclk) | |
872 | ); | |
873 | ||
874 | ||
875 | ||
876 | // ### CPS | |
877 | wire [8:0] mrd_cnt_ff; | |
878 | wire [8:0] mrd_cnt_nxt; | |
879 | wire [8:0] mrd_cnt_dec; | |
880 | wire decode_enable_vld; | |
881 | ||
882 | assign cmp_mrd_cnt_done = ~|mrd_cnt_ff; | |
883 | ||
884 | //assign mrd_cnt_nxt[8:0] = cmp_read_data_ff_vld ? 9'd22 : 9'd0; | |
885 | assign mrd_cnt_dec[8:0] = mrd_cnt_ff[8:0] - 9'd1 ; | |
886 | assign mrd_cnt_nxt[8:0] = cmp_read_data_ff_vld_reg & decode_enable_vld ? 9'd22 : cmp_mrd_cnt_done ? 9'd0 : mrd_cnt_dec[8:0] ; | |
887 | ||
888 | efu_l2t_ctl_msff_ctl_macro__width_9 mrd_cnt_reg | |
889 | ( | |
890 | .scan_in(mrd_cnt_reg_scanin), | |
891 | .scan_out(mrd_cnt_reg_scanout), | |
892 | .dout (mrd_cnt_ff[8:0]), | |
893 | .din (mrd_cnt_nxt[8:0]), | |
894 | .l1clk (l1clk), | |
895 | .siclk(siclk), | |
896 | .soclk(soclk) | |
897 | ); | |
898 | ||
899 | wire [2:0] valid_bits; | |
900 | ||
901 | assign valid_bits[2:0] = read_data_ff_sync[31:29]; | |
902 | reg valid, val_err; | |
903 | ||
904 | always @(valid_bits) | |
905 | case (valid_bits) //synopsys parallel_case full_case | |
906 | 3'b000: {valid, val_err} = 2'b00; | |
907 | 3'b001: {valid, val_err} = 2'b01; | |
908 | 3'b010: {valid, val_err} = 2'b01; | |
909 | 3'b100: {valid, val_err} = 2'b01; | |
910 | 3'b011: {valid, val_err} = 2'b10; | |
911 | 3'b101: {valid, val_err} = 2'b10; | |
912 | 3'b110: {valid, val_err} = 2'b10; | |
913 | 3'b111: {valid, val_err} = 2'b10; | |
914 | endcase | |
915 | ||
916 | assign computed_parity = ^read_data_ff_sync[28:0]; | |
917 | assign good_parity = ~computed_parity; | |
918 | ||
919 | assign decode_enable_vld = valid & ~val_err & good_parity ; | |
920 | ||
921 | //### CPS | |
922 | assign any_cnt_other_than_zero = (|mrd_cnt_nxt[8:0]); | |
923 | // change to fix a glitch on ixfer_en | |
924 | //assign local_fuse_ashift_nxt = any_cnt_other_than_zero | local_fuse_ashift_d1 ; | |
925 | assign local_fuse_ashift_nxt = local_fuse_ashift_d1 ; | |
926 | assign local_fuse_dshift_nxt = local_fuse_ashift_nxt; | |
927 | ||
928 | efu_l2t_ctl_msff_ctl_macro__width_1 local_fuse_ashift_ff | |
929 | ( | |
930 | .scan_in(local_fuse_ashift_ff_scanin), | |
931 | .scan_out(local_fuse_ashift_ff_scanout), | |
932 | .dout (local_fuse_ashift_d1), | |
933 | .din (any_cnt_other_than_zero), | |
934 | .l1clk (l1clk), | |
935 | .siclk(siclk), | |
936 | .soclk(soclk) | |
937 | ); | |
938 | ||
939 | ||
940 | //assign local_fuse_dshift_nxt = (|mrd_cnt_nxt[8:0]); | |
941 | //assign local_fuse_ashift_nxt = mrd_cnt_nxt[8:0] == 9'd22 | | |
942 | // mrd_cnt_nxt[8:0] == 9'd21 | | |
943 | // mrd_cnt_nxt[8:0] == 9'd20 | | |
944 | // mrd_cnt_nxt[8:0] == 9'd19 | | |
945 | // mrd_cnt_nxt[8:0] == 9'd18 | | |
946 | // mrd_cnt_nxt[8:0] == 9'd17 | | |
947 | // mrd_cnt_nxt[8:0] == 9'd16 | | |
948 | // mrd_cnt_nxt[8:0] == 9'd15 | | |
949 | // mrd_cnt_nxt[8:0] == 9'd14 | | |
950 | // mrd_cnt_nxt[8:0] == 9'd13 | | |
951 | // mrd_cnt_nxt[8:0] == 9'd12 | | |
952 | // mrd_cnt_nxt[8:0] == 9'd11 | | |
953 | // mrd_cnt_nxt[8:0] == 9'd10 | | |
954 | // mrd_cnt_nxt[8:0] == 9'd9 | | |
955 | // mrd_cnt_nxt[8:0] == 9'd8 | | |
956 | // mrd_cnt_nxt[8:0] == 9'd7 | | |
957 | // mrd_cnt_nxt[8:0] == 9'd6 | | |
958 | // mrd_cnt_nxt[8:0] == 9'd5 | | |
959 | // mrd_cnt_nxt[8:0] == 9'd4 | | |
960 | // mrd_cnt_nxt[8:0] == 9'd3 | | |
961 | // mrd_cnt_nxt[8:0] == 9'd2 | | |
962 | // mrd_cnt_nxt[8:0] == 9'd1 | | |
963 | // mrd_cnt_nxt[8:0] == 9'd0; | |
964 | ||
965 | // ### CPS | |
966 | assign local_fuse_data_ff = shift_data_ff_out[21]; | |
967 | ||
968 | assign block_id[5:0] = read_data_ff_sync[27:22]; | |
969 | ||
970 | assign spc0_ifuse_dec = (block_id[5:0] == 6'b000000) & decode_enable_vld; | |
971 | assign spc0_dfuse_dec = (block_id[5:0] == 6'b000001) & decode_enable_vld; | |
972 | assign spc1_ifuse_dec = (block_id[5:0] == 6'b000010) & decode_enable_vld; | |
973 | assign spc1_dfuse_dec = (block_id[5:0] == 6'b000011) & decode_enable_vld; | |
974 | assign spc2_ifuse_dec = (block_id[5:0] == 6'b000100) & decode_enable_vld; | |
975 | assign spc2_dfuse_dec = (block_id[5:0] == 6'b000101) & decode_enable_vld; | |
976 | assign spc3_ifuse_dec = (block_id[5:0] == 6'b000110) & decode_enable_vld; | |
977 | assign spc3_dfuse_dec = (block_id[5:0] == 6'b000111) & decode_enable_vld; | |
978 | assign spc4_ifuse_dec = (block_id[5:0] == 6'b001000) & decode_enable_vld; | |
979 | assign spc4_dfuse_dec = (block_id[5:0] == 6'b001001) & decode_enable_vld; | |
980 | assign spc5_ifuse_dec = (block_id[5:0] == 6'b001010) & decode_enable_vld; | |
981 | assign spc5_dfuse_dec = (block_id[5:0] == 6'b001011) & decode_enable_vld; | |
982 | assign spc6_ifuse_dec = (block_id[5:0] == 6'b001100) & decode_enable_vld; | |
983 | assign spc6_dfuse_dec = (block_id[5:0] == 6'b001101) & decode_enable_vld; | |
984 | assign spc7_ifuse_dec = (block_id[5:0] == 6'b001110) & decode_enable_vld; | |
985 | assign spc7_dfuse_dec = (block_id[5:0] == 6'b001111) & decode_enable_vld; | |
986 | assign l2t0_fuse_dec = (block_id[5:0] == 6'b010000) & decode_enable_vld; | |
987 | assign l2t1_fuse_dec = (block_id[5:0] == 6'b010001) & decode_enable_vld; | |
988 | assign l2t2_fuse_dec = (block_id[5:0] == 6'b010010) & decode_enable_vld; | |
989 | assign l2t3_fuse_dec = (block_id[5:0] == 6'b010011) & decode_enable_vld; | |
990 | assign l2t4_fuse_dec = (block_id[5:0] == 6'b010100) & decode_enable_vld; | |
991 | assign l2t5_fuse_dec = (block_id[5:0] == 6'b010101) & decode_enable_vld; | |
992 | assign l2t6_fuse_dec = (block_id[5:0] == 6'b010110) & decode_enable_vld; | |
993 | assign l2t7_fuse_dec = (block_id[5:0] == 6'b010111) & decode_enable_vld; | |
994 | assign l2d0_fuse_dec = (block_id[5:0] == 6'b011000) & decode_enable_vld; | |
995 | assign l2d1_fuse_dec = (block_id[5:0] == 6'b011001) & decode_enable_vld; | |
996 | assign l2d2_fuse_dec = (block_id[5:0] == 6'b011010) & decode_enable_vld; | |
997 | assign l2d3_fuse_dec = (block_id[5:0] == 6'b011011) & decode_enable_vld; | |
998 | assign l2d4_fuse_dec = (block_id[5:0] == 6'b011100) & decode_enable_vld; | |
999 | assign l2d5_fuse_dec = (block_id[5:0] == 6'b011101) & decode_enable_vld; | |
1000 | assign l2d6_fuse_dec = (block_id[5:0] == 6'b011110) & decode_enable_vld; | |
1001 | assign l2d7_fuse_dec = (block_id[5:0] == 6'b011111) & decode_enable_vld; | |
1002 | ||
1003 | efu_l2t_ctl_msff_ctl_macro__width_1 data_vld_datareg | |
1004 | ( | |
1005 | .scan_in(data_vld_datareg_scanin), | |
1006 | .scan_out(data_vld_datareg_scanout), | |
1007 | .din (shift_in), | |
1008 | .dout (shift_in_reg), | |
1009 | .l1clk (l1clk), | |
1010 | .siclk(siclk), | |
1011 | .soclk(soclk) | |
1012 | ); | |
1013 | ||
1014 | ||
1015 | assign shift_in = 1'b0 | |
1016 | | spc7_ifuse_dec & spc_idata_q[7] //&& spc7_efu_fuse_ixfer_en | |
1017 | | spc7_dfuse_dec & spc_ddata_q[7] //&& spc7_efu_fuse_dxfer_en | |
1018 | | spc6_ifuse_dec & spc_idata_q[6] //&& spc6_efu_fuse_ixfer_en | |
1019 | | spc6_dfuse_dec & spc_ddata_q[6] //&& spc6_efu_fuse_dxfer_en | |
1020 | | spc5_ifuse_dec & spc_idata_q[5] //&& spc5_efu_fuse_ixfer_en | |
1021 | | spc5_dfuse_dec & spc_ddata_q[5] //&& spc5_efu_fuse_dxfer_en | |
1022 | | spc4_ifuse_dec & spc_idata_q[4] //&& spc4_efu_fuse_ixfer_en | |
1023 | | spc4_dfuse_dec & spc_ddata_q[4] //&& spc4_efu_fuse_dxfer_en | |
1024 | | spc3_ifuse_dec & spc_idata_q[3] //&& spc3_efu_fuse_ixfer_en | |
1025 | | spc3_dfuse_dec & spc_ddata_q[3] //&& spc3_efu_fuse_dxfer_en | |
1026 | | spc2_ifuse_dec & spc_idata_q[2] //&& spc2_efu_fuse_ixfer_en | |
1027 | | spc2_dfuse_dec & spc_ddata_q[2] //&& spc2_efu_fuse_dxfer_en | |
1028 | | spc1_ifuse_dec & spc_idata_q[1] //&& spc1_efu_fuse_ixfer_en | |
1029 | | spc1_dfuse_dec & spc_ddata_q[1] //&& spc1_efu_fuse_dxfer_en | |
1030 | | spc0_ifuse_dec & spc_idata_q[0] //&& spc0_efu_fuse_ixfer_en | |
1031 | | spc0_dfuse_dec & spc_ddata_q[0] //&& spc0_efu_fuse_dxfer_en | |
1032 | | l2t0_fuse_dec & l2t_data_q[0] //&& l2t0_efu_fuse_xfer_en | |
1033 | | l2t1_fuse_dec & l2t_data_q[1] //&& l2t1_efu_fuse_xfer_en | |
1034 | | l2t2_fuse_dec & l2t_data_q[2] //&& l2t2_efu_fuse_xfer_en | |
1035 | | l2t3_fuse_dec & l2t_data_q[3] //&& l2t3_efu_fuse_xfer_en | |
1036 | | l2t4_fuse_dec & l2t_data_q[4] //&& l2t4_efu_fuse_xfer_en | |
1037 | | l2t5_fuse_dec & l2t_data_q[5] //&& l2t5_efu_fuse_xfer_en | |
1038 | | l2t6_fuse_dec & l2t_data_q[6] //&& l2t6_efu_fuse_xfer_en | |
1039 | | l2t7_fuse_dec & l2t_data_q[7] //&& l2t7_efu_fuse_xfer_en | |
1040 | | l2d0_fuse_dec & l2b_data_q[0] //&& l2b0_efu_fuse_xfer_en | |
1041 | | l2d1_fuse_dec & l2b_data_q[1] //&& l2b1_efu_fuse_xfer_en | |
1042 | | l2d2_fuse_dec & l2b_data_q[2] //&& l2b2_efu_fuse_xfer_en | |
1043 | | l2d3_fuse_dec & l2b_data_q[3] //&& l2b3_efu_fuse_xfer_en | |
1044 | | l2d4_fuse_dec & l2b_data_q[4] //&& l2b4_efu_fuse_xfer_en | |
1045 | | l2d5_fuse_dec & l2b_data_q[5] //&& l2b5_efu_fuse_xfer_en | |
1046 | | l2d6_fuse_dec & l2b_data_q[6] //&& l2b6_efu_fuse_xfer_en | |
1047 | | l2d7_fuse_dec & l2b_data_q[7] ;//&& l2b7_efu_fuse_xfer_en; | |
1048 | ||
1049 | assign efu_spc0246_fuse_data = local_fuse_data_ff; | |
1050 | assign efu_spc1357_fuse_data = local_fuse_data_ff; | |
1051 | assign efu_l2t0246_fuse_data = local_fuse_data_ff; // | |
1052 | assign efu_l2t1357_fuse_data = local_fuse_data_ff; | |
1053 | assign efu_l2b0246_fuse_data = local_fuse_data_ff; | |
1054 | assign efu_l2b1357_fuse_data = local_fuse_data_ff; | |
1055 | ||
1056 | ||
1057 | efu_l2t_ctl_msff_ctl_macro__width_1 spc0_ifuse_ashift_reg | |
1058 | ( | |
1059 | .scan_in(spc0_ifuse_ashift_reg_scanin), | |
1060 | .scan_out(spc0_ifuse_ashift_reg_scanout), | |
1061 | .din (spc0_ifuse_dec && local_fuse_ashift_nxt), | |
1062 | .dout (efu_spc0_ifuse_ashift), | |
1063 | .l1clk (l1clk), | |
1064 | .siclk(siclk), | |
1065 | .soclk(soclk) | |
1066 | ); | |
1067 | ||
1068 | ||
1069 | efu_l2t_ctl_msff_ctl_macro__width_1 spc0_ifuse_dshift_reg | |
1070 | ( | |
1071 | .scan_in(spc0_ifuse_dshift_reg_scanin), | |
1072 | .scan_out(spc0_ifuse_dshift_reg_scanout), | |
1073 | .din (spc0_ifuse_dec && local_fuse_dshift_nxt), | |
1074 | .dout (efu_spc0_ifuse_dshift), | |
1075 | .l1clk (l1clk), | |
1076 | .siclk(siclk), | |
1077 | .soclk(soclk) | |
1078 | ); | |
1079 | ||
1080 | assign efu_spc0_fuse_ixfer_en = efu_spc0_ifuse_ashift | efu_spc0_ifuse_dshift; | |
1081 | ||
1082 | efu_l2t_ctl_msff_ctl_macro__width_1 spc0_dfuse_ashift_reg | |
1083 | ( | |
1084 | .scan_in(spc0_dfuse_ashift_reg_scanin), | |
1085 | .scan_out(spc0_dfuse_ashift_reg_scanout), | |
1086 | .din (spc0_dfuse_dec && local_fuse_ashift_nxt), | |
1087 | .dout (efu_spc0_dfuse_ashift), | |
1088 | .l1clk (l1clk), | |
1089 | .siclk(siclk), | |
1090 | .soclk(soclk) | |
1091 | ); | |
1092 | ||
1093 | ||
1094 | efu_l2t_ctl_msff_ctl_macro__width_1 spc0_dfuse_dshift_reg | |
1095 | ( | |
1096 | .scan_in(spc0_dfuse_dshift_reg_scanin), | |
1097 | .scan_out(spc0_dfuse_dshift_reg_scanout), | |
1098 | .din (spc0_dfuse_dec && local_fuse_dshift_nxt), | |
1099 | .dout (efu_spc0_dfuse_dshift), | |
1100 | .l1clk (l1clk), | |
1101 | .siclk(siclk), | |
1102 | .soclk(soclk) | |
1103 | ); | |
1104 | ||
1105 | assign efu_spc0_fuse_dxfer_en = efu_spc0_dfuse_ashift | efu_spc0_dfuse_dshift; | |
1106 | ||
1107 | efu_l2t_ctl_msff_ctl_macro__width_1 spc1_ifuse_ashift_reg | |
1108 | ( | |
1109 | .scan_in(spc1_ifuse_ashift_reg_scanin), | |
1110 | .scan_out(spc1_ifuse_ashift_reg_scanout), | |
1111 | .din (spc1_ifuse_dec && local_fuse_ashift_nxt), | |
1112 | .dout (efu_spc1_ifuse_ashift), | |
1113 | .l1clk (l1clk), | |
1114 | .siclk(siclk), | |
1115 | .soclk(soclk) | |
1116 | ); | |
1117 | ||
1118 | ||
1119 | efu_l2t_ctl_msff_ctl_macro__width_1 spc1_ifuse_dshift_reg | |
1120 | ( | |
1121 | .scan_in(spc1_ifuse_dshift_reg_scanin), | |
1122 | .scan_out(spc1_ifuse_dshift_reg_scanout), | |
1123 | .din (spc1_ifuse_dec && local_fuse_dshift_nxt), | |
1124 | .dout (efu_spc1_ifuse_dshift), | |
1125 | .l1clk (l1clk), | |
1126 | .siclk(siclk), | |
1127 | .soclk(soclk) | |
1128 | ); | |
1129 | ||
1130 | assign efu_spc1_fuse_ixfer_en = efu_spc1_ifuse_dshift | efu_spc1_ifuse_ashift; | |
1131 | ||
1132 | efu_l2t_ctl_msff_ctl_macro__width_1 spc1_dfuse_ashift_reg | |
1133 | ( | |
1134 | .scan_in(spc1_dfuse_ashift_reg_scanin), | |
1135 | .scan_out(spc1_dfuse_ashift_reg_scanout), | |
1136 | .din (spc1_dfuse_dec && local_fuse_ashift_nxt), | |
1137 | .dout (efu_spc1_dfuse_ashift), | |
1138 | .l1clk (l1clk), | |
1139 | .siclk(siclk), | |
1140 | .soclk(soclk) | |
1141 | ); | |
1142 | ||
1143 | ||
1144 | efu_l2t_ctl_msff_ctl_macro__width_1 spc1_dfuse_dshift_reg | |
1145 | ( | |
1146 | .scan_in(spc1_dfuse_dshift_reg_scanin), | |
1147 | .scan_out(spc1_dfuse_dshift_reg_scanout), | |
1148 | .din (spc1_dfuse_dec && local_fuse_dshift_nxt), | |
1149 | .dout (efu_spc1_dfuse_dshift), | |
1150 | .l1clk (l1clk), | |
1151 | .siclk(siclk), | |
1152 | .soclk(soclk) | |
1153 | ); | |
1154 | ||
1155 | assign efu_spc1_fuse_dxfer_en = efu_spc1_dfuse_ashift | efu_spc1_dfuse_dshift; | |
1156 | ||
1157 | efu_l2t_ctl_msff_ctl_macro__width_1 spc2_ifuse_ashift_reg | |
1158 | ( | |
1159 | .scan_in(spc2_ifuse_ashift_reg_scanin), | |
1160 | .scan_out(spc2_ifuse_ashift_reg_scanout), | |
1161 | .din (spc2_ifuse_dec && local_fuse_ashift_nxt), | |
1162 | .dout (efu_spc2_ifuse_ashift), | |
1163 | .l1clk (l1clk), | |
1164 | .siclk(siclk), | |
1165 | .soclk(soclk) | |
1166 | ); | |
1167 | ||
1168 | ||
1169 | efu_l2t_ctl_msff_ctl_macro__width_1 spc2_ifuse_dshift_reg | |
1170 | ( | |
1171 | .scan_in(spc2_ifuse_dshift_reg_scanin), | |
1172 | .scan_out(spc2_ifuse_dshift_reg_scanout), | |
1173 | .din (spc2_ifuse_dec && local_fuse_dshift_nxt), | |
1174 | .dout (efu_spc2_ifuse_dshift), | |
1175 | .l1clk (l1clk), | |
1176 | .siclk(siclk), | |
1177 | .soclk(soclk) | |
1178 | ); | |
1179 | ||
1180 | ||
1181 | assign efu_spc2_fuse_ixfer_en = efu_spc2_ifuse_ashift | efu_spc2_ifuse_dshift; | |
1182 | ||
1183 | efu_l2t_ctl_msff_ctl_macro__width_1 spc2_dfuse_ashift_reg | |
1184 | ( | |
1185 | .scan_in(spc2_dfuse_ashift_reg_scanin), | |
1186 | .scan_out(spc2_dfuse_ashift_reg_scanout), | |
1187 | .din (spc2_dfuse_dec && local_fuse_ashift_nxt), | |
1188 | .dout (efu_spc2_dfuse_ashift), | |
1189 | .l1clk (l1clk), | |
1190 | .siclk(siclk), | |
1191 | .soclk(soclk) | |
1192 | ); | |
1193 | ||
1194 | ||
1195 | efu_l2t_ctl_msff_ctl_macro__width_1 spc2_dfuse_dshift_reg | |
1196 | ( | |
1197 | .scan_in(spc2_dfuse_dshift_reg_scanin), | |
1198 | .scan_out(spc2_dfuse_dshift_reg_scanout), | |
1199 | .din (spc2_dfuse_dec && local_fuse_dshift_nxt), | |
1200 | .dout (efu_spc2_dfuse_dshift), | |
1201 | .l1clk (l1clk), | |
1202 | .siclk(siclk), | |
1203 | .soclk(soclk) | |
1204 | ); | |
1205 | ||
1206 | assign efu_spc2_fuse_dxfer_en = efu_spc2_dfuse_ashift | efu_spc2_dfuse_dshift; | |
1207 | ||
1208 | efu_l2t_ctl_msff_ctl_macro__width_1 spc3_ifuse_ashift_reg | |
1209 | ( | |
1210 | .scan_in(spc3_ifuse_ashift_reg_scanin), | |
1211 | .scan_out(spc3_ifuse_ashift_reg_scanout), | |
1212 | .din (spc3_ifuse_dec && local_fuse_ashift_nxt), | |
1213 | .dout (efu_spc3_ifuse_ashift), | |
1214 | .l1clk (l1clk), | |
1215 | .siclk(siclk), | |
1216 | .soclk(soclk) | |
1217 | ); | |
1218 | ||
1219 | ||
1220 | efu_l2t_ctl_msff_ctl_macro__width_1 spc3_ifuse_dshift_reg | |
1221 | ( | |
1222 | .scan_in(spc3_ifuse_dshift_reg_scanin), | |
1223 | .scan_out(spc3_ifuse_dshift_reg_scanout), | |
1224 | .din (spc3_ifuse_dec && local_fuse_dshift_nxt), | |
1225 | .dout (efu_spc3_ifuse_dshift), | |
1226 | .l1clk (l1clk), | |
1227 | .siclk(siclk), | |
1228 | .soclk(soclk) | |
1229 | ); | |
1230 | ||
1231 | assign efu_spc3_fuse_ixfer_en = efu_spc3_ifuse_ashift | efu_spc3_ifuse_dshift; | |
1232 | ||
1233 | ||
1234 | efu_l2t_ctl_msff_ctl_macro__width_1 spc3_dfuse_ashift_reg | |
1235 | ( | |
1236 | .scan_in(spc3_dfuse_ashift_reg_scanin), | |
1237 | .scan_out(spc3_dfuse_ashift_reg_scanout), | |
1238 | .din (spc3_dfuse_dec && local_fuse_ashift_nxt), | |
1239 | .dout (efu_spc3_dfuse_ashift), | |
1240 | .l1clk (l1clk), | |
1241 | .siclk(siclk), | |
1242 | .soclk(soclk) | |
1243 | ); | |
1244 | ||
1245 | ||
1246 | efu_l2t_ctl_msff_ctl_macro__width_1 spc3_dfuse_dshift_reg | |
1247 | ( | |
1248 | .scan_in(spc3_dfuse_dshift_reg_scanin), | |
1249 | .scan_out(spc3_dfuse_dshift_reg_scanout), | |
1250 | .din (spc3_dfuse_dec && local_fuse_dshift_nxt), | |
1251 | .dout (efu_spc3_dfuse_dshift), | |
1252 | .l1clk (l1clk), | |
1253 | .siclk(siclk), | |
1254 | .soclk(soclk) | |
1255 | ); | |
1256 | ||
1257 | assign efu_spc3_fuse_dxfer_en = efu_spc3_dfuse_ashift | efu_spc3_dfuse_dshift; | |
1258 | ||
1259 | efu_l2t_ctl_msff_ctl_macro__width_1 spc4_ifuse_ashift_reg | |
1260 | ( | |
1261 | .scan_in(spc4_ifuse_ashift_reg_scanin), | |
1262 | .scan_out(spc4_ifuse_ashift_reg_scanout), | |
1263 | .din (spc4_ifuse_dec && local_fuse_ashift_nxt), | |
1264 | .dout (efu_spc4_ifuse_ashift), | |
1265 | .l1clk (l1clk), | |
1266 | .siclk(siclk), | |
1267 | .soclk(soclk) | |
1268 | ); | |
1269 | ||
1270 | ||
1271 | efu_l2t_ctl_msff_ctl_macro__width_1 spc4_ifuse_dshift_reg | |
1272 | ( | |
1273 | .scan_in(spc4_ifuse_dshift_reg_scanin), | |
1274 | .scan_out(spc4_ifuse_dshift_reg_scanout), | |
1275 | .din (spc4_ifuse_dec && local_fuse_dshift_nxt), | |
1276 | .dout (efu_spc4_ifuse_dshift), | |
1277 | .l1clk (l1clk), | |
1278 | .siclk(siclk), | |
1279 | .soclk(soclk) | |
1280 | ); | |
1281 | ||
1282 | ||
1283 | assign efu_spc4_fuse_ixfer_en = efu_spc4_ifuse_ashift | efu_spc4_ifuse_dshift; | |
1284 | ||
1285 | ||
1286 | efu_l2t_ctl_msff_ctl_macro__width_1 spc4_dfuse_ashift_reg | |
1287 | ( | |
1288 | .scan_in(spc4_dfuse_ashift_reg_scanin), | |
1289 | .scan_out(spc4_dfuse_ashift_reg_scanout), | |
1290 | .din (spc4_dfuse_dec && local_fuse_ashift_nxt), | |
1291 | .dout (efu_spc4_dfuse_ashift), | |
1292 | .l1clk (l1clk), | |
1293 | .siclk(siclk), | |
1294 | .soclk(soclk) | |
1295 | ); | |
1296 | ||
1297 | ||
1298 | efu_l2t_ctl_msff_ctl_macro__width_1 spc4_dfuse_dshift_reg | |
1299 | ( | |
1300 | .scan_in(spc4_dfuse_dshift_reg_scanin), | |
1301 | .scan_out(spc4_dfuse_dshift_reg_scanout), | |
1302 | .din (spc4_dfuse_dec && local_fuse_dshift_nxt), | |
1303 | .dout (efu_spc4_dfuse_dshift), | |
1304 | .l1clk (l1clk), | |
1305 | .siclk(siclk), | |
1306 | .soclk(soclk) | |
1307 | ); | |
1308 | ||
1309 | ||
1310 | assign efu_spc4_fuse_dxfer_en = efu_spc4_dfuse_ashift | efu_spc4_dfuse_dshift; | |
1311 | ||
1312 | ||
1313 | efu_l2t_ctl_msff_ctl_macro__width_1 spc5_ifuse_ashift_reg | |
1314 | ( | |
1315 | .scan_in(spc5_ifuse_ashift_reg_scanin), | |
1316 | .scan_out(spc5_ifuse_ashift_reg_scanout), | |
1317 | .din (spc5_ifuse_dec && local_fuse_ashift_nxt), | |
1318 | .dout (efu_spc5_ifuse_ashift), | |
1319 | .l1clk (l1clk), | |
1320 | .siclk(siclk), | |
1321 | .soclk(soclk) | |
1322 | ); | |
1323 | ||
1324 | ||
1325 | efu_l2t_ctl_msff_ctl_macro__width_1 spc5_ifuse_dshift_reg | |
1326 | ( | |
1327 | .scan_in(spc5_ifuse_dshift_reg_scanin), | |
1328 | .scan_out(spc5_ifuse_dshift_reg_scanout), | |
1329 | .din (spc5_ifuse_dec && local_fuse_dshift_nxt), | |
1330 | .dout (efu_spc5_ifuse_dshift), | |
1331 | .l1clk (l1clk), | |
1332 | .siclk(siclk), | |
1333 | .soclk(soclk) | |
1334 | ); | |
1335 | ||
1336 | assign efu_spc5_fuse_ixfer_en = efu_spc5_ifuse_ashift | efu_spc5_ifuse_dshift; | |
1337 | ||
1338 | efu_l2t_ctl_msff_ctl_macro__width_1 spc5_dfuse_ashift_reg | |
1339 | ( | |
1340 | .scan_in(spc5_dfuse_ashift_reg_scanin), | |
1341 | .scan_out(spc5_dfuse_ashift_reg_scanout), | |
1342 | .din (spc5_dfuse_dec && local_fuse_ashift_nxt), | |
1343 | .dout (efu_spc5_dfuse_ashift), | |
1344 | .l1clk (l1clk), | |
1345 | .siclk(siclk), | |
1346 | .soclk(soclk) | |
1347 | ); | |
1348 | ||
1349 | ||
1350 | efu_l2t_ctl_msff_ctl_macro__width_1 spc5_dfuse_dshift_reg | |
1351 | ( | |
1352 | .scan_in(spc5_dfuse_dshift_reg_scanin), | |
1353 | .scan_out(spc5_dfuse_dshift_reg_scanout), | |
1354 | .din (spc5_dfuse_dec && local_fuse_dshift_nxt), | |
1355 | .dout (efu_spc5_dfuse_dshift), | |
1356 | .l1clk (l1clk), | |
1357 | .siclk(siclk), | |
1358 | .soclk(soclk) | |
1359 | ); | |
1360 | ||
1361 | ||
1362 | assign efu_spc5_fuse_dxfer_en = efu_spc5_dfuse_ashift | efu_spc5_dfuse_dshift; | |
1363 | ||
1364 | efu_l2t_ctl_msff_ctl_macro__width_1 spc6_ifuse_ashift_reg | |
1365 | ( | |
1366 | .scan_in(spc6_ifuse_ashift_reg_scanin), | |
1367 | .scan_out(spc6_ifuse_ashift_reg_scanout), | |
1368 | .din (spc6_ifuse_dec && local_fuse_ashift_nxt), | |
1369 | .dout (efu_spc6_ifuse_ashift), | |
1370 | .l1clk (l1clk), | |
1371 | .siclk(siclk), | |
1372 | .soclk(soclk) | |
1373 | ); | |
1374 | ||
1375 | ||
1376 | efu_l2t_ctl_msff_ctl_macro__width_1 spc6_ifuse_dshift_reg | |
1377 | ( | |
1378 | .scan_in(spc6_ifuse_dshift_reg_scanin), | |
1379 | .scan_out(spc6_ifuse_dshift_reg_scanout), | |
1380 | .din (spc6_ifuse_dec && local_fuse_dshift_nxt), | |
1381 | .dout (efu_spc6_ifuse_dshift), | |
1382 | .l1clk (l1clk), | |
1383 | .siclk(siclk), | |
1384 | .soclk(soclk) | |
1385 | ); | |
1386 | ||
1387 | ||
1388 | assign efu_spc6_fuse_ixfer_en = efu_spc6_ifuse_ashift | efu_spc6_ifuse_dshift; | |
1389 | ||
1390 | efu_l2t_ctl_msff_ctl_macro__width_1 spc6_dfuse_ashift_reg | |
1391 | ( | |
1392 | .scan_in(spc6_dfuse_ashift_reg_scanin), | |
1393 | .scan_out(spc6_dfuse_ashift_reg_scanout), | |
1394 | .din (spc6_dfuse_dec && local_fuse_ashift_nxt), | |
1395 | .dout (efu_spc6_dfuse_ashift), | |
1396 | .l1clk (l1clk), | |
1397 | .siclk(siclk), | |
1398 | .soclk(soclk) | |
1399 | ); | |
1400 | ||
1401 | ||
1402 | efu_l2t_ctl_msff_ctl_macro__width_1 spc6_dfuse_dshift_reg | |
1403 | ( | |
1404 | .scan_in(spc6_dfuse_dshift_reg_scanin), | |
1405 | .scan_out(spc6_dfuse_dshift_reg_scanout), | |
1406 | .din (spc6_dfuse_dec && local_fuse_dshift_nxt), | |
1407 | .dout (efu_spc6_dfuse_dshift), | |
1408 | .l1clk (l1clk), | |
1409 | .siclk(siclk), | |
1410 | .soclk(soclk) | |
1411 | ); | |
1412 | ||
1413 | assign efu_spc6_fuse_dxfer_en = efu_spc6_dfuse_ashift | efu_spc6_dfuse_dshift; | |
1414 | ||
1415 | efu_l2t_ctl_msff_ctl_macro__width_1 spc7_ifuse_ashift_reg | |
1416 | ( | |
1417 | .scan_in(spc7_ifuse_ashift_reg_scanin), | |
1418 | .scan_out(spc7_ifuse_ashift_reg_scanout), | |
1419 | .din (spc7_ifuse_dec && local_fuse_ashift_nxt), | |
1420 | .dout (efu_spc7_ifuse_ashift), | |
1421 | .l1clk (l1clk), | |
1422 | .siclk(siclk), | |
1423 | .soclk(soclk) | |
1424 | ); | |
1425 | ||
1426 | ||
1427 | efu_l2t_ctl_msff_ctl_macro__width_1 spc7_ifuse_dshift_reg | |
1428 | ( | |
1429 | .scan_in(spc7_ifuse_dshift_reg_scanin), | |
1430 | .scan_out(spc7_ifuse_dshift_reg_scanout), | |
1431 | .din (spc7_ifuse_dec && local_fuse_dshift_nxt), | |
1432 | .dout (efu_spc7_ifuse_dshift), | |
1433 | .l1clk (l1clk), | |
1434 | .siclk(siclk), | |
1435 | .soclk(soclk) | |
1436 | ); | |
1437 | ||
1438 | assign efu_spc7_fuse_ixfer_en = efu_spc7_ifuse_ashift | efu_spc7_ifuse_dshift; | |
1439 | ||
1440 | efu_l2t_ctl_msff_ctl_macro__width_1 spc7_dfuse_ashift_reg | |
1441 | ( | |
1442 | .scan_in(spc7_dfuse_ashift_reg_scanin), | |
1443 | .scan_out(spc7_dfuse_ashift_reg_scanout), | |
1444 | .din (spc7_dfuse_dec && local_fuse_ashift_nxt), | |
1445 | .dout (efu_spc7_dfuse_ashift), | |
1446 | .l1clk (l1clk), | |
1447 | .siclk(siclk), | |
1448 | .soclk(soclk) | |
1449 | ); | |
1450 | ||
1451 | ||
1452 | efu_l2t_ctl_msff_ctl_macro__width_1 spc7_dfuse_dshift_reg | |
1453 | ( | |
1454 | .scan_in(spc7_dfuse_dshift_reg_scanin), | |
1455 | .scan_out(spc7_dfuse_dshift_reg_scanout), | |
1456 | .din (spc7_dfuse_dec && local_fuse_dshift_nxt), | |
1457 | .dout (efu_spc7_dfuse_dshift), | |
1458 | .l1clk (l1clk), | |
1459 | .siclk(siclk), | |
1460 | .soclk(soclk) | |
1461 | ); | |
1462 | ||
1463 | assign efu_spc7_fuse_dxfer_en = efu_spc7_dfuse_ashift | efu_spc7_dfuse_dshift; | |
1464 | ||
1465 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t0_fuse_ashift_reg | |
1466 | ( | |
1467 | .scan_in(l2t0_fuse_ashift_reg_scanin), | |
1468 | .scan_out(l2t0_fuse_ashift_reg_scanout), | |
1469 | .din (l2t0_fuse_dec && local_fuse_ashift_nxt), | |
1470 | .dout (efu_l2t0_fuse_ashift), | |
1471 | .l1clk (l1clk), | |
1472 | .siclk(siclk), | |
1473 | .soclk(soclk) | |
1474 | ); | |
1475 | ||
1476 | ||
1477 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t0_fuse_dshift_reg | |
1478 | ( | |
1479 | .scan_in(l2t0_fuse_dshift_reg_scanin), | |
1480 | .scan_out(l2t0_fuse_dshift_reg_scanout), | |
1481 | .din (l2t0_fuse_dec && local_fuse_dshift_nxt), | |
1482 | .dout (efu_l2t0_fuse_dshift), | |
1483 | .l1clk (l1clk), | |
1484 | .siclk(siclk), | |
1485 | .soclk(soclk) | |
1486 | ); | |
1487 | ||
1488 | assign efu_l2t0_fuse_xfer_en = efu_l2t0_fuse_ashift | efu_l2t0_fuse_dshift; | |
1489 | ||
1490 | ||
1491 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t1_fuse_ashift_reg | |
1492 | ( | |
1493 | .scan_in(l2t1_fuse_ashift_reg_scanin), | |
1494 | .scan_out(l2t1_fuse_ashift_reg_scanout), | |
1495 | .din (l2t1_fuse_dec && local_fuse_ashift_nxt), | |
1496 | .dout (efu_l2t1_fuse_ashift), | |
1497 | .l1clk (l1clk), | |
1498 | .siclk(siclk), | |
1499 | .soclk(soclk) | |
1500 | ); | |
1501 | ||
1502 | ||
1503 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t1_fuse_dshift_reg | |
1504 | ( | |
1505 | .scan_in(l2t1_fuse_dshift_reg_scanin), | |
1506 | .scan_out(l2t1_fuse_dshift_reg_scanout), | |
1507 | .din (l2t1_fuse_dec && local_fuse_dshift_nxt), | |
1508 | .dout (efu_l2t1_fuse_dshift), | |
1509 | .l1clk (l1clk), | |
1510 | .siclk(siclk), | |
1511 | .soclk(soclk) | |
1512 | ); | |
1513 | ||
1514 | assign efu_l2t1_fuse_xfer_en = efu_l2t1_fuse_ashift | efu_l2t1_fuse_dshift; | |
1515 | ||
1516 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t2_fuse_ashift_reg | |
1517 | ( | |
1518 | .scan_in(l2t2_fuse_ashift_reg_scanin), | |
1519 | .scan_out(l2t2_fuse_ashift_reg_scanout), | |
1520 | .din (l2t2_fuse_dec && local_fuse_ashift_nxt), | |
1521 | .dout (efu_l2t2_fuse_ashift), | |
1522 | .l1clk (l1clk), | |
1523 | .siclk(siclk), | |
1524 | .soclk(soclk) | |
1525 | ); | |
1526 | ||
1527 | ||
1528 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t2_fuse_dshift_reg | |
1529 | ( | |
1530 | .scan_in(l2t2_fuse_dshift_reg_scanin), | |
1531 | .scan_out(l2t2_fuse_dshift_reg_scanout), | |
1532 | .din (l2t2_fuse_dec && local_fuse_dshift_nxt), | |
1533 | .dout (efu_l2t2_fuse_dshift), | |
1534 | .l1clk (l1clk), | |
1535 | .siclk(siclk), | |
1536 | .soclk(soclk) | |
1537 | ); | |
1538 | ||
1539 | assign efu_l2t2_fuse_xfer_en = efu_l2t2_fuse_ashift | efu_l2t2_fuse_dshift; | |
1540 | ||
1541 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t3_fuse_ashift_reg | |
1542 | ( | |
1543 | .scan_in(l2t3_fuse_ashift_reg_scanin), | |
1544 | .scan_out(l2t3_fuse_ashift_reg_scanout), | |
1545 | .din (l2t3_fuse_dec && local_fuse_ashift_nxt), | |
1546 | .dout (efu_l2t3_fuse_ashift), | |
1547 | .l1clk (l1clk), | |
1548 | .siclk(siclk), | |
1549 | .soclk(soclk) | |
1550 | ); | |
1551 | ||
1552 | ||
1553 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t3_fuse_dshift_reg | |
1554 | ( | |
1555 | .scan_in(l2t3_fuse_dshift_reg_scanin), | |
1556 | .scan_out(l2t3_fuse_dshift_reg_scanout), | |
1557 | .din (l2t3_fuse_dec && local_fuse_dshift_nxt), | |
1558 | .dout (efu_l2t3_fuse_dshift), | |
1559 | .l1clk (l1clk), | |
1560 | .siclk(siclk), | |
1561 | .soclk(soclk) | |
1562 | ); | |
1563 | ||
1564 | assign efu_l2t3_fuse_xfer_en = efu_l2t3_fuse_ashift | efu_l2t3_fuse_dshift; | |
1565 | ||
1566 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t4_fuse_ashift_reg | |
1567 | ( | |
1568 | .scan_in(l2t4_fuse_ashift_reg_scanin), | |
1569 | .scan_out(l2t4_fuse_ashift_reg_scanout), | |
1570 | .din (l2t4_fuse_dec && local_fuse_ashift_nxt), | |
1571 | .dout (efu_l2t4_fuse_ashift), | |
1572 | .l1clk (l1clk), | |
1573 | .siclk(siclk), | |
1574 | .soclk(soclk) | |
1575 | ); | |
1576 | ||
1577 | ||
1578 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t4_fuse_dshift_reg | |
1579 | ( | |
1580 | .scan_in(l2t4_fuse_dshift_reg_scanin), | |
1581 | .scan_out(l2t4_fuse_dshift_reg_scanout), | |
1582 | .din (l2t4_fuse_dec && local_fuse_dshift_nxt), | |
1583 | .dout (efu_l2t4_fuse_dshift), | |
1584 | .l1clk (l1clk), | |
1585 | .siclk(siclk), | |
1586 | .soclk(soclk) | |
1587 | ); | |
1588 | ||
1589 | assign efu_l2t4_fuse_xfer_en = efu_l2t4_fuse_ashift | efu_l2t4_fuse_dshift; | |
1590 | ||
1591 | ||
1592 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t5_fuse_ashift_reg | |
1593 | ( | |
1594 | .scan_in(l2t5_fuse_ashift_reg_scanin), | |
1595 | .scan_out(l2t5_fuse_ashift_reg_scanout), | |
1596 | .din (l2t5_fuse_dec && local_fuse_ashift_nxt), | |
1597 | .dout (efu_l2t5_fuse_ashift), | |
1598 | .l1clk (l1clk), | |
1599 | .siclk(siclk), | |
1600 | .soclk(soclk) | |
1601 | ); | |
1602 | ||
1603 | ||
1604 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t5_fuse_dshift_reg | |
1605 | ( | |
1606 | .scan_in(l2t5_fuse_dshift_reg_scanin), | |
1607 | .scan_out(l2t5_fuse_dshift_reg_scanout), | |
1608 | .din (l2t5_fuse_dec && local_fuse_dshift_nxt), | |
1609 | .dout (efu_l2t5_fuse_dshift), | |
1610 | .l1clk (l1clk), | |
1611 | .siclk(siclk), | |
1612 | .soclk(soclk) | |
1613 | ); | |
1614 | ||
1615 | assign efu_l2t5_fuse_xfer_en = efu_l2t5_fuse_ashift | efu_l2t5_fuse_dshift; | |
1616 | ||
1617 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t6_fuse_ashift_reg | |
1618 | ( | |
1619 | .scan_in(l2t6_fuse_ashift_reg_scanin), | |
1620 | .scan_out(l2t6_fuse_ashift_reg_scanout), | |
1621 | .din (l2t6_fuse_dec && local_fuse_ashift_nxt), | |
1622 | .dout (efu_l2t6_fuse_ashift), | |
1623 | .l1clk (l1clk), | |
1624 | .siclk(siclk), | |
1625 | .soclk(soclk) | |
1626 | ); | |
1627 | ||
1628 | ||
1629 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t6_fuse_dshift_reg | |
1630 | ( | |
1631 | .scan_in(l2t6_fuse_dshift_reg_scanin), | |
1632 | .scan_out(l2t6_fuse_dshift_reg_scanout), | |
1633 | .din (l2t6_fuse_dec && local_fuse_dshift_nxt), | |
1634 | .dout (efu_l2t6_fuse_dshift), | |
1635 | .l1clk (l1clk), | |
1636 | .siclk(siclk), | |
1637 | .soclk(soclk) | |
1638 | ); | |
1639 | ||
1640 | assign efu_l2t6_fuse_xfer_en = efu_l2t6_fuse_ashift | efu_l2t6_fuse_dshift; | |
1641 | ||
1642 | ||
1643 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t7_fuse_ashift_reg | |
1644 | ( | |
1645 | .scan_in(l2t7_fuse_ashift_reg_scanin), | |
1646 | .scan_out(l2t7_fuse_ashift_reg_scanout), | |
1647 | .din (l2t7_fuse_dec && local_fuse_ashift_nxt), | |
1648 | .dout (efu_l2t7_fuse_ashift), | |
1649 | .l1clk (l1clk), | |
1650 | .siclk(siclk), | |
1651 | .soclk(soclk) | |
1652 | ); | |
1653 | ||
1654 | ||
1655 | efu_l2t_ctl_msff_ctl_macro__width_1 l2t7_fuse_dshift_reg | |
1656 | ( | |
1657 | .scan_in(l2t7_fuse_dshift_reg_scanin), | |
1658 | .scan_out(l2t7_fuse_dshift_reg_scanout), | |
1659 | .din (l2t7_fuse_dec && local_fuse_dshift_nxt), | |
1660 | .dout (efu_l2t7_fuse_dshift), | |
1661 | .l1clk (l1clk), | |
1662 | .siclk(siclk), | |
1663 | .soclk(soclk) | |
1664 | ); | |
1665 | ||
1666 | assign efu_l2t7_fuse_xfer_en = efu_l2t7_fuse_ashift | efu_l2t7_fuse_dshift; | |
1667 | ||
1668 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d0_fuse_ashift_reg | |
1669 | ( | |
1670 | .scan_in(l2d0_fuse_ashift_reg_scanin), | |
1671 | .scan_out(l2d0_fuse_ashift_reg_scanout), | |
1672 | .din (l2d0_fuse_dec && local_fuse_ashift_nxt), | |
1673 | .dout (efu_l2d0_fuse_ashift), | |
1674 | .l1clk (l1clk), | |
1675 | .siclk(siclk), | |
1676 | .soclk(soclk) | |
1677 | ); | |
1678 | ||
1679 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d0_fuse_dshift_reg | |
1680 | ( | |
1681 | .scan_in(l2d0_fuse_dshift_reg_scanin), | |
1682 | .scan_out(l2d0_fuse_dshift_reg_scanout), | |
1683 | .din (l2d0_fuse_dec && local_fuse_dshift_nxt), | |
1684 | .dout (efu_l2d0_fuse_dshift), | |
1685 | .l1clk (l1clk), | |
1686 | .siclk(siclk), | |
1687 | .soclk(soclk) | |
1688 | ); | |
1689 | ||
1690 | assign efu_l2b0_fuse_xfer_en = efu_l2d0_fuse_dshift | efu_l2d0_fuse_ashift; | |
1691 | ||
1692 | ||
1693 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d1_fuse_ashift_reg | |
1694 | ( | |
1695 | .scan_in(l2d1_fuse_ashift_reg_scanin), | |
1696 | .scan_out(l2d1_fuse_ashift_reg_scanout), | |
1697 | .din (l2d1_fuse_dec && local_fuse_ashift_nxt), | |
1698 | .dout (efu_l2d1_fuse_ashift), | |
1699 | .l1clk (l1clk), | |
1700 | .siclk(siclk), | |
1701 | .soclk(soclk) | |
1702 | ); | |
1703 | ||
1704 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d1_fuse_dshift_reg | |
1705 | ( | |
1706 | .scan_in(l2d1_fuse_dshift_reg_scanin), | |
1707 | .scan_out(l2d1_fuse_dshift_reg_scanout), | |
1708 | .din (l2d1_fuse_dec && local_fuse_dshift_nxt), | |
1709 | .dout (efu_l2d1_fuse_dshift), | |
1710 | .l1clk (l1clk), | |
1711 | .siclk(siclk), | |
1712 | .soclk(soclk) | |
1713 | ); | |
1714 | ||
1715 | assign efu_l2b1_fuse_xfer_en = efu_l2d1_fuse_ashift | efu_l2d1_fuse_dshift; | |
1716 | ||
1717 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d2_fuse_ashift_reg | |
1718 | ( | |
1719 | .scan_in(l2d2_fuse_ashift_reg_scanin), | |
1720 | .scan_out(l2d2_fuse_ashift_reg_scanout), | |
1721 | .din (l2d2_fuse_dec && local_fuse_ashift_nxt), | |
1722 | .dout (efu_l2d2_fuse_ashift), | |
1723 | .l1clk (l1clk), | |
1724 | .siclk(siclk), | |
1725 | .soclk(soclk) | |
1726 | ); | |
1727 | ||
1728 | ||
1729 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d2_fuse_dshift_reg | |
1730 | ( | |
1731 | .scan_in(l2d2_fuse_dshift_reg_scanin), | |
1732 | .scan_out(l2d2_fuse_dshift_reg_scanout), | |
1733 | .din (l2d2_fuse_dec && local_fuse_dshift_nxt), | |
1734 | .dout (efu_l2d2_fuse_dshift), | |
1735 | .l1clk (l1clk), | |
1736 | .siclk(siclk), | |
1737 | .soclk(soclk) | |
1738 | ); | |
1739 | ||
1740 | assign efu_l2b2_fuse_xfer_en = efu_l2d2_fuse_ashift | efu_l2d2_fuse_dshift; | |
1741 | ||
1742 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d3_fuse_ashift_reg | |
1743 | ( | |
1744 | .scan_in(l2d3_fuse_ashift_reg_scanin), | |
1745 | .scan_out(l2d3_fuse_ashift_reg_scanout), | |
1746 | .din (l2d3_fuse_dec && local_fuse_ashift_nxt), | |
1747 | .dout (efu_l2d3_fuse_ashift), | |
1748 | .l1clk (l1clk), | |
1749 | .siclk(siclk), | |
1750 | .soclk(soclk) | |
1751 | ); | |
1752 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d3_fuse_dshift_reg | |
1753 | ( | |
1754 | .scan_in(l2d3_fuse_dshift_reg_scanin), | |
1755 | .scan_out(l2d3_fuse_dshift_reg_scanout), | |
1756 | .din (l2d3_fuse_dec && local_fuse_dshift_nxt), | |
1757 | .dout (efu_l2d3_fuse_dshift), | |
1758 | .l1clk (l1clk), | |
1759 | .siclk(siclk), | |
1760 | .soclk(soclk) | |
1761 | ); | |
1762 | ||
1763 | assign efu_l2b3_fuse_xfer_en = efu_l2d3_fuse_dshift | efu_l2d3_fuse_ashift; | |
1764 | ||
1765 | ||
1766 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d4_fuse_ashift_reg | |
1767 | ( | |
1768 | .scan_in(l2d4_fuse_ashift_reg_scanin), | |
1769 | .scan_out(l2d4_fuse_ashift_reg_scanout), | |
1770 | .din (l2d4_fuse_dec && local_fuse_ashift_nxt), | |
1771 | .dout (efu_l2d4_fuse_ashift), | |
1772 | .l1clk (l1clk), | |
1773 | .siclk(siclk), | |
1774 | .soclk(soclk) | |
1775 | ); | |
1776 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d4_fuse_dshift_reg | |
1777 | ( | |
1778 | .scan_in(l2d4_fuse_dshift_reg_scanin), | |
1779 | .scan_out(l2d4_fuse_dshift_reg_scanout), | |
1780 | .din (l2d4_fuse_dec && local_fuse_dshift_nxt), | |
1781 | .dout (efu_l2d4_fuse_dshift), | |
1782 | .l1clk (l1clk), | |
1783 | .siclk(siclk), | |
1784 | .soclk(soclk) | |
1785 | ); | |
1786 | ||
1787 | assign efu_l2b4_fuse_xfer_en = efu_l2d4_fuse_dshift | efu_l2d4_fuse_ashift; | |
1788 | ||
1789 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d5_fuse_ashift_reg | |
1790 | ( | |
1791 | .scan_in(l2d5_fuse_ashift_reg_scanin), | |
1792 | .scan_out(l2d5_fuse_ashift_reg_scanout), | |
1793 | .din (l2d5_fuse_dec && local_fuse_ashift_nxt), | |
1794 | .dout (efu_l2d5_fuse_ashift), | |
1795 | .l1clk (l1clk), | |
1796 | .siclk(siclk), | |
1797 | .soclk(soclk) | |
1798 | ); | |
1799 | ||
1800 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d5_fuse_dshift_reg | |
1801 | ( | |
1802 | .scan_in(l2d5_fuse_dshift_reg_scanin), | |
1803 | .scan_out(l2d5_fuse_dshift_reg_scanout), | |
1804 | .din (l2d5_fuse_dec && local_fuse_dshift_nxt), | |
1805 | .dout (efu_l2d5_fuse_dshift), | |
1806 | .l1clk (l1clk), | |
1807 | .siclk(siclk), | |
1808 | .soclk(soclk) | |
1809 | ); | |
1810 | ||
1811 | assign efu_l2b5_fuse_xfer_en = efu_l2d5_fuse_dshift | efu_l2d5_fuse_ashift; | |
1812 | ||
1813 | ||
1814 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d6_fuse_ashift_reg | |
1815 | ( | |
1816 | .scan_in(l2d6_fuse_ashift_reg_scanin), | |
1817 | .scan_out(l2d6_fuse_ashift_reg_scanout), | |
1818 | .din (l2d6_fuse_dec && local_fuse_ashift_nxt), | |
1819 | .dout (efu_l2d6_fuse_ashift), | |
1820 | .l1clk (l1clk), | |
1821 | .siclk(siclk), | |
1822 | .soclk(soclk) | |
1823 | ); | |
1824 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d6_fuse_dshift_reg | |
1825 | ( | |
1826 | .scan_in(l2d6_fuse_dshift_reg_scanin), | |
1827 | .scan_out(l2d6_fuse_dshift_reg_scanout), | |
1828 | .din (l2d6_fuse_dec && local_fuse_dshift_nxt), | |
1829 | .dout (efu_l2d6_fuse_dshift), | |
1830 | .l1clk (l1clk), | |
1831 | .siclk(siclk), | |
1832 | .soclk(soclk) | |
1833 | ); | |
1834 | ||
1835 | assign efu_l2b6_fuse_xfer_en = efu_l2d6_fuse_dshift | efu_l2d6_fuse_ashift; | |
1836 | ||
1837 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d7_fuse_ashift_reg | |
1838 | ( | |
1839 | .scan_in(l2d7_fuse_ashift_reg_scanin), | |
1840 | .scan_out(l2d7_fuse_ashift_reg_scanout), | |
1841 | .din (l2d7_fuse_dec && local_fuse_ashift_nxt), | |
1842 | .dout (efu_l2d7_fuse_ashift), | |
1843 | .l1clk (l1clk), | |
1844 | .siclk(siclk), | |
1845 | .soclk(soclk) | |
1846 | ); | |
1847 | efu_l2t_ctl_msff_ctl_macro__width_1 l2d7_fuse_dshift_reg | |
1848 | ( | |
1849 | .scan_in(l2d7_fuse_dshift_reg_scanin), | |
1850 | .scan_out(l2d7_fuse_dshift_reg_scanout), | |
1851 | .din (l2d7_fuse_dec && local_fuse_dshift_nxt), | |
1852 | .dout (efu_l2d7_fuse_dshift), | |
1853 | .l1clk (l1clk), | |
1854 | .siclk(siclk), | |
1855 | .soclk(soclk) | |
1856 | ); | |
1857 | ||
1858 | assign efu_l2b7_fuse_xfer_en = efu_l2d7_fuse_dshift | efu_l2d7_fuse_ashift; | |
1859 | ||
1860 | //### | |
1861 | efu_l2t_ctl_msff_ctl_macro__width_1 cmp_read_data_ff_vld_0_reg | |
1862 | ( | |
1863 | .scan_in(cmp_read_data_ff_vld_0_reg_scanin), | |
1864 | .scan_out(cmp_read_data_ff_vld_0_reg_scanout), | |
1865 | .din (read_data_ff_vld), | |
1866 | .dout (cmp_read_data_ff_vld_0), | |
1867 | .l1clk (l1clk), | |
1868 | .siclk(siclk), | |
1869 | .soclk(soclk) | |
1870 | ); | |
1871 | //### | |
1872 | efu_l2t_ctl_msff_ctl_macro__width_1 cmp_read_data_ff_vld_1_reg | |
1873 | ( | |
1874 | .scan_in(cmp_read_data_ff_vld_1_reg_scanin), | |
1875 | .scan_out(cmp_read_data_ff_vld_1_reg_scanout), | |
1876 | .din (cmp_read_data_ff_vld_0), | |
1877 | .dout (cmp_read_data_ff_vld_1), | |
1878 | .l1clk (l1clk), | |
1879 | .siclk(siclk), | |
1880 | .soclk(soclk) | |
1881 | ); | |
1882 | assign cmp_read_data_ff_vld = cmp_read_data_ff_vld_0 & ~cmp_read_data_ff_vld_1 ; | |
1883 | ||
1884 | efu_l2t_ctl_spare_ctl_macro__num_2 spares ( | |
1885 | .scan_in(spares_scanin), | |
1886 | .scan_out(spares_scanout), | |
1887 | .l1clk (l1clk), | |
1888 | .siclk(siclk), | |
1889 | .soclk(soclk) | |
1890 | ); | |
1891 | ||
1892 | //msff_ctl_macro read_data_ff_vld_reg (width=1) | |
1893 | // ( | |
1894 | // .scan_in(read_data_ff_vld_scanin), | |
1895 | // .scan_out(read_data_ff_vld_scanout), | |
1896 | // .din (read_data_ff_vld), | |
1897 | // .dout (cmp_read_data_ff_vld1), | |
1898 | // .l1clk (l1clk), | |
1899 | // ); | |
1900 | ||
1901 | //msff_ctl_macro cmp_read_data_ff_vld_reg (width=1) | |
1902 | // ( | |
1903 | // .scan_in(cmp_read_data_ff_vld_scanin), | |
1904 | // .scan_out(cmp_read_data_ff_vld_scanout), | |
1905 | // .din (cmp_read_data_ff_vld1), | |
1906 | // .dout (cmp_read_data_ff_vld), | |
1907 | // .l1clk (l1clk), | |
1908 | // ); | |
1909 | // fixscan start: | |
1910 | assign ff_read_data_in_scanin = scan_in ; | |
1911 | assign ff_xfer_out_r2_scanin = ff_read_data_in_scanout ; | |
1912 | assign ff_xfer_out_r1_scanin = ff_xfer_out_r2_scanout ; | |
1913 | assign ff_cmp_read_data_ff_vld_scanin = ff_xfer_out_r1_scanout ; | |
1914 | assign ff_read_data_ff_sync_scanin = ff_cmp_read_data_ff_vld_scanout; | |
1915 | assign ff_shhift_data_ff_sync_scanin = ff_read_data_ff_sync_scanout; | |
1916 | assign mrd_cnt_reg_scanin = ff_shhift_data_ff_sync_scanout; | |
1917 | assign local_fuse_ashift_ff_scanin = mrd_cnt_reg_scanout ; | |
1918 | assign data_vld_datareg_scanin = local_fuse_ashift_ff_scanout; | |
1919 | assign ff_cmp_io_sync_en_scanin = data_vld_datareg_scanout; | |
1920 | assign ff_l2b_xfer_en_scanin = ff_cmp_io_sync_en_scanout; | |
1921 | assign ff_l2t_xfer_en_scanin = ff_l2b_xfer_en_scanout; | |
1922 | assign ff_spc_dxfer_en_scanin = ff_l2t_xfer_en_scanout; | |
1923 | assign ff_spc_ixfer_en_scanin = ff_spc_dxfer_en_scanout; | |
1924 | assign ff_spc_idata_scanin = ff_spc_ixfer_en_scanout; | |
1925 | assign ff_spc_ddata_scanin = ff_spc_idata_scanout; | |
1926 | assign ff_l2t_data_scanin = ff_spc_ddata_scanout; | |
1927 | assign ff_l2b_data_scanin = ff_l2t_data_scanout; | |
1928 | assign spc0_ifuse_ashift_reg_scanin = ff_l2b_data_scanout ; | |
1929 | assign spc0_ifuse_dshift_reg_scanin = spc0_ifuse_ashift_reg_scanout; | |
1930 | assign spc0_dfuse_ashift_reg_scanin = spc0_ifuse_dshift_reg_scanout; | |
1931 | assign spc0_dfuse_dshift_reg_scanin = spc0_dfuse_ashift_reg_scanout; | |
1932 | assign spc1_ifuse_ashift_reg_scanin = spc0_dfuse_dshift_reg_scanout; | |
1933 | assign spc1_ifuse_dshift_reg_scanin = spc1_ifuse_ashift_reg_scanout; | |
1934 | assign spc1_dfuse_ashift_reg_scanin = spc1_ifuse_dshift_reg_scanout; | |
1935 | assign spc1_dfuse_dshift_reg_scanin = spc1_dfuse_ashift_reg_scanout; | |
1936 | assign spc2_ifuse_ashift_reg_scanin = spc1_dfuse_dshift_reg_scanout; | |
1937 | assign spc2_ifuse_dshift_reg_scanin = spc2_ifuse_ashift_reg_scanout; | |
1938 | assign spc2_dfuse_ashift_reg_scanin = spc2_ifuse_dshift_reg_scanout; | |
1939 | assign spc2_dfuse_dshift_reg_scanin = spc2_dfuse_ashift_reg_scanout; | |
1940 | assign spc3_ifuse_ashift_reg_scanin = spc2_dfuse_dshift_reg_scanout; | |
1941 | assign spc3_ifuse_dshift_reg_scanin = spc3_ifuse_ashift_reg_scanout; | |
1942 | assign spc3_dfuse_ashift_reg_scanin = spc3_ifuse_dshift_reg_scanout; | |
1943 | assign spc3_dfuse_dshift_reg_scanin = spc3_dfuse_ashift_reg_scanout; | |
1944 | assign spc4_ifuse_ashift_reg_scanin = spc3_dfuse_dshift_reg_scanout; | |
1945 | assign spc4_ifuse_dshift_reg_scanin = spc4_ifuse_ashift_reg_scanout; | |
1946 | assign spc4_dfuse_ashift_reg_scanin = spc4_ifuse_dshift_reg_scanout; | |
1947 | assign spc4_dfuse_dshift_reg_scanin = spc4_dfuse_ashift_reg_scanout; | |
1948 | assign spc5_ifuse_ashift_reg_scanin = spc4_dfuse_dshift_reg_scanout; | |
1949 | assign spc5_ifuse_dshift_reg_scanin = spc5_ifuse_ashift_reg_scanout; | |
1950 | assign spc5_dfuse_ashift_reg_scanin = spc5_ifuse_dshift_reg_scanout; | |
1951 | assign spc5_dfuse_dshift_reg_scanin = spc5_dfuse_ashift_reg_scanout; | |
1952 | assign spc6_ifuse_ashift_reg_scanin = spc5_dfuse_dshift_reg_scanout; | |
1953 | assign spc6_ifuse_dshift_reg_scanin = spc6_ifuse_ashift_reg_scanout; | |
1954 | assign spc6_dfuse_ashift_reg_scanin = spc6_ifuse_dshift_reg_scanout; | |
1955 | assign spc6_dfuse_dshift_reg_scanin = spc6_dfuse_ashift_reg_scanout; | |
1956 | assign spc7_ifuse_ashift_reg_scanin = spc6_dfuse_dshift_reg_scanout; | |
1957 | assign spc7_ifuse_dshift_reg_scanin = spc7_ifuse_ashift_reg_scanout; | |
1958 | assign spc7_dfuse_ashift_reg_scanin = spc7_ifuse_dshift_reg_scanout; | |
1959 | assign spc7_dfuse_dshift_reg_scanin = spc7_dfuse_ashift_reg_scanout; | |
1960 | assign l2t0_fuse_ashift_reg_scanin = spc7_dfuse_dshift_reg_scanout; | |
1961 | assign l2t0_fuse_dshift_reg_scanin = l2t0_fuse_ashift_reg_scanout; | |
1962 | assign l2t1_fuse_ashift_reg_scanin = l2t0_fuse_dshift_reg_scanout; | |
1963 | assign l2t1_fuse_dshift_reg_scanin = l2t1_fuse_ashift_reg_scanout; | |
1964 | assign l2t2_fuse_ashift_reg_scanin = l2t1_fuse_dshift_reg_scanout; | |
1965 | assign l2t2_fuse_dshift_reg_scanin = l2t2_fuse_ashift_reg_scanout; | |
1966 | assign l2t3_fuse_ashift_reg_scanin = l2t2_fuse_dshift_reg_scanout; | |
1967 | assign l2t3_fuse_dshift_reg_scanin = l2t3_fuse_ashift_reg_scanout; | |
1968 | assign l2t4_fuse_ashift_reg_scanin = l2t3_fuse_dshift_reg_scanout; | |
1969 | assign l2t4_fuse_dshift_reg_scanin = l2t4_fuse_ashift_reg_scanout; | |
1970 | assign l2t5_fuse_ashift_reg_scanin = l2t4_fuse_dshift_reg_scanout; | |
1971 | assign l2t5_fuse_dshift_reg_scanin = l2t5_fuse_ashift_reg_scanout; | |
1972 | assign l2t6_fuse_ashift_reg_scanin = l2t5_fuse_dshift_reg_scanout; | |
1973 | assign l2t6_fuse_dshift_reg_scanin = l2t6_fuse_ashift_reg_scanout; | |
1974 | assign l2t7_fuse_ashift_reg_scanin = l2t6_fuse_dshift_reg_scanout; | |
1975 | assign l2t7_fuse_dshift_reg_scanin = l2t7_fuse_ashift_reg_scanout; | |
1976 | assign l2d0_fuse_ashift_reg_scanin = l2t7_fuse_dshift_reg_scanout; | |
1977 | assign l2d0_fuse_dshift_reg_scanin = l2d0_fuse_ashift_reg_scanout; | |
1978 | assign l2d1_fuse_ashift_reg_scanin = l2d0_fuse_dshift_reg_scanout; | |
1979 | assign l2d1_fuse_dshift_reg_scanin = l2d1_fuse_ashift_reg_scanout; | |
1980 | assign l2d2_fuse_ashift_reg_scanin = l2d1_fuse_dshift_reg_scanout; | |
1981 | assign l2d2_fuse_dshift_reg_scanin = l2d2_fuse_ashift_reg_scanout; | |
1982 | assign l2d3_fuse_ashift_reg_scanin = l2d2_fuse_dshift_reg_scanout; | |
1983 | assign l2d3_fuse_dshift_reg_scanin = l2d3_fuse_ashift_reg_scanout; | |
1984 | assign l2d4_fuse_ashift_reg_scanin = l2d3_fuse_dshift_reg_scanout; | |
1985 | assign l2d4_fuse_dshift_reg_scanin = l2d4_fuse_ashift_reg_scanout; | |
1986 | assign l2d5_fuse_ashift_reg_scanin = l2d4_fuse_dshift_reg_scanout; | |
1987 | assign l2d5_fuse_dshift_reg_scanin = l2d5_fuse_ashift_reg_scanout; | |
1988 | assign l2d6_fuse_ashift_reg_scanin = l2d5_fuse_dshift_reg_scanout; | |
1989 | assign l2d6_fuse_dshift_reg_scanin = l2d6_fuse_ashift_reg_scanout; | |
1990 | assign l2d7_fuse_ashift_reg_scanin = l2d6_fuse_dshift_reg_scanout; | |
1991 | assign l2d7_fuse_dshift_reg_scanin = l2d7_fuse_ashift_reg_scanout; | |
1992 | assign cmp_read_data_ff_vld_0_reg_scanin = l2d7_fuse_dshift_reg_scanout; | |
1993 | assign cmp_read_data_ff_vld_1_reg_scanin = cmp_read_data_ff_vld_0_reg_scanout; | |
1994 | assign spares_scanin = cmp_read_data_ff_vld_1_reg_scanout; | |
1995 | assign scan_out = spares_scanout; | |
1996 | // fixscan end: | |
1997 | endmodule | |
1998 | ||
1999 | ||
2000 | ||
2001 | ||
2002 | ||
2003 | ||
2004 | // any PARAMS parms go into naming of macro | |
2005 | ||
2006 | module efu_l2t_ctl_l1clkhdr_ctl_macro ( | |
2007 | l2clk, | |
2008 | l1en, | |
2009 | pce_ov, | |
2010 | stop, | |
2011 | se, | |
2012 | l1clk); | |
2013 | ||
2014 | ||
2015 | input l2clk; | |
2016 | input l1en; | |
2017 | input pce_ov; | |
2018 | input stop; | |
2019 | input se; | |
2020 | output l1clk; | |
2021 | ||
2022 | ||
2023 | ||
2024 | ||
2025 | ||
2026 | cl_sc1_l1hdr_8x c_0 ( | |
2027 | ||
2028 | ||
2029 | .l2clk(l2clk), | |
2030 | .pce(l1en), | |
2031 | .l1clk(l1clk), | |
2032 | .se(se), | |
2033 | .pce_ov(pce_ov), | |
2034 | .stop(stop) | |
2035 | ); | |
2036 | ||
2037 | ||
2038 | ||
2039 | endmodule | |
2040 | ||
2041 | ||
2042 | ||
2043 | ||
2044 | ||
2045 | ||
2046 | ||
2047 | ||
2048 | ||
2049 | ||
2050 | ||
2051 | ||
2052 | ||
2053 | // any PARAMS parms go into naming of macro | |
2054 | ||
2055 | module efu_l2t_ctl_msff_ctl_macro__width_1 ( | |
2056 | din, | |
2057 | l1clk, | |
2058 | scan_in, | |
2059 | siclk, | |
2060 | soclk, | |
2061 | dout, | |
2062 | scan_out); | |
2063 | wire [0:0] fdin; | |
2064 | ||
2065 | input [0:0] din; | |
2066 | input l1clk; | |
2067 | input scan_in; | |
2068 | ||
2069 | ||
2070 | input siclk; | |
2071 | input soclk; | |
2072 | ||
2073 | output [0:0] dout; | |
2074 | output scan_out; | |
2075 | assign fdin[0:0] = din[0:0]; | |
2076 | ||
2077 | ||
2078 | ||
2079 | ||
2080 | ||
2081 | ||
2082 | dff #(1) d0_0 ( | |
2083 | .l1clk(l1clk), | |
2084 | .siclk(siclk), | |
2085 | .soclk(soclk), | |
2086 | .d(fdin[0:0]), | |
2087 | .si(scan_in), | |
2088 | .so(scan_out), | |
2089 | .q(dout[0:0]) | |
2090 | ); | |
2091 | ||
2092 | ||
2093 | ||
2094 | ||
2095 | ||
2096 | ||
2097 | ||
2098 | ||
2099 | ||
2100 | ||
2101 | ||
2102 | ||
2103 | endmodule | |
2104 | ||
2105 | ||
2106 | ||
2107 | ||
2108 | ||
2109 | ||
2110 | ||
2111 | ||
2112 | ||
2113 | ||
2114 | ||
2115 | ||
2116 | ||
2117 | // any PARAMS parms go into naming of macro | |
2118 | ||
2119 | module efu_l2t_ctl_msff_ctl_macro__en_1__width_8 ( | |
2120 | din, | |
2121 | en, | |
2122 | l1clk, | |
2123 | scan_in, | |
2124 | siclk, | |
2125 | soclk, | |
2126 | dout, | |
2127 | scan_out); | |
2128 | wire [7:0] fdin; | |
2129 | wire [6:0] so; | |
2130 | ||
2131 | input [7:0] din; | |
2132 | input en; | |
2133 | input l1clk; | |
2134 | input scan_in; | |
2135 | ||
2136 | ||
2137 | input siclk; | |
2138 | input soclk; | |
2139 | ||
2140 | output [7:0] dout; | |
2141 | output scan_out; | |
2142 | assign fdin[7:0] = (din[7:0] & {8{en}}) | (dout[7:0] & ~{8{en}}); | |
2143 | ||
2144 | ||
2145 | ||
2146 | ||
2147 | ||
2148 | ||
2149 | dff #(8) d0_0 ( | |
2150 | .l1clk(l1clk), | |
2151 | .siclk(siclk), | |
2152 | .soclk(soclk), | |
2153 | .d(fdin[7:0]), | |
2154 | .si({scan_in,so[6:0]}), | |
2155 | .so({so[6:0],scan_out}), | |
2156 | .q(dout[7:0]) | |
2157 | ); | |
2158 | ||
2159 | ||
2160 | ||
2161 | ||
2162 | ||
2163 | ||
2164 | ||
2165 | ||
2166 | ||
2167 | ||
2168 | ||
2169 | ||
2170 | endmodule | |
2171 | ||
2172 | ||
2173 | ||
2174 | ||
2175 | ||
2176 | ||
2177 | ||
2178 | ||
2179 | ||
2180 | ||
2181 | ||
2182 | ||
2183 | ||
2184 | // any PARAMS parms go into naming of macro | |
2185 | ||
2186 | module efu_l2t_ctl_msff_ctl_macro__en_1__width_32 ( | |
2187 | din, | |
2188 | en, | |
2189 | l1clk, | |
2190 | scan_in, | |
2191 | siclk, | |
2192 | soclk, | |
2193 | dout, | |
2194 | scan_out); | |
2195 | wire [31:0] fdin; | |
2196 | wire [30:0] so; | |
2197 | ||
2198 | input [31:0] din; | |
2199 | input en; | |
2200 | input l1clk; | |
2201 | input scan_in; | |
2202 | ||
2203 | ||
2204 | input siclk; | |
2205 | input soclk; | |
2206 | ||
2207 | output [31:0] dout; | |
2208 | output scan_out; | |
2209 | assign fdin[31:0] = (din[31:0] & {32{en}}) | (dout[31:0] & ~{32{en}}); | |
2210 | ||
2211 | ||
2212 | ||
2213 | ||
2214 | ||
2215 | ||
2216 | dff #(32) d0_0 ( | |
2217 | .l1clk(l1clk), | |
2218 | .siclk(siclk), | |
2219 | .soclk(soclk), | |
2220 | .d(fdin[31:0]), | |
2221 | .si({scan_in,so[30:0]}), | |
2222 | .so({so[30:0],scan_out}), | |
2223 | .q(dout[31:0]) | |
2224 | ); | |
2225 | ||
2226 | ||
2227 | ||
2228 | ||
2229 | ||
2230 | ||
2231 | ||
2232 | ||
2233 | ||
2234 | ||
2235 | ||
2236 | ||
2237 | endmodule | |
2238 | ||
2239 | ||
2240 | ||
2241 | ||
2242 | ||
2243 | ||
2244 | ||
2245 | ||
2246 | ||
2247 | ||
2248 | ||
2249 | ||
2250 | ||
2251 | // any PARAMS parms go into naming of macro | |
2252 | ||
2253 | module efu_l2t_ctl_msff_ctl_macro__width_32 ( | |
2254 | din, | |
2255 | l1clk, | |
2256 | scan_in, | |
2257 | siclk, | |
2258 | soclk, | |
2259 | dout, | |
2260 | scan_out); | |
2261 | wire [31:0] fdin; | |
2262 | wire [30:0] so; | |
2263 | ||
2264 | input [31:0] din; | |
2265 | input l1clk; | |
2266 | input scan_in; | |
2267 | ||
2268 | ||
2269 | input siclk; | |
2270 | input soclk; | |
2271 | ||
2272 | output [31:0] dout; | |
2273 | output scan_out; | |
2274 | assign fdin[31:0] = din[31:0]; | |
2275 | ||
2276 | ||
2277 | ||
2278 | ||
2279 | ||
2280 | ||
2281 | dff #(32) d0_0 ( | |
2282 | .l1clk(l1clk), | |
2283 | .siclk(siclk), | |
2284 | .soclk(soclk), | |
2285 | .d(fdin[31:0]), | |
2286 | .si({scan_in,so[30:0]}), | |
2287 | .so({so[30:0],scan_out}), | |
2288 | .q(dout[31:0]) | |
2289 | ); | |
2290 | ||
2291 | ||
2292 | ||
2293 | ||
2294 | ||
2295 | ||
2296 | ||
2297 | ||
2298 | ||
2299 | ||
2300 | ||
2301 | ||
2302 | endmodule | |
2303 | ||
2304 | ||
2305 | ||
2306 | ||
2307 | ||
2308 | ||
2309 | ||
2310 | ||
2311 | ||
2312 | ||
2313 | ||
2314 | ||
2315 | ||
2316 | // any PARAMS parms go into naming of macro | |
2317 | ||
2318 | module efu_l2t_ctl_msff_ctl_macro__width_9 ( | |
2319 | din, | |
2320 | l1clk, | |
2321 | scan_in, | |
2322 | siclk, | |
2323 | soclk, | |
2324 | dout, | |
2325 | scan_out); | |
2326 | wire [8:0] fdin; | |
2327 | wire [7:0] so; | |
2328 | ||
2329 | input [8:0] din; | |
2330 | input l1clk; | |
2331 | input scan_in; | |
2332 | ||
2333 | ||
2334 | input siclk; | |
2335 | input soclk; | |
2336 | ||
2337 | output [8:0] dout; | |
2338 | output scan_out; | |
2339 | assign fdin[8:0] = din[8:0]; | |
2340 | ||
2341 | ||
2342 | ||
2343 | ||
2344 | ||
2345 | ||
2346 | dff #(9) d0_0 ( | |
2347 | .l1clk(l1clk), | |
2348 | .siclk(siclk), | |
2349 | .soclk(soclk), | |
2350 | .d(fdin[8:0]), | |
2351 | .si({scan_in,so[7:0]}), | |
2352 | .so({so[7:0],scan_out}), | |
2353 | .q(dout[8:0]) | |
2354 | ); | |
2355 | ||
2356 | ||
2357 | ||
2358 | ||
2359 | ||
2360 | ||
2361 | ||
2362 | ||
2363 | ||
2364 | ||
2365 | ||
2366 | ||
2367 | endmodule | |
2368 | ||
2369 | ||
2370 | ||
2371 | ||
2372 | ||
2373 | ||
2374 | ||
2375 | ||
2376 | ||
2377 | // Description: Spare gate macro for control blocks | |
2378 | // | |
2379 | // Param num controls the number of times the macro is added | |
2380 | // flops=0 can be used to use only combination spare logic | |
2381 | ||
2382 | ||
2383 | module efu_l2t_ctl_spare_ctl_macro__num_2 ( | |
2384 | l1clk, | |
2385 | scan_in, | |
2386 | siclk, | |
2387 | soclk, | |
2388 | scan_out); | |
2389 | wire si_0; | |
2390 | wire so_0; | |
2391 | wire spare0_flop_unused; | |
2392 | wire spare0_buf_32x_unused; | |
2393 | wire spare0_nand3_8x_unused; | |
2394 | wire spare0_inv_8x_unused; | |
2395 | wire spare0_aoi22_4x_unused; | |
2396 | wire spare0_buf_8x_unused; | |
2397 | wire spare0_oai22_4x_unused; | |
2398 | wire spare0_inv_16x_unused; | |
2399 | wire spare0_nand2_16x_unused; | |
2400 | wire spare0_nor3_4x_unused; | |
2401 | wire spare0_nand2_8x_unused; | |
2402 | wire spare0_buf_16x_unused; | |
2403 | wire spare0_nor2_16x_unused; | |
2404 | wire spare0_inv_32x_unused; | |
2405 | wire si_1; | |
2406 | wire so_1; | |
2407 | wire spare1_flop_unused; | |
2408 | wire spare1_buf_32x_unused; | |
2409 | wire spare1_nand3_8x_unused; | |
2410 | wire spare1_inv_8x_unused; | |
2411 | wire spare1_aoi22_4x_unused; | |
2412 | wire spare1_buf_8x_unused; | |
2413 | wire spare1_oai22_4x_unused; | |
2414 | wire spare1_inv_16x_unused; | |
2415 | wire spare1_nand2_16x_unused; | |
2416 | wire spare1_nor3_4x_unused; | |
2417 | wire spare1_nand2_8x_unused; | |
2418 | wire spare1_buf_16x_unused; | |
2419 | wire spare1_nor2_16x_unused; | |
2420 | wire spare1_inv_32x_unused; | |
2421 | ||
2422 | ||
2423 | input l1clk; | |
2424 | input scan_in; | |
2425 | input siclk; | |
2426 | input soclk; | |
2427 | output scan_out; | |
2428 | ||
2429 | cl_sc1_msff_8x spare0_flop (.l1clk(l1clk), | |
2430 | .siclk(siclk), | |
2431 | .soclk(soclk), | |
2432 | .si(si_0), | |
2433 | .so(so_0), | |
2434 | .d(1'b0), | |
2435 | .q(spare0_flop_unused)); | |
2436 | assign si_0 = scan_in; | |
2437 | ||
2438 | cl_u1_buf_32x spare0_buf_32x (.in(1'b1), | |
2439 | .out(spare0_buf_32x_unused)); | |
2440 | cl_u1_nand3_8x spare0_nand3_8x (.in0(1'b1), | |
2441 | .in1(1'b1), | |
2442 | .in2(1'b1), | |
2443 | .out(spare0_nand3_8x_unused)); | |
2444 | cl_u1_inv_8x spare0_inv_8x (.in(1'b1), | |
2445 | .out(spare0_inv_8x_unused)); | |
2446 | cl_u1_aoi22_4x spare0_aoi22_4x (.in00(1'b1), | |
2447 | .in01(1'b1), | |
2448 | .in10(1'b1), | |
2449 | .in11(1'b1), | |
2450 | .out(spare0_aoi22_4x_unused)); | |
2451 | cl_u1_buf_8x spare0_buf_8x (.in(1'b1), | |
2452 | .out(spare0_buf_8x_unused)); | |
2453 | cl_u1_oai22_4x spare0_oai22_4x (.in00(1'b1), | |
2454 | .in01(1'b1), | |
2455 | .in10(1'b1), | |
2456 | .in11(1'b1), | |
2457 | .out(spare0_oai22_4x_unused)); | |
2458 | cl_u1_inv_16x spare0_inv_16x (.in(1'b1), | |
2459 | .out(spare0_inv_16x_unused)); | |
2460 | cl_u1_nand2_16x spare0_nand2_16x (.in0(1'b1), | |
2461 | .in1(1'b1), | |
2462 | .out(spare0_nand2_16x_unused)); | |
2463 | cl_u1_nor3_4x spare0_nor3_4x (.in0(1'b0), | |
2464 | .in1(1'b0), | |
2465 | .in2(1'b0), | |
2466 | .out(spare0_nor3_4x_unused)); | |
2467 | cl_u1_nand2_8x spare0_nand2_8x (.in0(1'b1), | |
2468 | .in1(1'b1), | |
2469 | .out(spare0_nand2_8x_unused)); | |
2470 | cl_u1_buf_16x spare0_buf_16x (.in(1'b1), | |
2471 | .out(spare0_buf_16x_unused)); | |
2472 | cl_u1_nor2_16x spare0_nor2_16x (.in0(1'b0), | |
2473 | .in1(1'b0), | |
2474 | .out(spare0_nor2_16x_unused)); | |
2475 | cl_u1_inv_32x spare0_inv_32x (.in(1'b1), | |
2476 | .out(spare0_inv_32x_unused)); | |
2477 | ||
2478 | cl_sc1_msff_8x spare1_flop (.l1clk(l1clk), | |
2479 | .siclk(siclk), | |
2480 | .soclk(soclk), | |
2481 | .si(si_1), | |
2482 | .so(so_1), | |
2483 | .d(1'b0), | |
2484 | .q(spare1_flop_unused)); | |
2485 | assign si_1 = so_0; | |
2486 | ||
2487 | cl_u1_buf_32x spare1_buf_32x (.in(1'b1), | |
2488 | .out(spare1_buf_32x_unused)); | |
2489 | cl_u1_nand3_8x spare1_nand3_8x (.in0(1'b1), | |
2490 | .in1(1'b1), | |
2491 | .in2(1'b1), | |
2492 | .out(spare1_nand3_8x_unused)); | |
2493 | cl_u1_inv_8x spare1_inv_8x (.in(1'b1), | |
2494 | .out(spare1_inv_8x_unused)); | |
2495 | cl_u1_aoi22_4x spare1_aoi22_4x (.in00(1'b1), | |
2496 | .in01(1'b1), | |
2497 | .in10(1'b1), | |
2498 | .in11(1'b1), | |
2499 | .out(spare1_aoi22_4x_unused)); | |
2500 | cl_u1_buf_8x spare1_buf_8x (.in(1'b1), | |
2501 | .out(spare1_buf_8x_unused)); | |
2502 | cl_u1_oai22_4x spare1_oai22_4x (.in00(1'b1), | |
2503 | .in01(1'b1), | |
2504 | .in10(1'b1), | |
2505 | .in11(1'b1), | |
2506 | .out(spare1_oai22_4x_unused)); | |
2507 | cl_u1_inv_16x spare1_inv_16x (.in(1'b1), | |
2508 | .out(spare1_inv_16x_unused)); | |
2509 | cl_u1_nand2_16x spare1_nand2_16x (.in0(1'b1), | |
2510 | .in1(1'b1), | |
2511 | .out(spare1_nand2_16x_unused)); | |
2512 | cl_u1_nor3_4x spare1_nor3_4x (.in0(1'b0), | |
2513 | .in1(1'b0), | |
2514 | .in2(1'b0), | |
2515 | .out(spare1_nor3_4x_unused)); | |
2516 | cl_u1_nand2_8x spare1_nand2_8x (.in0(1'b1), | |
2517 | .in1(1'b1), | |
2518 | .out(spare1_nand2_8x_unused)); | |
2519 | cl_u1_buf_16x spare1_buf_16x (.in(1'b1), | |
2520 | .out(spare1_buf_16x_unused)); | |
2521 | cl_u1_nor2_16x spare1_nor2_16x (.in0(1'b0), | |
2522 | .in1(1'b0), | |
2523 | .out(spare1_nor2_16x_unused)); | |
2524 | cl_u1_inv_32x spare1_inv_32x (.in(1'b1), | |
2525 | .out(spare1_inv_32x_unused)); | |
2526 | assign scan_out = so_1; | |
2527 | ||
2528 | ||
2529 | ||
2530 | endmodule | |
2531 |