Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / common / verilog / misc / asmEventsProbes.vh
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: asmEventsProbes.vh
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 ============================================
35wire [63:0] ev_ready;
36
37// one/thread
38wire [63:0] ev_pc0;
39wire [63:0] ev_pc1;
40wire [63:0] ev_pc2;
41wire [63:0] ev_pc3;
42wire [63:0] ev_pc4;
43wire [63:0] ev_pc5;
44wire [63:0] ev_pc6;
45wire [63:0] ev_pc7;
46wire [63:0] ev_pc8;
47wire [63:0] ev_pc9;
48wire [63:0] ev_pc10;
49wire [63:0] ev_pc11;
50wire [63:0] ev_pc12;
51wire [63:0] ev_pc13;
52wire [63:0] ev_pc14;
53wire [63:0] ev_pc15;
54wire [63:0] ev_pc16;
55wire [63:0] ev_pc17;
56wire [63:0] ev_pc18;
57wire [63:0] ev_pc19;
58wire [63:0] ev_pc20;
59wire [63:0] ev_pc21;
60wire [63:0] ev_pc22;
61wire [63:0] ev_pc23;
62wire [63:0] ev_pc24;
63wire [63:0] ev_pc25;
64wire [63:0] ev_pc26;
65wire [63:0] ev_pc27;
66wire [63:0] ev_pc28;
67wire [63:0] ev_pc29;
68wire [63:0] ev_pc30;
69wire [63:0] ev_pc31;
70wire [63:0] ev_pc32;
71wire [63:0] ev_pc33;
72wire [63:0] ev_pc34;
73wire [63:0] ev_pc35;
74wire [63:0] ev_pc36;
75wire [63:0] ev_pc37;
76wire [63:0] ev_pc38;
77wire [63:0] ev_pc39;
78wire [63:0] ev_pc40;
79wire [63:0] ev_pc41;
80wire [63:0] ev_pc42;
81wire [63:0] ev_pc43;
82wire [63:0] ev_pc44;
83wire [63:0] ev_pc45;
84wire [63:0] ev_pc46;
85wire [63:0] ev_pc47;
86wire [63:0] ev_pc48;
87wire [63:0] ev_pc49;
88wire [63:0] ev_pc50;
89wire [63:0] ev_pc51;
90wire [63:0] ev_pc52;
91wire [63:0] ev_pc53;
92wire [63:0] ev_pc54;
93wire [63:0] ev_pc55;
94wire [63:0] ev_pc56;
95wire [63:0] ev_pc57;
96wire [63:0] ev_pc58;
97wire [63:0] ev_pc59;
98wire [63:0] ev_pc60;
99wire [63:0] ev_pc61;
100wire [63:0] ev_pc62;
101wire [63:0] ev_pc63;
102
103//--------------------------------------------------
104`ifndef GATESIM
105
106//--------------------------------------------------
107`ifdef ASM_EVENTS_EARLY
108
109
110`ifdef CORE_0
111 assign ev_pc0 = tb_top.intf0.pc_0_w;
112 assign ev_ready[0] = tb_top.intf0.select_pc_b[0];
113 assign ev_pc1 = tb_top.intf0.pc_1_w;
114 assign ev_ready[1] = tb_top.intf0.select_pc_b[1];
115 assign ev_pc2 = tb_top.intf0.pc_2_w;
116 assign ev_ready[2] = tb_top.intf0.select_pc_b[2];
117 assign ev_pc3 = tb_top.intf0.pc_3_w;
118 assign ev_ready[3] = tb_top.intf0.select_pc_b[3];
119 assign ev_pc4 = tb_top.intf0.pc_4_w;
120 assign ev_ready[4] = tb_top.intf0.select_pc_b[4];
121 assign ev_pc5 = tb_top.intf0.pc_5_w;
122 assign ev_ready[5] = tb_top.intf0.select_pc_b[5];
123 assign ev_pc6 = tb_top.intf0.pc_6_w;
124 assign ev_ready[6] = tb_top.intf0.select_pc_b[6];
125 assign ev_pc7 = tb_top.intf0.pc_7_w;
126 assign ev_ready[7] = tb_top.intf0.select_pc_b[7];
127`else
128 assign ev_pc0 = 0;
129 assign ev_ready[0] = 0;
130 assign ev_pc1 = 0;
131 assign ev_ready[1] = 0;
132 assign ev_pc2 = 0;
133 assign ev_ready[2] = 0;
134 assign ev_pc3 = 0;
135 assign ev_ready[3] = 0;
136 assign ev_pc4 = 0;
137 assign ev_ready[4] = 0;
138 assign ev_pc5 = 0;
139 assign ev_ready[5] = 0;
140 assign ev_pc6 = 0;
141 assign ev_ready[6] = 0;
142 assign ev_pc7 = 0;
143 assign ev_ready[7] = 0;
144`endif
145
146`ifdef CORE_1
147 assign ev_pc8 = tb_top.intf1.pc_0_w;
148 assign ev_ready[8] = tb_top.intf1.select_pc_b[0];
149 assign ev_pc9 = tb_top.intf1.pc_1_w;
150 assign ev_ready[9] = tb_top.intf1.select_pc_b[1];
151 assign ev_pc10 = tb_top.intf1.pc_2_w;
152 assign ev_ready[10] = tb_top.intf1.select_pc_b[2];
153 assign ev_pc11 = tb_top.intf1.pc_3_w;
154 assign ev_ready[11] = tb_top.intf1.select_pc_b[3];
155 assign ev_pc12 = tb_top.intf1.pc_4_w;
156 assign ev_ready[12] = tb_top.intf1.select_pc_b[4];
157 assign ev_pc13 = tb_top.intf1.pc_5_w;
158 assign ev_ready[13] = tb_top.intf1.select_pc_b[5];
159 assign ev_pc14 = tb_top.intf1.pc_6_w;
160 assign ev_ready[14] = tb_top.intf1.select_pc_b[6];
161 assign ev_pc15 = tb_top.intf1.pc_7_w;
162 assign ev_ready[15] = tb_top.intf1.select_pc_b[7];
163`else
164 assign ev_pc8 = 0;
165 assign ev_ready[8] = 0;
166 assign ev_pc9 = 0;
167 assign ev_ready[9] = 0;
168 assign ev_pc10 = 0;
169 assign ev_ready[10] = 0;
170 assign ev_pc11 = 0;
171 assign ev_ready[11] = 0;
172 assign ev_pc12 = 0;
173 assign ev_ready[12] = 0;
174 assign ev_pc13 = 0;
175 assign ev_ready[13] = 0;
176 assign ev_pc14 = 0;
177 assign ev_ready[14] = 0;
178 assign ev_pc15 = 0;
179 assign ev_ready[15] = 0;
180`endif
181
182`ifdef CORE_2
183 assign ev_pc16 = tb_top.intf2.pc_0_w;
184 assign ev_ready[16] = tb_top.intf2.select_pc_b[0];
185 assign ev_pc17 = tb_top.intf2.pc_1_w;
186 assign ev_ready[17] = tb_top.intf2.select_pc_b[1];
187 assign ev_pc18 = tb_top.intf2.pc_2_w;
188 assign ev_ready[18] = tb_top.intf2.select_pc_b[2];
189 assign ev_pc19 = tb_top.intf2.pc_3_w;
190 assign ev_ready[19] = tb_top.intf2.select_pc_b[3];
191 assign ev_pc20 = tb_top.intf2.pc_4_w;
192 assign ev_ready[20] = tb_top.intf2.select_pc_b[4];
193 assign ev_pc21 = tb_top.intf2.pc_5_w;
194 assign ev_ready[21] = tb_top.intf2.select_pc_b[5];
195 assign ev_pc22 = tb_top.intf2.pc_6_w;
196 assign ev_ready[22] = tb_top.intf2.select_pc_b[6];
197 assign ev_pc23 = tb_top.intf2.pc_7_w;
198 assign ev_ready[23] = tb_top.intf2.select_pc_b[7];
199`else
200 assign ev_pc16 = 0;
201 assign ev_ready[16] = 0;
202 assign ev_pc17 = 0;
203 assign ev_ready[17] = 0;
204 assign ev_pc18 = 0;
205 assign ev_ready[18] = 0;
206 assign ev_pc19 = 0;
207 assign ev_ready[19] = 0;
208 assign ev_pc20 = 0;
209 assign ev_ready[20] = 0;
210 assign ev_pc21 = 0;
211 assign ev_ready[21] = 0;
212 assign ev_pc22 = 0;
213 assign ev_ready[22] = 0;
214 assign ev_pc23 = 0;
215 assign ev_ready[23] = 0;
216`endif
217
218`ifdef CORE_3
219 assign ev_pc24 = tb_top.intf3.pc_0_w;
220 assign ev_ready[24] = tb_top.intf3.select_pc_b[0];
221 assign ev_pc25 = tb_top.intf3.pc_1_w;
222 assign ev_ready[25] = tb_top.intf3.select_pc_b[1];
223 assign ev_pc26 = tb_top.intf3.pc_2_w;
224 assign ev_ready[26] = tb_top.intf3.select_pc_b[2];
225 assign ev_pc27 = tb_top.intf3.pc_3_w;
226 assign ev_ready[27] = tb_top.intf3.select_pc_b[3];
227 assign ev_pc28 = tb_top.intf3.pc_4_w;
228 assign ev_ready[28] = tb_top.intf3.select_pc_b[4];
229 assign ev_pc29 = tb_top.intf3.pc_5_w;
230 assign ev_ready[29] = tb_top.intf3.select_pc_b[5];
231 assign ev_pc30 = tb_top.intf3.pc_6_w;
232 assign ev_ready[30] = tb_top.intf3.select_pc_b[6];
233 assign ev_pc31 = tb_top.intf3.pc_7_w;
234 assign ev_ready[31] = tb_top.intf3.select_pc_b[7];
235`else
236 assign ev_pc24 = 0;
237 assign ev_ready[24] = 0;
238 assign ev_pc25 = 0;
239 assign ev_ready[25] = 0;
240 assign ev_pc26 = 0;
241 assign ev_ready[26] = 0;
242 assign ev_pc27 = 0;
243 assign ev_ready[27] = 0;
244 assign ev_pc28 = 0;
245 assign ev_ready[28] = 0;
246 assign ev_pc29 = 0;
247 assign ev_ready[29] = 0;
248 assign ev_pc30 = 0;
249 assign ev_ready[30] = 0;
250 assign ev_pc31 = 0;
251 assign ev_ready[31] = 0;
252`endif
253
254`ifdef CORE_4
255 assign ev_pc32 = tb_top.intf4.pc_0_w;
256 assign ev_ready[32] = tb_top.intf4.select_pc_b[0];
257 assign ev_pc33 = tb_top.intf4.pc_1_w;
258 assign ev_ready[33] = tb_top.intf4.select_pc_b[1];
259 assign ev_pc34 = tb_top.intf4.pc_2_w;
260 assign ev_ready[34] = tb_top.intf4.select_pc_b[2];
261 assign ev_pc35 = tb_top.intf4.pc_3_w;
262 assign ev_ready[35] = tb_top.intf4.select_pc_b[3];
263 assign ev_pc36 = tb_top.intf4.pc_4_w;
264 assign ev_ready[36] = tb_top.intf4.select_pc_b[4];
265 assign ev_pc37 = tb_top.intf4.pc_5_w;
266 assign ev_ready[37] = tb_top.intf4.select_pc_b[5];
267 assign ev_pc38 = tb_top.intf4.pc_6_w;
268 assign ev_ready[38] = tb_top.intf4.select_pc_b[6];
269 assign ev_pc39 = tb_top.intf4.pc_7_w;
270 assign ev_ready[39] = tb_top.intf4.select_pc_b[7];
271`else
272 assign ev_pc32 = 0;
273 assign ev_ready[32] = 0;
274 assign ev_pc33 = 0;
275 assign ev_ready[33] = 0;
276 assign ev_pc34 = 0;
277 assign ev_ready[34] = 0;
278 assign ev_pc35 = 0;
279 assign ev_ready[35] = 0;
280 assign ev_pc36 = 0;
281 assign ev_ready[36] = 0;
282 assign ev_pc37 = 0;
283 assign ev_ready[37] = 0;
284 assign ev_pc38 = 0;
285 assign ev_ready[38] = 0;
286 assign ev_pc39 = 0;
287 assign ev_ready[39] = 0;
288`endif
289
290`ifdef CORE_5
291 assign ev_pc40 = tb_top.intf5.pc_0_w;
292 assign ev_ready[40] = tb_top.intf5.select_pc_b[0];
293 assign ev_pc41 = tb_top.intf5.pc_1_w;
294 assign ev_ready[41] = tb_top.intf5.select_pc_b[1];
295 assign ev_pc42 = tb_top.intf5.pc_2_w;
296 assign ev_ready[42] = tb_top.intf5.select_pc_b[2];
297 assign ev_pc43 = tb_top.intf5.pc_3_w;
298 assign ev_ready[43] = tb_top.intf5.select_pc_b[3];
299 assign ev_pc44 = tb_top.intf5.pc_4_w;
300 assign ev_ready[44] = tb_top.intf5.select_pc_b[4];
301 assign ev_pc45 = tb_top.intf5.pc_5_w;
302 assign ev_ready[45] = tb_top.intf5.select_pc_b[5];
303 assign ev_pc46 = tb_top.intf5.pc_6_w;
304 assign ev_ready[46] = tb_top.intf5.select_pc_b[6];
305 assign ev_pc47 = tb_top.intf5.pc_7_w;
306 assign ev_ready[47] = tb_top.intf5.select_pc_b[7];
307`else
308 assign ev_pc40 = 0;
309 assign ev_ready[40] = 0;
310 assign ev_pc41 = 0;
311 assign ev_ready[41] = 0;
312 assign ev_pc42 = 0;
313 assign ev_ready[42] = 0;
314 assign ev_pc43 = 0;
315 assign ev_ready[43] = 0;
316 assign ev_pc44 = 0;
317 assign ev_ready[44] = 0;
318 assign ev_pc45 = 0;
319 assign ev_ready[45] = 0;
320 assign ev_pc46 = 0;
321 assign ev_ready[46] = 0;
322 assign ev_pc47 = 0;
323 assign ev_ready[47] = 0;
324`endif
325
326`ifdef CORE_6
327 assign ev_pc48 = tb_top.intf6.pc_0_w;
328 assign ev_ready[48] = tb_top.intf6.select_pc_b[0];
329 assign ev_pc49 = tb_top.intf6.pc_1_w;
330 assign ev_ready[49] = tb_top.intf6.select_pc_b[1];
331 assign ev_pc50 = tb_top.intf6.pc_2_w;
332 assign ev_ready[50] = tb_top.intf6.select_pc_b[2];
333 assign ev_pc51 = tb_top.intf6.pc_3_w;
334 assign ev_ready[51] = tb_top.intf6.select_pc_b[3];
335 assign ev_pc52 = tb_top.intf6.pc_4_w;
336 assign ev_ready[52] = tb_top.intf6.select_pc_b[4];
337 assign ev_pc53 = tb_top.intf6.pc_5_w;
338 assign ev_ready[53] = tb_top.intf6.select_pc_b[5];
339 assign ev_pc54 = tb_top.intf6.pc_6_w;
340 assign ev_ready[54] = tb_top.intf6.select_pc_b[6];
341 assign ev_pc55 = tb_top.intf6.pc_7_w;
342 assign ev_ready[55] = tb_top.intf6.select_pc_b[7];
343`else
344 assign ev_pc48 = 0;
345 assign ev_ready[48] = 0;
346 assign ev_pc49 = 0;
347 assign ev_ready[49] = 0;
348 assign ev_pc50 = 0;
349 assign ev_ready[50] = 0;
350 assign ev_pc51 = 0;
351 assign ev_ready[51] = 0;
352 assign ev_pc52 = 0;
353 assign ev_ready[52] = 0;
354 assign ev_pc53 = 0;
355 assign ev_ready[53] = 0;
356 assign ev_pc54 = 0;
357 assign ev_ready[54] = 0;
358 assign ev_pc55 = 0;
359 assign ev_ready[55] = 0;
360`endif
361
362`ifdef CORE_7
363 assign ev_pc56 = tb_top.intf7.pc_0_w;
364 assign ev_ready[56] = tb_top.intf7.select_pc_b[0];
365 assign ev_pc57 = tb_top.intf7.pc_1_w;
366 assign ev_ready[57] = tb_top.intf7.select_pc_b[1];
367 assign ev_pc58 = tb_top.intf7.pc_2_w;
368 assign ev_ready[58] = tb_top.intf7.select_pc_b[2];
369 assign ev_pc59 = tb_top.intf7.pc_3_w;
370 assign ev_ready[59] = tb_top.intf7.select_pc_b[3];
371 assign ev_pc60 = tb_top.intf7.pc_4_w;
372 assign ev_ready[60] = tb_top.intf7.select_pc_b[4];
373 assign ev_pc61 = tb_top.intf7.pc_5_w;
374 assign ev_ready[61] = tb_top.intf7.select_pc_b[5];
375 assign ev_pc62 = tb_top.intf7.pc_6_w;
376 assign ev_ready[62] = tb_top.intf7.select_pc_b[6];
377 assign ev_pc63 = tb_top.intf7.pc_7_w;
378 assign ev_ready[63] = tb_top.intf7.select_pc_b[7];
379`else
380 assign ev_pc56 = 0;
381 assign ev_ready[56] = 0;
382 assign ev_pc57 = 0;
383 assign ev_ready[57] = 0;
384 assign ev_pc58 = 0;
385 assign ev_ready[58] = 0;
386 assign ev_pc59 = 0;
387 assign ev_ready[59] = 0;
388 assign ev_pc60 = 0;
389 assign ev_ready[60] = 0;
390 assign ev_pc61 = 0;
391 assign ev_ready[61] = 0;
392 assign ev_pc62 = 0;
393 assign ev_ready[62] = 0;
394 assign ev_pc63 = 0;
395 assign ev_ready[63] = 0;
396`endif
397
398
399//--------------------------------------------------
400`else // ASM_EVENTS_EARLY
401
402
403`ifdef CORE_0
404 assign ev_pc0 = tb_top.nas_top.c0.t0.pc_fw2;
405 assign ev_ready[0] = |tb_top.nas_top.c0.t0.complete_fw2[7:0]; // 1 bit/unit
406 assign ev_pc1 = tb_top.nas_top.c0.t1.pc_fw2;
407 assign ev_ready[1] = |tb_top.nas_top.c0.t1.complete_fw2[7:0]; // 1 bit/unit
408 assign ev_pc2 = tb_top.nas_top.c0.t2.pc_fw2;
409 assign ev_ready[2] = |tb_top.nas_top.c0.t2.complete_fw2[7:0]; // 1 bit/unit
410 assign ev_pc3 = tb_top.nas_top.c0.t3.pc_fw2;
411 assign ev_ready[3] = |tb_top.nas_top.c0.t3.complete_fw2[7:0]; // 1 bit/unit
412 assign ev_pc4 = tb_top.nas_top.c0.t4.pc_fw2;
413 assign ev_ready[4] = |tb_top.nas_top.c0.t4.complete_fw2[7:0]; // 1 bit/unit
414 assign ev_pc5 = tb_top.nas_top.c0.t5.pc_fw2;
415 assign ev_ready[5] = |tb_top.nas_top.c0.t5.complete_fw2[7:0]; // 1 bit/unit
416 assign ev_pc6 = tb_top.nas_top.c0.t6.pc_fw2;
417 assign ev_ready[6] = |tb_top.nas_top.c0.t6.complete_fw2[7:0]; // 1 bit/unit
418 assign ev_pc7 = tb_top.nas_top.c0.t7.pc_fw2;
419 assign ev_ready[7] = |tb_top.nas_top.c0.t7.complete_fw2[7:0]; // 1 bit/unit
420`else
421 assign ev_pc0 = 0;
422 assign ev_ready[0] = 0;
423 assign ev_pc1 = 0;
424 assign ev_ready[1] = 0;
425 assign ev_pc2 = 0;
426 assign ev_ready[2] = 0;
427 assign ev_pc3 = 0;
428 assign ev_ready[3] = 0;
429 assign ev_pc4 = 0;
430 assign ev_ready[4] = 0;
431 assign ev_pc5 = 0;
432 assign ev_ready[5] = 0;
433 assign ev_pc6 = 0;
434 assign ev_ready[6] = 0;
435 assign ev_pc7 = 0;
436 assign ev_ready[7] = 0;
437`endif
438
439`ifdef CORE_1
440 assign ev_pc8 = tb_top.nas_top.c1.t0.pc_fw2;
441 assign ev_ready[8] = |tb_top.nas_top.c1.t0.complete_fw2[7:0]; // 1 bit/unit
442 assign ev_pc9 = tb_top.nas_top.c1.t1.pc_fw2;
443 assign ev_ready[9] = |tb_top.nas_top.c1.t1.complete_fw2[7:0]; // 1 bit/unit
444 assign ev_pc10 = tb_top.nas_top.c1.t2.pc_fw2;
445 assign ev_ready[10] = |tb_top.nas_top.c1.t2.complete_fw2[7:0]; // 1 bit/unit
446 assign ev_pc11 = tb_top.nas_top.c1.t3.pc_fw2;
447 assign ev_ready[11] = |tb_top.nas_top.c1.t3.complete_fw2[7:0]; // 1 bit/unit
448 assign ev_pc12 = tb_top.nas_top.c1.t4.pc_fw2;
449 assign ev_ready[12] = |tb_top.nas_top.c1.t4.complete_fw2[7:0]; // 1 bit/unit
450 assign ev_pc13 = tb_top.nas_top.c1.t5.pc_fw2;
451 assign ev_ready[13] = |tb_top.nas_top.c1.t5.complete_fw2[7:0]; // 1 bit/unit
452 assign ev_pc14 = tb_top.nas_top.c1.t6.pc_fw2;
453 assign ev_ready[14] = |tb_top.nas_top.c1.t6.complete_fw2[7:0]; // 1 bit/unit
454 assign ev_pc15 = tb_top.nas_top.c1.t7.pc_fw2;
455 assign ev_ready[15] = |tb_top.nas_top.c1.t7.complete_fw2[7:0]; // 1 bit/unit
456`else
457 assign ev_pc8 = 0;
458 assign ev_ready[8] = 0;
459 assign ev_pc9 = 0;
460 assign ev_ready[9] = 0;
461 assign ev_pc10 = 0;
462 assign ev_ready[10] = 0;
463 assign ev_pc11 = 0;
464 assign ev_ready[11] = 0;
465 assign ev_pc12 = 0;
466 assign ev_ready[12] = 0;
467 assign ev_pc13 = 0;
468 assign ev_ready[13] = 0;
469 assign ev_pc14 = 0;
470 assign ev_ready[14] = 0;
471 assign ev_pc15 = 0;
472 assign ev_ready[15] = 0;
473`endif
474
475`ifdef CORE_2
476 assign ev_pc16 = tb_top.nas_top.c2.t0.pc_fw2;
477 assign ev_ready[16] = |tb_top.nas_top.c2.t0.complete_fw2[7:0]; // 1 bit/unit
478 assign ev_pc17 = tb_top.nas_top.c2.t1.pc_fw2;
479 assign ev_ready[17] = |tb_top.nas_top.c2.t1.complete_fw2[7:0]; // 1 bit/unit
480 assign ev_pc18 = tb_top.nas_top.c2.t2.pc_fw2;
481 assign ev_ready[18] = |tb_top.nas_top.c2.t2.complete_fw2[7:0]; // 1 bit/unit
482 assign ev_pc19 = tb_top.nas_top.c2.t3.pc_fw2;
483 assign ev_ready[19] = |tb_top.nas_top.c2.t3.complete_fw2[7:0]; // 1 bit/unit
484 assign ev_pc20 = tb_top.nas_top.c2.t4.pc_fw2;
485 assign ev_ready[20] = |tb_top.nas_top.c2.t4.complete_fw2[7:0]; // 1 bit/unit
486 assign ev_pc21 = tb_top.nas_top.c2.t5.pc_fw2;
487 assign ev_ready[21] = |tb_top.nas_top.c2.t5.complete_fw2[7:0]; // 1 bit/unit
488 assign ev_pc22 = tb_top.nas_top.c2.t6.pc_fw2;
489 assign ev_ready[22] = |tb_top.nas_top.c2.t6.complete_fw2[7:0]; // 1 bit/unit
490 assign ev_pc23 = tb_top.nas_top.c2.t7.pc_fw2;
491 assign ev_ready[23] = |tb_top.nas_top.c2.t7.complete_fw2[7:0]; // 1 bit/unit
492`else
493 assign ev_pc16 = 0;
494 assign ev_ready[16] = 0;
495 assign ev_pc17 = 0;
496 assign ev_ready[17] = 0;
497 assign ev_pc18 = 0;
498 assign ev_ready[18] = 0;
499 assign ev_pc19 = 0;
500 assign ev_ready[19] = 0;
501 assign ev_pc20 = 0;
502 assign ev_ready[20] = 0;
503 assign ev_pc21 = 0;
504 assign ev_ready[21] = 0;
505 assign ev_pc22 = 0;
506 assign ev_ready[22] = 0;
507 assign ev_pc23 = 0;
508 assign ev_ready[23] = 0;
509`endif
510
511`ifdef CORE_3
512 assign ev_pc24 = tb_top.nas_top.c3.t0.pc_fw2;
513 assign ev_ready[24] = |tb_top.nas_top.c3.t0.complete_fw2[7:0]; // 1 bit/unit
514 assign ev_pc25 = tb_top.nas_top.c3.t1.pc_fw2;
515 assign ev_ready[25] = |tb_top.nas_top.c3.t1.complete_fw2[7:0]; // 1 bit/unit
516 assign ev_pc26 = tb_top.nas_top.c3.t2.pc_fw2;
517 assign ev_ready[26] = |tb_top.nas_top.c3.t2.complete_fw2[7:0]; // 1 bit/unit
518 assign ev_pc27 = tb_top.nas_top.c3.t3.pc_fw2;
519 assign ev_ready[27] = |tb_top.nas_top.c3.t3.complete_fw2[7:0]; // 1 bit/unit
520 assign ev_pc28 = tb_top.nas_top.c3.t4.pc_fw2;
521 assign ev_ready[28] = |tb_top.nas_top.c3.t4.complete_fw2[7:0]; // 1 bit/unit
522 assign ev_pc29 = tb_top.nas_top.c3.t5.pc_fw2;
523 assign ev_ready[29] = |tb_top.nas_top.c3.t5.complete_fw2[7:0]; // 1 bit/unit
524 assign ev_pc30 = tb_top.nas_top.c3.t6.pc_fw2;
525 assign ev_ready[30] = |tb_top.nas_top.c3.t6.complete_fw2[7:0]; // 1 bit/unit
526 assign ev_pc31 = tb_top.nas_top.c3.t7.pc_fw2;
527 assign ev_ready[31] = |tb_top.nas_top.c3.t7.complete_fw2[7:0]; // 1 bit/unit
528`else
529 assign ev_pc24 = 0;
530 assign ev_ready[24] = 0;
531 assign ev_pc25 = 0;
532 assign ev_ready[25] = 0;
533 assign ev_pc26 = 0;
534 assign ev_ready[26] = 0;
535 assign ev_pc27 = 0;
536 assign ev_ready[27] = 0;
537 assign ev_pc28 = 0;
538 assign ev_ready[28] = 0;
539 assign ev_pc29 = 0;
540 assign ev_ready[29] = 0;
541 assign ev_pc30 = 0;
542 assign ev_ready[30] = 0;
543 assign ev_pc31 = 0;
544 assign ev_ready[31] = 0;
545`endif
546
547`ifdef CORE_4
548 assign ev_pc32 = tb_top.nas_top.c4.t0.pc_fw2;
549 assign ev_ready[32] = |tb_top.nas_top.c4.t0.complete_fw2[7:0]; // 1 bit/unit
550 assign ev_pc33 = tb_top.nas_top.c4.t1.pc_fw2;
551 assign ev_ready[33] = |tb_top.nas_top.c4.t1.complete_fw2[7:0]; // 1 bit/unit
552 assign ev_pc34 = tb_top.nas_top.c4.t2.pc_fw2;
553 assign ev_ready[34] = |tb_top.nas_top.c4.t2.complete_fw2[7:0]; // 1 bit/unit
554 assign ev_pc35 = tb_top.nas_top.c4.t3.pc_fw2;
555 assign ev_ready[35] = |tb_top.nas_top.c4.t3.complete_fw2[7:0]; // 1 bit/unit
556 assign ev_pc36 = tb_top.nas_top.c4.t4.pc_fw2;
557 assign ev_ready[36] = |tb_top.nas_top.c4.t4.complete_fw2[7:0]; // 1 bit/unit
558 assign ev_pc37 = tb_top.nas_top.c4.t5.pc_fw2;
559 assign ev_ready[37] = |tb_top.nas_top.c4.t5.complete_fw2[7:0]; // 1 bit/unit
560 assign ev_pc38 = tb_top.nas_top.c4.t6.pc_fw2;
561 assign ev_ready[38] = |tb_top.nas_top.c4.t6.complete_fw2[7:0]; // 1 bit/unit
562 assign ev_pc39 = tb_top.nas_top.c4.t7.pc_fw2;
563 assign ev_ready[39] = |tb_top.nas_top.c4.t7.complete_fw2[7:0]; // 1 bit/unit
564`else
565 assign ev_pc32 = 0;
566 assign ev_ready[32] = 0;
567 assign ev_pc33 = 0;
568 assign ev_ready[33] = 0;
569 assign ev_pc34 = 0;
570 assign ev_ready[34] = 0;
571 assign ev_pc35 = 0;
572 assign ev_ready[35] = 0;
573 assign ev_pc36 = 0;
574 assign ev_ready[36] = 0;
575 assign ev_pc37 = 0;
576 assign ev_ready[37] = 0;
577 assign ev_pc38 = 0;
578 assign ev_ready[38] = 0;
579 assign ev_pc39 = 0;
580 assign ev_ready[39] = 0;
581`endif
582
583`ifdef CORE_5
584 assign ev_pc40 = tb_top.nas_top.c5.t0.pc_fw2;
585 assign ev_ready[40] = |tb_top.nas_top.c5.t0.complete_fw2[7:0]; // 1 bit/unit
586 assign ev_pc41 = tb_top.nas_top.c5.t1.pc_fw2;
587 assign ev_ready[41] = |tb_top.nas_top.c5.t1.complete_fw2[7:0]; // 1 bit/unit
588 assign ev_pc42 = tb_top.nas_top.c5.t2.pc_fw2;
589 assign ev_ready[42] = |tb_top.nas_top.c5.t2.complete_fw2[7:0]; // 1 bit/unit
590 assign ev_pc43 = tb_top.nas_top.c5.t3.pc_fw2;
591 assign ev_ready[43] = |tb_top.nas_top.c5.t3.complete_fw2[7:0]; // 1 bit/unit
592 assign ev_pc44 = tb_top.nas_top.c5.t4.pc_fw2;
593 assign ev_ready[44] = |tb_top.nas_top.c5.t4.complete_fw2[7:0]; // 1 bit/unit
594 assign ev_pc45 = tb_top.nas_top.c5.t5.pc_fw2;
595 assign ev_ready[45] = |tb_top.nas_top.c5.t5.complete_fw2[7:0]; // 1 bit/unit
596 assign ev_pc46 = tb_top.nas_top.c5.t6.pc_fw2;
597 assign ev_ready[46] = |tb_top.nas_top.c5.t6.complete_fw2[7:0]; // 1 bit/unit
598 assign ev_pc47 = tb_top.nas_top.c5.t7.pc_fw2;
599 assign ev_ready[47] = |tb_top.nas_top.c5.t7.complete_fw2[7:0]; // 1 bit/unit
600`else
601 assign ev_pc40 = 0;
602 assign ev_ready[40] = 0;
603 assign ev_pc41 = 0;
604 assign ev_ready[41] = 0;
605 assign ev_pc42 = 0;
606 assign ev_ready[42] = 0;
607 assign ev_pc43 = 0;
608 assign ev_ready[43] = 0;
609 assign ev_pc44 = 0;
610 assign ev_ready[44] = 0;
611 assign ev_pc45 = 0;
612 assign ev_ready[45] = 0;
613 assign ev_pc46 = 0;
614 assign ev_ready[46] = 0;
615 assign ev_pc47 = 0;
616 assign ev_ready[47] = 0;
617`endif
618
619`ifdef CORE_6
620 assign ev_pc48 = tb_top.nas_top.c6.t0.pc_fw2;
621 assign ev_ready[48] = |tb_top.nas_top.c6.t0.complete_fw2[7:0]; // 1 bit/unit
622 assign ev_pc49 = tb_top.nas_top.c6.t1.pc_fw2;
623 assign ev_ready[49] = |tb_top.nas_top.c6.t1.complete_fw2[7:0]; // 1 bit/unit
624 assign ev_pc50 = tb_top.nas_top.c6.t2.pc_fw2;
625 assign ev_ready[50] = |tb_top.nas_top.c6.t2.complete_fw2[7:0]; // 1 bit/unit
626 assign ev_pc51 = tb_top.nas_top.c6.t3.pc_fw2;
627 assign ev_ready[51] = |tb_top.nas_top.c6.t3.complete_fw2[7:0]; // 1 bit/unit
628 assign ev_pc52 = tb_top.nas_top.c6.t4.pc_fw2;
629 assign ev_ready[52] = |tb_top.nas_top.c6.t4.complete_fw2[7:0]; // 1 bit/unit
630 assign ev_pc53 = tb_top.nas_top.c6.t5.pc_fw2;
631 assign ev_ready[53] = |tb_top.nas_top.c6.t5.complete_fw2[7:0]; // 1 bit/unit
632 assign ev_pc54 = tb_top.nas_top.c6.t6.pc_fw2;
633 assign ev_ready[54] = |tb_top.nas_top.c6.t6.complete_fw2[7:0]; // 1 bit/unit
634 assign ev_pc55 = tb_top.nas_top.c6.t7.pc_fw2;
635 assign ev_ready[55] = |tb_top.nas_top.c6.t7.complete_fw2[7:0]; // 1 bit/unit
636`else
637 assign ev_pc48 = 0;
638 assign ev_ready[48] = 0;
639 assign ev_pc49 = 0;
640 assign ev_ready[49] = 0;
641 assign ev_pc50 = 0;
642 assign ev_ready[50] = 0;
643 assign ev_pc51 = 0;
644 assign ev_ready[51] = 0;
645 assign ev_pc52 = 0;
646 assign ev_ready[52] = 0;
647 assign ev_pc53 = 0;
648 assign ev_ready[53] = 0;
649 assign ev_pc54 = 0;
650 assign ev_ready[54] = 0;
651 assign ev_pc55 = 0;
652 assign ev_ready[55] = 0;
653`endif
654
655`ifdef CORE_7
656 assign ev_pc56 = tb_top.nas_top.c7.t0.pc_fw2;
657 assign ev_ready[56] = |tb_top.nas_top.c7.t0.complete_fw2[7:0]; // 1 bit/unit
658 assign ev_pc57 = tb_top.nas_top.c7.t1.pc_fw2;
659 assign ev_ready[57] = |tb_top.nas_top.c7.t1.complete_fw2[7:0]; // 1 bit/unit
660 assign ev_pc58 = tb_top.nas_top.c7.t2.pc_fw2;
661 assign ev_ready[58] = |tb_top.nas_top.c7.t2.complete_fw2[7:0]; // 1 bit/unit
662 assign ev_pc59 = tb_top.nas_top.c7.t3.pc_fw2;
663 assign ev_ready[59] = |tb_top.nas_top.c7.t3.complete_fw2[7:0]; // 1 bit/unit
664 assign ev_pc60 = tb_top.nas_top.c7.t4.pc_fw2;
665 assign ev_ready[60] = |tb_top.nas_top.c7.t4.complete_fw2[7:0]; // 1 bit/unit
666 assign ev_pc61 = tb_top.nas_top.c7.t5.pc_fw2;
667 assign ev_ready[61] = |tb_top.nas_top.c7.t5.complete_fw2[7:0]; // 1 bit/unit
668 assign ev_pc62 = tb_top.nas_top.c7.t6.pc_fw2;
669 assign ev_ready[62] = |tb_top.nas_top.c7.t6.complete_fw2[7:0]; // 1 bit/unit
670 assign ev_pc63 = tb_top.nas_top.c7.t7.pc_fw2;
671 assign ev_ready[63] = |tb_top.nas_top.c7.t7.complete_fw2[7:0]; // 1 bit/unit
672`else
673 assign ev_pc56 = 0;
674 assign ev_ready[56] = 0;
675 assign ev_pc57 = 0;
676 assign ev_ready[57] = 0;
677 assign ev_pc58 = 0;
678 assign ev_ready[58] = 0;
679 assign ev_pc59 = 0;
680 assign ev_ready[59] = 0;
681 assign ev_pc60 = 0;
682 assign ev_ready[60] = 0;
683 assign ev_pc61 = 0;
684 assign ev_ready[61] = 0;
685 assign ev_pc62 = 0;
686 assign ev_ready[62] = 0;
687 assign ev_pc63 = 0;
688 assign ev_ready[63] = 0;
689`endif
690
691
692`endif // ASM_EVENTS_EARLY
693
694//--------------------------------------------------
695`else // GATESIM
696
697
698`ifdef CORE_0
699 assign ev_pc0 = tb_top.nas_top.c0.t0.pc_fw2;
700 assign ev_ready[0] = tb_top.nas_top.c0.t0.inst_valid_fw2;
701 assign ev_pc1 = tb_top.nas_top.c0.t1.pc_fw2;
702 assign ev_ready[1] = tb_top.nas_top.c0.t1.inst_valid_fw2;
703 assign ev_pc2 = tb_top.nas_top.c0.t2.pc_fw2;
704 assign ev_ready[2] = tb_top.nas_top.c0.t2.inst_valid_fw2;
705 assign ev_pc3 = tb_top.nas_top.c0.t3.pc_fw2;
706 assign ev_ready[3] = tb_top.nas_top.c0.t3.inst_valid_fw2;
707 assign ev_pc4 = tb_top.nas_top.c0.t4.pc_fw2;
708 assign ev_ready[4] = tb_top.nas_top.c0.t4.inst_valid_fw2;
709 assign ev_pc5 = tb_top.nas_top.c0.t5.pc_fw2;
710 assign ev_ready[5] = tb_top.nas_top.c0.t5.inst_valid_fw2;
711 assign ev_pc6 = tb_top.nas_top.c0.t6.pc_fw2;
712 assign ev_ready[6] = tb_top.nas_top.c0.t6.inst_valid_fw2;
713 assign ev_pc7 = tb_top.nas_top.c0.t7.pc_fw2;
714 assign ev_ready[7] = tb_top.nas_top.c0.t7.inst_valid_fw2;
715`else
716 assign ev_pc0 = 0;
717 assign ev_ready[0] = 0;
718 assign ev_pc1 = 0;
719 assign ev_ready[1] = 0;
720 assign ev_pc2 = 0;
721 assign ev_ready[2] = 0;
722 assign ev_pc3 = 0;
723 assign ev_ready[3] = 0;
724 assign ev_pc4 = 0;
725 assign ev_ready[4] = 0;
726 assign ev_pc5 = 0;
727 assign ev_ready[5] = 0;
728 assign ev_pc6 = 0;
729 assign ev_ready[6] = 0;
730 assign ev_pc7 = 0;
731 assign ev_ready[7] = 0;
732`endif
733
734`ifdef CORE_1
735 assign ev_pc8 = tb_top.nas_top.c1.t0.pc_fw2;
736 assign ev_ready[8] = tb_top.nas_top.c1.t0.inst_valid_fw2;
737 assign ev_pc9 = tb_top.nas_top.c1.t1.pc_fw2;
738 assign ev_ready[9] = tb_top.nas_top.c1.t1.inst_valid_fw2;
739 assign ev_pc10 = tb_top.nas_top.c1.t2.pc_fw2;
740 assign ev_ready[10] = tb_top.nas_top.c1.t2.inst_valid_fw2;
741 assign ev_pc11 = tb_top.nas_top.c1.t3.pc_fw2;
742 assign ev_ready[11] = tb_top.nas_top.c1.t3.inst_valid_fw2;
743 assign ev_pc12 = tb_top.nas_top.c1.t4.pc_fw2;
744 assign ev_ready[12] = tb_top.nas_top.c1.t4.inst_valid_fw2;
745 assign ev_pc13 = tb_top.nas_top.c1.t5.pc_fw2;
746 assign ev_ready[13] = tb_top.nas_top.c1.t5.inst_valid_fw2;
747 assign ev_pc14 = tb_top.nas_top.c1.t6.pc_fw2;
748 assign ev_ready[14] = tb_top.nas_top.c1.t6.inst_valid_fw2;
749 assign ev_pc15 = tb_top.nas_top.c1.t7.pc_fw2;
750 assign ev_ready[15] = tb_top.nas_top.c1.t7.inst_valid_fw2;
751`else
752 assign ev_pc8 = 0;
753 assign ev_ready[8] = 0;
754 assign ev_pc9 = 0;
755 assign ev_ready[9] = 0;
756 assign ev_pc10 = 0;
757 assign ev_ready[10] = 0;
758 assign ev_pc11 = 0;
759 assign ev_ready[11] = 0;
760 assign ev_pc12 = 0;
761 assign ev_ready[12] = 0;
762 assign ev_pc13 = 0;
763 assign ev_ready[13] = 0;
764 assign ev_pc14 = 0;
765 assign ev_ready[14] = 0;
766 assign ev_pc15 = 0;
767 assign ev_ready[15] = 0;
768`endif
769
770`ifdef CORE_2
771 assign ev_pc16 = tb_top.nas_top.c2.t0.pc_fw2;
772 assign ev_ready[16] = tb_top.nas_top.c2.t0.inst_valid_fw2;
773 assign ev_pc17 = tb_top.nas_top.c2.t1.pc_fw2;
774 assign ev_ready[17] = tb_top.nas_top.c2.t1.inst_valid_fw2;
775 assign ev_pc18 = tb_top.nas_top.c2.t2.pc_fw2;
776 assign ev_ready[18] = tb_top.nas_top.c2.t2.inst_valid_fw2;
777 assign ev_pc19 = tb_top.nas_top.c2.t3.pc_fw2;
778 assign ev_ready[19] = tb_top.nas_top.c2.t3.inst_valid_fw2;
779 assign ev_pc20 = tb_top.nas_top.c2.t4.pc_fw2;
780 assign ev_ready[20] = tb_top.nas_top.c2.t4.inst_valid_fw2;
781 assign ev_pc21 = tb_top.nas_top.c2.t5.pc_fw2;
782 assign ev_ready[21] = tb_top.nas_top.c2.t5.inst_valid_fw2;
783 assign ev_pc22 = tb_top.nas_top.c2.t6.pc_fw2;
784 assign ev_ready[22] = tb_top.nas_top.c2.t6.inst_valid_fw2;
785 assign ev_pc23 = tb_top.nas_top.c2.t7.pc_fw2;
786 assign ev_ready[23] = tb_top.nas_top.c2.t7.inst_valid_fw2;
787`else
788 assign ev_pc16 = 0;
789 assign ev_ready[16] = 0;
790 assign ev_pc17 = 0;
791 assign ev_ready[17] = 0;
792 assign ev_pc18 = 0;
793 assign ev_ready[18] = 0;
794 assign ev_pc19 = 0;
795 assign ev_ready[19] = 0;
796 assign ev_pc20 = 0;
797 assign ev_ready[20] = 0;
798 assign ev_pc21 = 0;
799 assign ev_ready[21] = 0;
800 assign ev_pc22 = 0;
801 assign ev_ready[22] = 0;
802 assign ev_pc23 = 0;
803 assign ev_ready[23] = 0;
804`endif
805
806`ifdef CORE_3
807 assign ev_pc24 = tb_top.nas_top.c3.t0.pc_fw2;
808 assign ev_ready[24] = tb_top.nas_top.c3.t0.inst_valid_fw2;
809 assign ev_pc25 = tb_top.nas_top.c3.t1.pc_fw2;
810 assign ev_ready[25] = tb_top.nas_top.c3.t1.inst_valid_fw2;
811 assign ev_pc26 = tb_top.nas_top.c3.t2.pc_fw2;
812 assign ev_ready[26] = tb_top.nas_top.c3.t2.inst_valid_fw2;
813 assign ev_pc27 = tb_top.nas_top.c3.t3.pc_fw2;
814 assign ev_ready[27] = tb_top.nas_top.c3.t3.inst_valid_fw2;
815 assign ev_pc28 = tb_top.nas_top.c3.t4.pc_fw2;
816 assign ev_ready[28] = tb_top.nas_top.c3.t4.inst_valid_fw2;
817 assign ev_pc29 = tb_top.nas_top.c3.t5.pc_fw2;
818 assign ev_ready[29] = tb_top.nas_top.c3.t5.inst_valid_fw2;
819 assign ev_pc30 = tb_top.nas_top.c3.t6.pc_fw2;
820 assign ev_ready[30] = tb_top.nas_top.c3.t6.inst_valid_fw2;
821 assign ev_pc31 = tb_top.nas_top.c3.t7.pc_fw2;
822 assign ev_ready[31] = tb_top.nas_top.c3.t7.inst_valid_fw2;
823`else
824 assign ev_pc24 = 0;
825 assign ev_ready[24] = 0;
826 assign ev_pc25 = 0;
827 assign ev_ready[25] = 0;
828 assign ev_pc26 = 0;
829 assign ev_ready[26] = 0;
830 assign ev_pc27 = 0;
831 assign ev_ready[27] = 0;
832 assign ev_pc28 = 0;
833 assign ev_ready[28] = 0;
834 assign ev_pc29 = 0;
835 assign ev_ready[29] = 0;
836 assign ev_pc30 = 0;
837 assign ev_ready[30] = 0;
838 assign ev_pc31 = 0;
839 assign ev_ready[31] = 0;
840`endif
841
842`ifdef CORE_4
843 assign ev_pc32 = tb_top.nas_top.c4.t0.pc_fw2;
844 assign ev_ready[32] = tb_top.nas_top.c4.t0.inst_valid_fw2;
845 assign ev_pc33 = tb_top.nas_top.c4.t1.pc_fw2;
846 assign ev_ready[33] = tb_top.nas_top.c4.t1.inst_valid_fw2;
847 assign ev_pc34 = tb_top.nas_top.c4.t2.pc_fw2;
848 assign ev_ready[34] = tb_top.nas_top.c4.t2.inst_valid_fw2;
849 assign ev_pc35 = tb_top.nas_top.c4.t3.pc_fw2;
850 assign ev_ready[35] = tb_top.nas_top.c4.t3.inst_valid_fw2;
851 assign ev_pc36 = tb_top.nas_top.c4.t4.pc_fw2;
852 assign ev_ready[36] = tb_top.nas_top.c4.t4.inst_valid_fw2;
853 assign ev_pc37 = tb_top.nas_top.c4.t5.pc_fw2;
854 assign ev_ready[37] = tb_top.nas_top.c4.t5.inst_valid_fw2;
855 assign ev_pc38 = tb_top.nas_top.c4.t6.pc_fw2;
856 assign ev_ready[38] = tb_top.nas_top.c4.t6.inst_valid_fw2;
857 assign ev_pc39 = tb_top.nas_top.c4.t7.pc_fw2;
858 assign ev_ready[39] = tb_top.nas_top.c4.t7.inst_valid_fw2;
859`else
860 assign ev_pc32 = 0;
861 assign ev_ready[32] = 0;
862 assign ev_pc33 = 0;
863 assign ev_ready[33] = 0;
864 assign ev_pc34 = 0;
865 assign ev_ready[34] = 0;
866 assign ev_pc35 = 0;
867 assign ev_ready[35] = 0;
868 assign ev_pc36 = 0;
869 assign ev_ready[36] = 0;
870 assign ev_pc37 = 0;
871 assign ev_ready[37] = 0;
872 assign ev_pc38 = 0;
873 assign ev_ready[38] = 0;
874 assign ev_pc39 = 0;
875 assign ev_ready[39] = 0;
876`endif
877
878`ifdef CORE_5
879 assign ev_pc40 = tb_top.nas_top.c5.t0.pc_fw2;
880 assign ev_ready[40] = tb_top.nas_top.c5.t0.inst_valid_fw2;
881 assign ev_pc41 = tb_top.nas_top.c5.t1.pc_fw2;
882 assign ev_ready[41] = tb_top.nas_top.c5.t1.inst_valid_fw2;
883 assign ev_pc42 = tb_top.nas_top.c5.t2.pc_fw2;
884 assign ev_ready[42] = tb_top.nas_top.c5.t2.inst_valid_fw2;
885 assign ev_pc43 = tb_top.nas_top.c5.t3.pc_fw2;
886 assign ev_ready[43] = tb_top.nas_top.c5.t3.inst_valid_fw2;
887 assign ev_pc44 = tb_top.nas_top.c5.t4.pc_fw2;
888 assign ev_ready[44] = tb_top.nas_top.c5.t4.inst_valid_fw2;
889 assign ev_pc45 = tb_top.nas_top.c5.t5.pc_fw2;
890 assign ev_ready[45] = tb_top.nas_top.c5.t5.inst_valid_fw2;
891 assign ev_pc46 = tb_top.nas_top.c5.t6.pc_fw2;
892 assign ev_ready[46] = tb_top.nas_top.c5.t6.inst_valid_fw2;
893 assign ev_pc47 = tb_top.nas_top.c5.t7.pc_fw2;
894 assign ev_ready[47] = tb_top.nas_top.c5.t7.inst_valid_fw2;
895`else
896 assign ev_pc40 = 0;
897 assign ev_ready[40] = 0;
898 assign ev_pc41 = 0;
899 assign ev_ready[41] = 0;
900 assign ev_pc42 = 0;
901 assign ev_ready[42] = 0;
902 assign ev_pc43 = 0;
903 assign ev_ready[43] = 0;
904 assign ev_pc44 = 0;
905 assign ev_ready[44] = 0;
906 assign ev_pc45 = 0;
907 assign ev_ready[45] = 0;
908 assign ev_pc46 = 0;
909 assign ev_ready[46] = 0;
910 assign ev_pc47 = 0;
911 assign ev_ready[47] = 0;
912`endif
913
914`ifdef CORE_6
915 assign ev_pc48 = tb_top.nas_top.c6.t0.pc_fw2;
916 assign ev_ready[48] = tb_top.nas_top.c6.t0.inst_valid_fw2;
917 assign ev_pc49 = tb_top.nas_top.c6.t1.pc_fw2;
918 assign ev_ready[49] = tb_top.nas_top.c6.t1.inst_valid_fw2;
919 assign ev_pc50 = tb_top.nas_top.c6.t2.pc_fw2;
920 assign ev_ready[50] = tb_top.nas_top.c6.t2.inst_valid_fw2;
921 assign ev_pc51 = tb_top.nas_top.c6.t3.pc_fw2;
922 assign ev_ready[51] = tb_top.nas_top.c6.t3.inst_valid_fw2;
923 assign ev_pc52 = tb_top.nas_top.c6.t4.pc_fw2;
924 assign ev_ready[52] = tb_top.nas_top.c6.t4.inst_valid_fw2;
925 assign ev_pc53 = tb_top.nas_top.c6.t5.pc_fw2;
926 assign ev_ready[53] = tb_top.nas_top.c6.t5.inst_valid_fw2;
927 assign ev_pc54 = tb_top.nas_top.c6.t6.pc_fw2;
928 assign ev_ready[54] = tb_top.nas_top.c6.t6.inst_valid_fw2;
929 assign ev_pc55 = tb_top.nas_top.c6.t7.pc_fw2;
930 assign ev_ready[55] = tb_top.nas_top.c6.t7.inst_valid_fw2;
931`else
932 assign ev_pc48 = 0;
933 assign ev_ready[48] = 0;
934 assign ev_pc49 = 0;
935 assign ev_ready[49] = 0;
936 assign ev_pc50 = 0;
937 assign ev_ready[50] = 0;
938 assign ev_pc51 = 0;
939 assign ev_ready[51] = 0;
940 assign ev_pc52 = 0;
941 assign ev_ready[52] = 0;
942 assign ev_pc53 = 0;
943 assign ev_ready[53] = 0;
944 assign ev_pc54 = 0;
945 assign ev_ready[54] = 0;
946 assign ev_pc55 = 0;
947 assign ev_ready[55] = 0;
948`endif
949
950`ifdef CORE_7
951 assign ev_pc56 = tb_top.nas_top.c7.t0.pc_fw2;
952 assign ev_ready[56] = tb_top.nas_top.c7.t0.inst_valid_fw2;
953 assign ev_pc57 = tb_top.nas_top.c7.t1.pc_fw2;
954 assign ev_ready[57] = tb_top.nas_top.c7.t1.inst_valid_fw2;
955 assign ev_pc58 = tb_top.nas_top.c7.t2.pc_fw2;
956 assign ev_ready[58] = tb_top.nas_top.c7.t2.inst_valid_fw2;
957 assign ev_pc59 = tb_top.nas_top.c7.t3.pc_fw2;
958 assign ev_ready[59] = tb_top.nas_top.c7.t3.inst_valid_fw2;
959 assign ev_pc60 = tb_top.nas_top.c7.t4.pc_fw2;
960 assign ev_ready[60] = tb_top.nas_top.c7.t4.inst_valid_fw2;
961 assign ev_pc61 = tb_top.nas_top.c7.t5.pc_fw2;
962 assign ev_ready[61] = tb_top.nas_top.c7.t5.inst_valid_fw2;
963 assign ev_pc62 = tb_top.nas_top.c7.t6.pc_fw2;
964 assign ev_ready[62] = tb_top.nas_top.c7.t6.inst_valid_fw2;
965 assign ev_pc63 = tb_top.nas_top.c7.t7.pc_fw2;
966 assign ev_ready[63] = tb_top.nas_top.c7.t7.inst_valid_fw2;
967`else
968 assign ev_pc56 = 0;
969 assign ev_ready[56] = 0;
970 assign ev_pc57 = 0;
971 assign ev_ready[57] = 0;
972 assign ev_pc58 = 0;
973 assign ev_ready[58] = 0;
974 assign ev_pc59 = 0;
975 assign ev_ready[59] = 0;
976 assign ev_pc60 = 0;
977 assign ev_ready[60] = 0;
978 assign ev_pc61 = 0;
979 assign ev_ready[61] = 0;
980 assign ev_pc62 = 0;
981 assign ev_ready[62] = 0;
982 assign ev_pc63 = 0;
983 assign ev_ready[63] = 0;
984`endif
985
986
987`endif // GATESIM
988//--------------------------------------------------
989//--------------------------------------------------