Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / diag / diaglists / mmu / mmu_core.diaglist
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: mmu_core.diaglist
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<sys(mmu_core) name=sys(mmu_core)>
36<sys(all)>
37<sys(all_T2)>
38<sys(nightly)>
39
40#if (!defined FC)
41<runargs -sas -vcs_run_args=+thread=01>
42#endif
43
44#if (defined FC)
45<runargs -sas -midas_args=-DCMP_THREAD_START=0x01 -finish_mask=1 >
46#endif
47
48 mmu_st_unsupport_psize mmu_st_unsupport_psize.s
49 mmu_st_h2p mmu_st_h2p.s
50#ifdef SPC
51 mmu_st_tsb_va_hole mmu_st_tsb_va_hole.s -midas_args=-DCUSTOM_TRAP_0X9
52 mmu_st_tsb_va_hole_1 mmu_st_tsb_va_hole_1.s -midas_args=-DCUSTOM_TRAP_0X9
53#endif
54 mmu_st_ext_ra mmu_st_ext_ra.s
55 mmu_use_bit_test mmu_tag_read_use_bit_test.s
56 mmu_st_hwtw_enable mmu_st_hwtw_enable.s
57</runargs>
58
59#if (!defined FC)
60<runargs -sas -vcs_run_args=+thread=all>
61#endif
62
63#if (defined FC)
64<runargs -sas -midas_args=-DCMP_THREAD_START=all -finish_mask=all >
65#endif
66
67 mmu_mt_ranotpa_0 mmu_mt_ranotpa_0.s
68 mmu_mt_no_hboot_hwtw_0 mmu_mt_no_hboot_hwtw_0.s
69 mmu_mt_no_hboot_hwtw_0a mmu_mt_no_hboot_hwtw_0.s -midas_args=-DNOHWTW
70 mmu_mt_ep_0 mmu_mt_ep_0.s
71 mmu_mt_psize_1 mmu_mt_psize_1.s
72 mmu_mt_realrange_0 mmu_mt_realrange_0.s
73 mmu_mt_realrange_1 mmu_mt_realrange_1.s
74 mmu_mt_hwtw_demap mmu_mt_hwtw_demap.s
75 mmu_mt_tsb_ptr_0 mmu_mt_tsb_ptr_0.s
76 mmu_mt_tsb_ptr_1 mmu_mt_tsb_ptr_1.s
77#if (!defined FC)
78 mmu_mt_htba mmu_mt_htba.s -vcs_run_args=+thread=ff
79#endif
80#if (defined FC)
81 mmu_mt_htba mmu_mt_htba.s -midas_args=-DCMP_THREAD_START=ff -finish_mask=all
82#endif
83 mmu_mt_real_0 mmu_mt_real_0.s
84 mmu_mt_real_1 mmu_mt_real_1.s
85 mmu_mt_bypass_use_ctx_0 mmu_mt_bypass_use_ctx_0.s
86 mmu_mt_write_tsb_0 mmu_mt_write_tsb_0.s
87 mmu_mt_rr_0 mmu_mt_rr_0.s
88 mmu_mt_demap_page mmu_mt_demap_page.s
89 mmu_mt_demap_page_1 mmu_mt_demap_page_1.s
90
91</runargs>
92
93#ifdef SPC
94
95<runargs -sas -vcs_run_args=+thread=07 -vcs_run_args=+err_chkrs_off>
96 mmu_mt_mhit_0 mmu_mt_mhit_0.s -vcs_run_args=+err_sync_on
97</runargs>
98
99<runargs -sas -vcs_run_args=+thread=13>
100 mmu_mt_mhit_1 mmu_mt_mhit_1.s -vcs_run_args=+err_sync_on
101</runargs>
102
103<runargs -sas -vcs_run_args=+thread=21 -vcs_run_args=+err_chkrs_off>
104 mmu_st_mhit_2 mmu_st_mhit_2.s -vcs_run_args=+err_sync_on
105</runargs>
106
107#endif
108
109#if (!defined FC)
110<runargs -sas -vcs_run_args=+thread=03>
111#endif
112#if (defined FC)
113<runargs -sas -midas_args=-DCMP_THREAD_START=0x03 -finish_mask=3 >
114#endif
115
116 mmu_mt_use_ctx0 mmu_mt_use_ctx0.s
117 mmu_mt_use_ctx1 mmu_mt_use_ctx1.s
118 mmu_mt_rtrans_0 mmu_mt_rtrans_0.s
119
120</runargs>
121
122#if (!defined FC)
123<runargs -sas -vcs_run_args=+thread=1f>
124#endif
125#if (defined FC)
126<runargs -sas -midas_args=-DCMP_THREAD_START=0x1f -finish_mask=1f >
127#endif
128
129 mmu_mt_asi_cp mmu_mt_asi_cp.s
130
131</runargs>
132
133
134#if (!defined FC)
135<runargs -sas -vcs_run_args=+thread=01 -midas_args=-DTSB_SEARCH_BURST>
136#endif
137#if (defined FC)
138<runargs -sas -midas_args=-DCMP_THREAD_START=0x01 -midas_args=-DTSB_SEARCH_BURST -finish_mask=1 >
139#endif
140
141 mmu_st_unsupport_psize_burst mmu_st_unsupport_psize.s
142 mmu_st_h2p_burst mmu_st_h2p.s
143#ifdef SPC
144 mmu_st_tsb_va_hole_burst mmu_st_tsb_va_hole.s -midas_args=-DCUSTOM_TRAP_0X9
145 mmu_st_tsb_va_hole_1_burst mmu_st_tsb_va_hole_1.s -midas_args=-DCUSTOM_TRAP_0X9
146 mmu_st_ext_ra_burst mmu_st_ext_ra.s
147#endif
148
149</runargs>
150
151#if (!defined FC)
152<runargs -sas -vcs_run_args=+thread=all -midas_args=-DTSB_SEARCH_BURST>
153#endif
154#if (defined FC)
155<runargs -sas -midas_args=-DCMP_THREAD_START=all -midas_args=-DTSB_SEARCH_BURST -finish_mask=all >
156#endif
157
158 mmu_mt_ranotpa_0_burst mmu_mt_ranotpa_0.s
159 mmu_mt_no_hboot_hwtw_0_burst mmu_mt_no_hboot_hwtw_0.s
160 mmu_mt_no_hboot_hwtw_0a_burst mmu_mt_no_hboot_hwtw_0.s -midas_args=-DNOHWTW
161 mmu_mt_ep_0_burst mmu_mt_ep_0.s
162 mmu_mt_psize_1_burst mmu_mt_psize_1.s
163 mmu_mt_realrange_0_burst mmu_mt_realrange_0.s
164 mmu_mt_realrange_1_burst mmu_mt_realrange_1.s
165 mmu_mt_hwtw_demap_burst mmu_mt_hwtw_demap.s
166 mmu_mt_tsb_ptr_0_burst mmu_mt_tsb_ptr_0.s
167 mmu_mt_tsb_ptr_1_burst mmu_mt_tsb_ptr_1.s
168
169#if (!defined FC)
170 mmu_mt_htba_burst mmu_mt_htba.s -vcs_run_args=+thread=ff
171#endif
172#if (defined FC)
173 mmu_mt_htba_burst mmu_mt_htba.s -midas_args=-DCMP_THREAD_START=0xff -finish_mask=ff
174#endif
175
176 mmu_mt_real_0_burst mmu_mt_real_0.s
177 mmu_mt_real_1_burst mmu_mt_real_1.s
178 mmu_mt_bypass_use_ctx_0_burst mmu_mt_bypass_use_ctx_0.s
179 mmu_mt_write_tsb_0_burst mmu_mt_write_tsb_0.s
180 mmu_mt_rr_0_burst mmu_mt_rr_0.s
181 mmu_mt_demap_page_burst mmu_mt_demap_page.s
182 mmu_mt_demap_page_1_burst mmu_mt_demap_page_1.s
183
184</runargs>
185
186#ifdef SPC
187
188<runargs -sas -vcs_run_args=+thread=07 -midas_args=-DTSB_SEARCH_BURST -vcs_run_args=+err_chkrs_off>
189 mmu_mt_mhit_0_burst mmu_mt_mhit_0.s -vcs_run_args=+err_sync_on
190</runargs>
191
192#if (!defined FC)
193<runargs -sas -vcs_run_args=+thread=13 -midas_args=-DTSB_SEARCH_BURST>
194#endif
195#if (defined FC)
196<runargs -sas -midas_args=-DCMP_THREAD_START=0x13 -midas_args=-DTSB_SEARCH_BURST -finish_mask=13 >
197#endif
198 mmu_mt_mhit_1_burst mmu_mt_mhit_1.s -vcs_run_args=+err_sync_on
199</runargs>
200
201#endif
202
203#if (!defined FC)
204<runargs -sas -vcs_run_args=+thread=03 -midas_args=-DTSB_SEARCH_BURST>
205#endif
206#if (defined FC)
207<runargs -sas -midas_args=-DCMP_THREAD_START=0x03 -midas_args=-DTSB_SEARCH_BURST -finish_mask=3 >
208#endif
209
210 mmu_mt_use_ctx0_burst mmu_mt_use_ctx0.s
211 mmu_mt_use_ctx1_burst mmu_mt_use_ctx1.s
212 mmu_mt_rtrans_0_burst mmu_mt_rtrans_0.s
213
214</runargs>
215
216#if (!defined FC)
217<runargs -sas -vcs_run_args=+thread=1f -midas_args=-DTSB_SEARCH_BURST>
218#endif
219#if (defined FC)
220<runargs -sas -midas_args=-DCMP_THREAD_START=0x1f -midas_args=-DTSB_SEARCH_BURST -finish_mask=1f >
221#endif
222
223 mmu_mt_asi_cp_burst mmu_mt_asi_cp.s
224
225</runargs>
226
227
228#if (!defined FC)
229<runargs -sas -vcs_run_args=+thread=01 -midas_args=-DTSB_SEARCH_PREDICTION>
230#endif
231#if (defined FC)
232<runargs -sas -midas_args=-DCMP_THREAD_START=0x01 -midas_args=-DTSB_SEARCH_PREDICTION -finish_mask=1 >
233#endif
234
235 mmu_st_unsupport_psize_prediction mmu_st_unsupport_psize.s
236 mmu_st_h2p_prediction mmu_st_h2p.s
237#ifdef SPC
238 mmu_st_tsb_va_hole_prediction mmu_st_tsb_va_hole.s -midas_args=-DCUSTOM_TRAP_0X9
239 mmu_st_tsb_va_hole_1_prediction mmu_st_tsb_va_hole_1.s -midas_args=-DCUSTOM_TRAP_0X9
240 mmu_st_ext_ra_prediction mmu_st_ext_ra.s
241#endif
242
243</runargs>
244
245#if (!defined FC)
246<runargs -sas -vcs_run_args=+thread=all -midas_args=-DTSB_SEARCH_PREDICTION>
247#endif
248#if (defined FC)
249<runargs -sas -midas_args=-DCMP_THREAD_START=all -midas_args=-DTSB_SEARCH_PREDICTION -finish_mask=all >
250#endif
251
252 mmu_mt_ranotpa_0_prediction mmu_mt_ranotpa_0.s
253 mmu_mt_no_hboot_hwtw_0_prediction mmu_mt_no_hboot_hwtw_0.s
254 mmu_mt_no_hboot_hwtw_0a_prediction mmu_mt_no_hboot_hwtw_0.s -midas_args=-DNOHWTW
255 mmu_mt_ep_0_prediction mmu_mt_ep_0.s
256 mmu_mt_psize_1_prediction mmu_mt_psize_1.s
257 mmu_mt_realrange_0_prediction mmu_mt_realrange_0.s
258 mmu_mt_realrange_1_prediction mmu_mt_realrange_1.s
259 mmu_mt_hwtw_demap_prediction mmu_mt_hwtw_demap.s
260 mmu_mt_tsb_ptr_0_prediction mmu_mt_tsb_ptr_0.s
261 mmu_mt_tsb_ptr_1_prediction mmu_mt_tsb_ptr_1.s
262#if (!defined FC)
263 mmu_mt_htba_prediction mmu_mt_htba.s -vcs_run_args=+thread=ff
264#endif
265#if (defined FC)
266 mmu_mt_htba_prediction mmu_mt_htba.s -midas_args=-DCMP_THREAD_START=0xff -finish_mask=ff
267#endif
268 mmu_mt_real_0_prediction mmu_mt_real_0.s
269// mmu_mt_real_1_prediction mmu_mt_real_1.s
270 mmu_mt_bypass_use_ctx_0_prediction mmu_mt_bypass_use_ctx_0.s
271 mmu_mt_write_tsb_0_prediction mmu_mt_write_tsb_0.s
272 mmu_mt_rr_0_prediction mmu_mt_rr_0.s
273 mmu_mt_demap_page_prediction mmu_mt_demap_page.s
274 mmu_mt_demap_page_1_prediction mmu_mt_demap_page_1.s
275
276</runargs>
277
278#ifdef SPC
279
280#if (!defined FC)
281<runargs -sas -vcs_run_args=+thread=07 -midas_args=-DTSB_SEARCH_PREDICTION -vcs_run_args=+err_chkrs_off>
282#endif
283#if (defined FC)
284<runargs -sas -midas_args=-DCMP_THREAD_START=0x07 -midas_args=-DTSB_SEARCH_PREDICTION -vcs_run_args=+err_chkrs_off -finish_mask=7 >
285#endif
286
287 mmu_mt_mhit_0_prediction mmu_mt_mhit_0.s -vcs_run_args=+err_sync_on
288</runargs>
289
290#if (!defined FC)
291<runargs -sas -vcs_run_args=+thread=13 -midas_args=-DTSB_SEARCH_PREDICTION>
292#endif
293#if (defined FC)
294<runargs -sas -midas_args=-DCMP_THREAD_START=0x13 -midas_args=-DTSB_SEARCH_PREDICTION -finish_mask=13 >
295#endif
296
297 mmu_mt_mhit_1_prediction mmu_mt_mhit_1.s -vcs_run_args=+err_sync_on
298</runargs>
299
300#endif
301
302#if (!defined FC)
303<runargs -sas -vcs_run_args=+thread=03 -midas_args=-DTSB_SEARCH_PREDICTION>
304#endif
305#if (defined FC)
306<runargs -sas -midas_args=-DCMP_THREAD_START=0x03 -midas_args=-DTSB_SEARCH_PREDICTION -finish_mask=3 >
307#endif
308
309 mmu_mt_use_ctx0_prediction mmu_mt_use_ctx0.s
310 mmu_mt_use_ctx1_prediction mmu_mt_use_ctx1.s
311 mmu_mt_rtrans_0_prediction mmu_mt_rtrans_0.s
312
313</runargs>
314
315#if (!defined FC)
316<runargs -sas -vcs_run_args=+thread=1f -midas_args=-DTSB_SEARCH_PREDICTION>
317#endif
318#if (defined FC)
319<runargs -sas -midas_args=-DCMP_THREAD_START=0x1f -midas_args=-DTSB_SEARCH_PREDICTION -finish_mask=1f >
320#endif
321
322 mmu_mt_asi_cp_prediction mmu_mt_asi_cp.s
323
324</runargs>
325
326#ifdef SPC
327
328<runargs -vcs_run_args=+err_sync_on -midas_args=-DNOERRCHK -vcs_run_args=+err_chkrs_off>
329 err_sca_diag err_sca_diag.s
330 err_scau_diag err_scau_diag.s
331 err_mra_diag err_mra_diag.s
332</runargs>
333
334#endif
335
336</sys(nightly)>
337
338#if (!defined FC)
339<runargs -sas -vcs_run_args=+thread=all -midas_args=-DTSB_SEARCH_PREDICTION>
340#endif
341#if (defined FC)
342<runargs -sas -midas_args=-DCMP_THREAD_START=all -midas_args=-DTSB_SEARCH_PREDICTION -finish_mask=all >
343#endif
344
345 mmu_mt_real_1_prediction mmu_mt_real_1.s
346</runargs>
347
348</sys(all_T2)>
349</sys(all)>
350</sys(mmu_core)>
351
352
353#ifdef SPC
354<sys(random_mmu) name=sys(random_mmu)>
355<sys(all)>
356<sys(nightly)>
357
358#if (!defined FC)
359<runargs -vcs_run_args=+thread=all -vcs_run_args=+th_timeout=20000 -tg_seed=1 -midas_args=-ld_args=-N -midas_args=-allow_tsb_conflicts -vcs_run_args=+err_sync_on -drm_freeram=2000>
360#endif
361#if (defined FC)
362<runargs -midas_args=-DCMP_THREAD_START=all -vcs_run_args=+th_timeout=20000 -tg_seed=1 -midas_args=-ld_args=-N -midas_args=-allow_tsb_conflicts -vcs_run_args=+err_sync_on -finish_mask=all -drm_freeram=4000 -drm_freeswap=2000>
363#endif
364
365 mmu_random_1 mmu_random_1.s
366 mmu_random_3 mmu_random_3.s
367 mmu_random_4 mmu_random_4.s
368 mmu_random_5 mmu_random_5.s
369 mmu_random_6 mmu_random_6.s
370 mmu_random_7 mmu_random_7.s
371 mmu_random_8 mmu_random_8.s
372 mmu_random_12 mmu_random_12.s
373 mmu_random_14 mmu_random_14.s
374 mmu_random_15 mmu_random_15.s
375 mmu_random_16 mmu_random_16.s
376 mmu_random_17 mmu_random_17.s
377 mmu_random_19 mmu_random_19.s
378 writeMraErrs writeMraWithErrs.s
379</runargs>
380
381#if (!defined FC)
382<runargs -midas_args=-DMMU247 -vcs_run_args=+thread=all -midas_args=-DENABLE_ITTM_DTTM>
383#endif
384#if (defined FC)
385<runargs -midas_args=-DMMU247 -midas_args=-DCMP_THREAD_START=all -midas_args=-DENABLE_ITTM_DTTM -finish_mask=all >
386#endif
387
388 mmu_random_0 mmu_random_0.s
389 mmu_random_9 mmu_random_9.s
390 mmu_random_10 mmu_random_10.s
391 mmu_random_11 mmu_random_11.s
392 mmu_random_13 mmu_random_13.s
393 mmu_random_18 mmu_random_18.s
394</runargs>
395
396</sys(nightly)>
397</sys(all)>
398</sys(random_mmu)>
399
400#endif
401
402<sys(mmu_tlb_sync) name=sys(mmu_tlb_sync)>
403 mmu_tag_read_use_bit_test mmu_tag_read_use_bit_test.s
404 mmu_read_data_access mmu_read_data_access.s
405 mmu_itlb_probe_test mmu_itlb_probe_test.s
406</sys(mmu_tlb_sync)>
407
408
409<sys(mmu_cmp_test) name=sys(mmu_cmp_test)>
410
411#if (!defined FC)
412<runargs -midas_args=-DMMU247 -vcs_run_args=+thread=all -midas_args=-DENABLE_ITTM_DTTM -midas_args=-DPORTABLE_CORE>
413#endif
414#if (defined FC)
415<runargs -midas_args=-DMMU247 -midas_args=-DCMP_THREAD_START=all -midas_args=-DENABLE_ITTM_DTTM -midas_args=-DPORTABLE_CORE -finish_mask=all >
416#endif
417
418 mmu_cmp_test_0 mmu_cmp_test_0.s
419 mmu_cmp_test_1 mmu_cmp_test_1.s
420 mmu_cmp_test_2 mmu_cmp_test_2.s
421 mmu_cmp_test_3 mmu_cmp_test_3.s
422 mmu_cmp_test_4 mmu_cmp_test_4.s
423</runargs>
424</sys(mmu_cmp_test)>