Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / common / vera / ccxDevices / ccxDevices.if.vrh
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: ccxDevices.if.vrh
4// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
5// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
6//
7// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8//
9// This program is free software; you can redistribute it and/or modify
10// it under the terms of the GNU General Public License as published by
11// the Free Software Foundation; version 2 of the License.
12//
13// This program is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16// GNU General Public License for more details.
17//
18// You should have received a copy of the GNU General Public License
19// along with this program; if not, write to the Free Software
20// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21//
22// For the avoidance of doubt, and except that if any non-GPL license
23// choice is available it will apply instead, Sun elects to use only
24// the General Public License version 2 (GPLv2) at this time for any
25// software where a choice of GPL license versions is made
26// available with the language indicating that GPLv2 or any later version
27// may be used, or where a choice of which version of the GPL is applied is
28// otherwise unspecified.
29//
30// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
31// CA 95054 USA or visit www.sun.com if you need additional information or
32// have any questions.
33//
34// ========== Copyright Header End ============================================
35#ifndef INC_CCXDEVICE_IF_VRH
36#define INC_CCXDEVICE_IF_VRH
37
38
39#include <vera_defines.vrh>
40
41
42// interface names MUST be unique to ALL var names in ALL vera code
43// for NTB. These interface names are global names. Adding '_if'
44// is a good idea!
45
46// core asserts atomic for cas pkts only
47// l2 asserts atomic for ifill responces only
48
49//----------------------------------------------------------
50interface ccxNCU_if {
51
52 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_ncu";
53
54 // CCX Interface Signals with NCU
55 // CPX
56 // req from ncu to ccx
57 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.ncu_cpx_req_cq";
58
59 // data from ncu to cpx
60 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.ncu_cpx_data_ca";
61
62 // fake atomic from ncu to cpx
63 // review
64 //input cpx_atmo NSAMPLE #-0 hdl_node "tb_top.cpu.ccx.pcx.pcx_arbl8.src8_arb_atom_q";
65 //arb8_dest_atom_unused";
66
67 // grant from cpx to ncu
68 input [7:0] cpx_gnt NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_ncu_grant_cx";
69
70 // PCX
71 // stall from ncu to pcx
72 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.ncu_pcx_stall_pq";
73
74 // rdy from pcx to ncu
75 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_ncu_data_rdy_px1";
76 // data from pcx to ncu
77 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_ncu_data_px2";
78
79}
80
81// repeat for 0-7
82
83
84#ifndef RTL_NO_BNK01
85interface ccxL20_if {
86
87 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_l2b0";
88
89
90 // CCX Interface Signals with L2
91 // CPX
92 // req from l2 to ccx
93 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag0_cpx_req_cq";
94 // data from l2 to cpx
95 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag0_cpx_data_ca";
96 // atomic from l2 to cpx
97 inout cpx_atmo NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag0_cpx_atom_cq";
98 // grant from cpx to l2
99 input [7:0] cpx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_sctag0_grant_cx";
100
101 // PCX
102 // stall from l2 to pcx
103 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.sctag0_pcx_stall_pq";
104 // rdy from pcx to l2
105 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag0_data_rdy_px1";
106 // atomic from pcx to l2
107 input pcx_atmi NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag0_atm_px1";
108 // data from pcx to l2
109 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag0_data_px2";
110}
111
112
113interface ccxL21_if {
114
115 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_l2b0";
116
117
118 // CCX Interface Signals with L2
119 // CPX
120 // req from l2 to ccx
121 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag1_cpx_req_cq";
122 // data from l2 to cpx
123 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag1_cpx_data_ca";
124 // atomic from l2 to cpx
125 inout cpx_atmo NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag1_cpx_atom_cq";
126 // grant from cpx to l2
127 input [7:0] cpx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_sctag1_grant_cx";
128
129 // PCX
130 // stall from l2 to pcx
131 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.sctag1_pcx_stall_pq";
132 // rdy from pcx to l2
133 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag1_data_rdy_px1";
134 // atomic from pcx to l2
135 input pcx_atmi NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag1_atm_px1";
136 // data from pcx to l2
137 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag1_data_px2";
138}
139#endif
140
141#ifndef RTL_NO_BNK23
142interface ccxL22_if {
143
144 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_l2b0";
145
146 // CCX Interface Signals with L2
147 // CPX
148 // req from l2 to ccx
149 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag2_cpx_req_cq";
150 // data from l2 to cpx
151 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag2_cpx_data_ca";
152 // atomic from l2 to cpx
153 inout cpx_atmo NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag2_cpx_atom_cq";
154 // grant from cpx to l2
155 input [7:0] cpx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_sctag2_grant_cx";
156
157 // PCX
158 // stall from l2 to pcx
159 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.sctag2_pcx_stall_pq";
160 // rdy from pcx to l2
161 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag2_data_rdy_px1";
162 // atomic from pcx to l2
163 input pcx_atmi NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag2_atm_px1";
164 // data from pcx to l2
165 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag2_data_px2";
166
167}
168
169
170interface ccxL23_if {
171
172 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_l2b0";
173
174 // CCX Interface Signals with L2
175 // CPX
176 // req from l2 to ccx
177 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag3_cpx_req_cq";
178 // data from l2 to cpx
179 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag3_cpx_data_ca";
180 // atomic from l2 to cpx
181 inout cpx_atmo NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag3_cpx_atom_cq";
182 // grant from cpx to l2
183 input [7:0] cpx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_sctag3_grant_cx";
184
185 // PCX
186 // stall from l2 to pcx
187 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.sctag3_pcx_stall_pq";
188 // rdy from pcx to l2
189 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag3_data_rdy_px1";
190 // atomic from pcx to l2
191 input pcx_atmi NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag3_atm_px1";
192 // data from pcx to l2
193 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag3_data_px2";
194}
195#endif
196
197#ifndef RTL_NO_BNK45
198interface ccxL24_if {
199
200 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_l2b0";
201
202 // CCX Interface Signals with L2
203 // CPX
204 // req from l2 to ccx
205 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag4_cpx_req_cq";
206 // data from l2 to cpx
207 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag4_cpx_data_ca";
208 // atomic from l2 to cpx
209 inout cpx_atmo NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag4_cpx_atom_cq";
210 // grant from cpx to l2
211 input [7:0] cpx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_sctag4_grant_cx";
212
213 // PCX
214 // stall from l2 to pcx
215 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.sctag4_pcx_stall_pq";
216 // rdy from pcx to l2
217 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag4_data_rdy_px1";
218 // atomic from pcx to l2
219 input pcx_atmi NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag4_atm_px1";
220 // data from pcx to l2
221 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag4_data_px2";
222}
223
224
225interface ccxL25_if {
226
227 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_l2b0";
228
229 // CCX Interface Signals with L2
230 // CPX
231 // req from l2 to ccx
232 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag5_cpx_req_cq";
233 // data from l2 to cpx
234 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag5_cpx_data_ca";
235 // atomic from l2 to cpx
236 inout cpx_atmo NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag5_cpx_atom_cq";
237 // grant from cpx to l2
238 input [7:0] cpx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_sctag5_grant_cx";
239
240 // PCX
241 // stall from l2 to pcx
242 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.sctag5_pcx_stall_pq";
243 // rdy from pcx to l2
244 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag5_data_rdy_px1";
245 // atomic from pcx to l2
246 input pcx_atmi NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag5_atm_px1";
247 // data from pcx to l2
248 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag5_data_px2";
249}
250#endif
251
252#ifndef RTL_NO_BNK67
253interface ccxL26_if {
254
255 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_l2b0";
256
257 // CCX Interface Signals with L2
258 // CPX
259 // req from l2 to ccx
260 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag6_cpx_req_cq";
261 // data from l2 to cpx
262 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag6_cpx_data_ca";
263 // atomic from l2 to cpx
264 inout cpx_atmo NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag6_cpx_atom_cq";
265 // grant from cpx to l2
266 input [7:0] cpx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_sctag6_grant_cx";
267
268 // PCX
269 // stall from l2 to pcx
270 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.sctag6_pcx_stall_pq";
271 // rdy from pcx to l2
272 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag6_data_rdy_px1";
273 // atomic from pcx to l2
274 input pcx_atmi NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag6_atm_px1";
275 // data from pcx to l2
276 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag6_data_px2";
277}
278
279
280interface ccxL27_if {
281
282 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_l2b0";
283
284 // CCX Interface Signals with L2
285 // CPX
286 // req from l2 to ccx
287 inout [7:0] cpx_req NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag7_cpx_req_cq";
288 // data from l2 to cpx
289 inout [145:0] cpx_datao NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag7_cpx_data_ca";
290 // atomic from l2 to cpx
291 inout cpx_atmo NSAMPLE NHOLD hdl_node "tb_top.cpu.sctag7_cpx_atom_cq";
292 // grant from cpx to l2
293 input [7:0] cpx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_sctag7_grant_cx";
294
295 // PCX
296 // stall from l2 to pcx
297 output pcx_stall NHOLD #0 hdl_node "tb_top.cpu.sctag7_pcx_stall_pq";
298 // rdy from pcx to l2
299 input pcx_rdy NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag7_data_rdy_px1";
300 // atomic from pcx to l2
301 input pcx_atmi NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag7_atm_px1";
302 // data from pcx to l2
303 input [129:0] pcx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_sctag7_data_px2";
304}
305#endif
306
307
308// repeat for 0-7
309interface ccxSPC0_if {
310 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_spc0";
311
312 // CCX Interface Signals with SPC
313 // PCX
314 // req from spc to ccx
315 inout [8:0] pcx_req BOTH_DIR hdl_node "tb_top.cpu.spc0_pcx_req_pq";
316 // data from spc to cpx
317 inout [129:0] pcx_datao BOTH_DIR hdl_node "tb_top.cpu.spc0_pcx_data_pa";
318 // atomic from spc to cpx
319 inout [8:0] pcx_atm BOTH_DIR hdl_node "tb_top.cpu.spc0_pcx_atm_pq";
320 // grant from pcx to spc
321 input [8:0] pcx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_spc0_grant_px";
322
323 // CPX
324 // stall from spc to pcx
325 // N/A inout cpx_stall BOTH_DIR hdl_node "always 0";
326 // rdy from cpx to spc
327 // N/A inout cpx_rdy BOTH_DIR hdl_node "none";
328 // atomic from cpx to spc
329 // N/A inout cpx_atm BOTH_DIR hdl_node "none";
330 // data from cpx to spc
331 input [145:0] cpx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_spc0_data_cx2";
332}
333
334interface ccxSPC1_if {
335 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_spc0";
336
337 // CCX Interface Signals with SPC
338 // PCX
339 // req from spc to ccx
340 inout [8:0] pcx_req BOTH_DIR hdl_node "tb_top.cpu.spc1_pcx_req_pq";
341 // data from spc to cpx
342 inout [129:0] pcx_datao BOTH_DIR hdl_node "tb_top.cpu.spc1_pcx_data_pa";
343 // atomic from spc to cpx
344 inout [8:0] pcx_atm BOTH_DIR hdl_node "tb_top.cpu.spc1_pcx_atm_pq";
345 // grant from pcx to spc
346 input [8:0] pcx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_spc1_grant_px";
347
348 // CPX
349 // stall from spc to pcx
350 // N/A inout cpx_stall BOTH_DIR hdl_node "always 0";
351 // rdy from cpx to spc
352 // N/A inout cpx_rdy BOTH_DIR hdl_node "none";
353 // atomic from cpx to spc
354 // N/A inout cpx_atm BOTH_DIR hdl_node "none";
355 // data from cpx to spc
356 input [145:0] cpx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_spc1_data_cx2";
357}
358
359interface ccxSPC2_if {
360 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_spc0";
361
362 // CCX Interface Signals with SPC
363 // PCX
364 // req from spc to ccx
365 inout [8:0] pcx_req BOTH_DIR hdl_node "tb_top.cpu.spc2_pcx_req_pq";
366 // data from spc to cpx
367 inout [129:0] pcx_datao BOTH_DIR hdl_node "tb_top.cpu.spc2_pcx_data_pa";
368 // atomic from spc to cpx
369 inout [8:0] pcx_atm BOTH_DIR hdl_node "tb_top.cpu.spc2_pcx_atm_pq";
370 // grant from pcx to spc
371 input [8:0] pcx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_spc2_grant_px";
372
373 // CPX
374 // stall from spc to pcx
375 // N/A inout cpx_stall BOTH_DIR hdl_node "always 0";
376 // rdy from cpx to spc
377 // N/A inout cpx_rdy BOTH_DIR hdl_node "none";
378 // atomic from cpx to spc
379 // N/A inout cpx_atm BOTH_DIR hdl_node "none";
380 // data from cpx to spc
381 input [145:0] cpx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_spc2_data_cx2";
382}
383
384interface ccxSPC3_if {
385 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_spc0";
386
387 // CCX Interface Signals with SPC
388 // PCX
389 // req from spc to ccx
390 inout [8:0] pcx_req BOTH_DIR hdl_node "tb_top.cpu.spc3_pcx_req_pq";
391 // data from spc to cpx
392 inout [129:0] pcx_datao BOTH_DIR hdl_node "tb_top.cpu.spc3_pcx_data_pa";
393 // atomic from spc to cpx
394 inout [8:0] pcx_atm BOTH_DIR hdl_node "tb_top.cpu.spc3_pcx_atm_pq";
395 // grant from pcx to spc
396 input [8:0] pcx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_spc3_grant_px";
397
398 // CPX
399 // stall from spc to pcx
400 // N/A inout cpx_stall BOTH_DIR hdl_node "always 0";
401 // rdy from cpx to spc
402 // N/A inout cpx_rdy BOTH_DIR hdl_node "none";
403 // atomic from cpx to spc
404 // N/A inout cpx_atm BOTH_DIR hdl_node "none";
405 // data from cpx to spc
406 input [145:0] cpx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_spc3_data_cx2";
407}
408
409interface ccxSPC4_if {
410 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_spc0";
411
412 // CCX Interface Signals with SPC
413 // PCX
414 // req from spc to ccx
415 inout [8:0] pcx_req BOTH_DIR hdl_node "tb_top.cpu.spc4_pcx_req_pq";
416 // data from spc to cpx
417 inout [129:0] pcx_datao BOTH_DIR hdl_node "tb_top.cpu.spc4_pcx_data_pa";
418 // atomic from spc to cpx
419 inout [8:0] pcx_atm BOTH_DIR hdl_node "tb_top.cpu.spc4_pcx_atm_pq";
420 // grant from pcx to spc
421 input [8:0] pcx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_spc4_grant_px";
422
423 // CPX
424 // stall from spc to pcx
425 // N/A inout cpx_stall BOTH_DIR hdl_node "always 0";
426 // rdy from cpx to spc
427 // N/A inout cpx_rdy BOTH_DIR hdl_node "none";
428 // atomic from cpx to spc
429 // N/A inout cpx_atm BOTH_DIR hdl_node "none";
430 // data from cpx to spc
431 input [145:0] cpx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_spc4_data_cx2";
432}
433
434interface ccxSPC5_if {
435 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_spc0";
436
437 // CCX Interface Signals with SPC
438 // PCX
439 // req from spc to ccx
440 inout [8:0] pcx_req BOTH_DIR hdl_node "tb_top.cpu.spc5_pcx_req_pq";
441 // data from spc to cpx
442 inout [129:0] pcx_datao BOTH_DIR hdl_node "tb_top.cpu.spc5_pcx_data_pa";
443 // atomic from spc to cpx
444 inout [8:0] pcx_atm BOTH_DIR hdl_node "tb_top.cpu.spc5_pcx_atm_pq";
445 // grant from pcx to spc
446 input [8:0] pcx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_spc5_grant_px";
447
448 // CPX
449 // stall from spc to pcx
450 // N/A inout cpx_stall BOTH_DIR hdl_node "always 0";
451 // rdy from cpx to spc
452 // N/A inout cpx_rdy BOTH_DIR hdl_node "none";
453 // atomic from cpx to spc
454 // N/A inout cpx_atm BOTH_DIR hdl_node "none";
455 // data from cpx to spc
456 input [145:0] cpx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_spc5_data_cx2";
457}
458
459interface ccxSPC6_if {
460 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_spc0";
461
462 // CCX Interface Signals with SPC
463 // PCX
464 // req from spc to ccx
465 inout [8:0] pcx_req BOTH_DIR hdl_node "tb_top.cpu.spc6_pcx_req_pq";
466 // data from spc to cpx
467 inout [129:0] pcx_datao BOTH_DIR hdl_node "tb_top.cpu.spc6_pcx_data_pa";
468 // atomic from spc to cpx
469 inout [8:0] pcx_atm BOTH_DIR hdl_node "tb_top.cpu.spc6_pcx_atm_pq";
470 // grant from pcx to spc
471 input [8:0] pcx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_spc6_grant_px";
472
473 // CPX
474 // stall from spc to pcx
475 // N/A inout cpx_stall BOTH_DIR hdl_node "always 0";
476 // rdy from cpx to spc
477 // N/A inout cpx_rdy BOTH_DIR hdl_node "none";
478 // atomic from cpx to spc
479 // N/A inout cpx_atm BOTH_DIR hdl_node "none";
480 // data from cpx to spc
481 input [145:0] cpx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_spc6_data_cx2";
482}
483
484interface ccxSPC7_if {
485 input clk CLOCK hdl_node "tb_top.cpu.cmp_gclk_c3_spc0";
486
487 // CCX Interface Signals with SPC
488 // PCX
489 // req from spc to ccx
490 inout [8:0] pcx_req BOTH_DIR hdl_node "tb_top.cpu.spc7_pcx_req_pq";
491 // data from spc to cpx
492 inout [129:0] pcx_datao BOTH_DIR hdl_node "tb_top.cpu.spc7_pcx_data_pa";
493 // atomic from spc to cpx
494 inout [8:0] pcx_atm BOTH_DIR hdl_node "tb_top.cpu.spc7_pcx_atm_pq";
495 // grant from pcx to spc
496 input [8:0] pcx_grant NSAMPLE #-0 hdl_node "tb_top.cpu.pcx_spc7_grant_px";
497
498 // CPX
499 // stall from spc to pcx
500 // N/A inout cpx_stall BOTH_DIR hdl_node "always 0";
501 // rdy from cpx to spc
502 // N/A inout cpx_rdy BOTH_DIR hdl_node "none";
503 // atomic from cpx to spc
504 // N/A inout cpx_atm BOTH_DIR hdl_node "none";
505 // data from cpx to spc
506 input [145:0] cpx_datai NSAMPLE #-0 hdl_node "tb_top.cpu.cpx_spc7_data_cx2";
507}
508
509#endif