Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / config / cmp.config
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: cmp.config
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#include "defaults.config"
36
37//
38// Keep consistant with other SPARC benches
39//
40//
41// See cmp_common.config !!! <---
42
43<cmp1>
44 -model=cmp1
45#include "cmp_common.config"
46 -fsdbfile=cmp1_top.fsdb
47// -vcs_run_args=+namevcdfile=cmp1_top.vcd
48 -config_rtl=CORE_0
49 -config_rtl=RTL_NO_SPC1
50 -config_rtl=RTL_NO_SPC2
51 -config_rtl=RTL_NO_SPC3
52 -config_rtl=RTL_NO_SPC4
53 -config_rtl=RTL_NO_SPC5
54 -config_rtl=RTL_NO_SPC6
55 -config_rtl=RTL_NO_SPC7
56 -config_rtl=CMP1
57 -diaglist_cpp_args=-DALL_THREADS=8
58
59 // these are in diaglist now so they get used.
60 -drm_freeram=1200
61 -drm_freeswap=1200
62
63 -max_cycle=2000000
64 -midas_args=-DALL_THREADS=0xff
65 -midas_args=-DMAX_THREADS=8
66 -rtl_timeout=3000
67 -sas_run_args=-DSP0
68 -sunv_args=-define=RTL_NO_SPC1
69 -sunv_args=-define=RTL_NO_SPC2
70 -sunv_args=-define=RTL_NO_SPC3
71 -sunv_args=-define=RTL_NO_SPC4
72 -sunv_args=-define=RTL_NO_SPC5
73 -sunv_args=-define=RTL_NO_SPC6
74 -sunv_args=-define=RTL_NO_SPC7
75 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive.list
76 -vcs_run_args=+ASI_CORE_AVILABLE=ff
77 -vcs_run_args=+ASI_CORE_ENABLE=ff
78 -vera_build_args=SYS_NAME=cmp1
79 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH"
80 // review later
81 //-vcs_run_args=+lsu_mon_off
82</cmp1>
83
84<cmp1l2x>
85 -model=cmp1l2x
86#include "cmp_common.config"
87 -fsdbfile=cmp1l2x_top.fsdb
88// -vcs_run_args=+namevcdfile=cmp1l2x_top.vcd
89 -config_rtl=CORE_0
90 -config_rtl=CMP1
91 -config_rtl=NOL2RTL
92 -diaglist_cpp_args=-DALL_THREADS=8
93 -drm_freeram=1200
94 -drm_freeswap=1200
95 -max_cycle=2000000
96 -midas_args=-DALL_THREADS=0xff
97 -midas_args=-DMAX_THREADS=8
98 -rtl_timeout=1000
99 -sas_run_args=-DSP0
100 -sunv_args=-define=RTL_NO_SPC1
101 -sunv_args=-define=RTL_NO_SPC2
102 -sunv_args=-define=RTL_NO_SPC3
103 -sunv_args=-define=RTL_NO_SPC4
104 -sunv_args=-define=RTL_NO_SPC5
105 -sunv_args=-define=RTL_NO_SPC6
106 -sunv_args=-define=RTL_NO_SPC7
107 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive_noL2.list
108 -vcs_build_args=+define+NOL2RTL
109 -vcs_run_args=+ASI_CORE_AVILABLE=ff
110 -vcs_run_args=+ASI_CORE_ENABLE=ff
111 -vcs_run_args=+enableMemBFM=ff
112 -vcs_run_args=+noL2rtl
113 -vera_build_args=SYS_NAME=cmp1l2x
114 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH -DNOL2RTL"
115
116 // review later
117 //-vcs_run_args=+lsu_mon_off
118</cmp1l2x>
119
120<cmp0l2x>
121 -model=cmp0l2x
122#include "cmp_common.config"
123 -fsdbfile=cmp0l2x_top.fsdb
124 -config_rtl=CMP0
125 -config_rtl=CMP0l2x
126 -vcs_build_args=+define+CMP0
127 -vcs_build_args=+define+CMP0l2x
128 -config_rtl=NOL2RTL
129 -diaglist_cpp_args=-DALL_THREADS=0
130 -drm_freeram=1000
131 -drm_freeswap=1000
132 -max_cycle=2000000
133// -midas_args=-DALL_THREADS=0x00
134// -midas_args=-DMAX_THREADS=0
135 -rtl_timeout=100000
136 -nosas
137 -sunv_args=-define=RTL_NO_SPC0
138 -sunv_args=-define=RTL_NO_SPC1
139 -sunv_args=-define=RTL_NO_SPC2
140 -sunv_args=-define=RTL_NO_SPC3
141 -sunv_args=-define=RTL_NO_SPC4
142 -sunv_args=-define=RTL_NO_SPC5
143 -sunv_args=-define=RTL_NO_SPC6
144 -sunv_args=-define=RTL_NO_SPC7
145 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive_noL2.list
146 -vcs_build_args=+define+NOL2RTL
147 -vcs_run_args=+ASI_CORE_AVILABLE=0
148 -vcs_run_args=+ASI_CORE_ENABLE=0
149 -vcs_run_args=+enableMemBFM=ff
150 -vcs_run_args=+enableSpcBFM=ff
151 -vcs_run_args=+noL2rtl
152 -vera_build_args=SYS_NAME=cmp0l2x
153 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH -DNOL2RTL -DCMP0 -DVERA_DIAGS"
154 -vcs_run_args=+notlb_sync
155 -vcs_run_args=+noldst_sync
156 -vcs_run_args=+noint_sync
157 -vcs_run_args=+noerr_sync
158 -vcs_run_args=+lsu_mon_off
159 -vcs_run_args=+err_chkrs_off
160</cmp0l2x>
161
162
163<cmp2>
164 -model=cmp2
165#include "cmp_common.config"
166 -fsdbfile=cmp2_top.fsdb
167// -vcs_run_args=+namevcdfile=cmp2_top.vcd
168 -config_rtl=CORE_0
169 -config_rtl=CORE_1
170 -config_rtl=CMP2
171 -diaglist_cpp_args=-DALL_THREADS=16
172 -drm_freeram=1400
173 -drm_freeswap=1400
174 -max_cycle=2500000
175 -midas_args=-DALL_THREADS=0xffff
176 -midas_args=-DMAX_THREADS=16
177 -rtl_timeout=10000
178 -sas_run_args=-DSP0
179 -sas_run_args=-DSP1
180 -sunv_args=-define=RTL_NO_SPC2
181 -sunv_args=-define=RTL_NO_SPC3
182 -sunv_args=-define=RTL_NO_SPC4
183 -sunv_args=-define=RTL_NO_SPC5
184 -sunv_args=-define=RTL_NO_SPC6
185 -sunv_args=-define=RTL_NO_SPC7
186 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive.list
187 -vcs_run_args=+ASI_CORE_AVILABLE=ffff
188 -vcs_run_args=+ASI_CORE_ENABLE=ffff
189 -vera_build_args=SYS_NAME=cmp2
190 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH"
191
192 // review later
193 //-vcs_run_args=+lsu_mon_off
194</cmp2>
195
196<cmp2l2x>
197 -model=cmp2l2x
198#include "cmp_common.config"
199 -fsdbfile=cmp2l2x_top.fsdb
200// -vcs_run_args=+namevcdfile=cmp2l2x_top.vcd
201 -config_rtl=CORE_0
202 -config_rtl=CORE_1
203 -config_rtl=CMP2
204 -config_rtl=NOL2RTL
205 -diaglist_cpp_args=-DALL_THREADS=16
206 -drm_freeram=1400
207 -drm_freeswap=1400
208 -max_cycle=2500000
209 -midas_args=-DALL_THREADS=0xffff
210 -midas_args=-DMAX_THREADS=16
211 -rtl_timeout=10000
212 -sas_run_args=-DSP0
213 -sas_run_args=-DSP1
214 -sunv_args=-define=RTL_NO_SPC2
215 -sunv_args=-define=RTL_NO_SPC3
216 -sunv_args=-define=RTL_NO_SPC4
217 -sunv_args=-define=RTL_NO_SPC5
218 -sunv_args=-define=RTL_NO_SPC6
219 -sunv_args=-define=RTL_NO_SPC7
220 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive_noL2.list
221 -vcs_build_args=+define+NOL2RTL
222 -vcs_run_args=+ASI_CORE_AVILABLE=ffff
223 -vcs_run_args=+ASI_CORE_ENABLE=ffff
224 -vcs_run_args=+enableMemBFM=ff
225 -vcs_run_args=+noL2rtl
226 -vera_build_args=SYS_NAME=cmp2l2x
227 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH -DNOL2RTL"
228
229 // review later
230 //-vcs_run_args=+lsu_mon_off
231</cmp2l2x>
232
233
234<cmp4>
235 -model=cmp4
236#include "cmp_common.config"
237 -fsdbfile=cmp4_top.fsdb
238// -vcs_run_args=+namevcdfile=cmp4_top.vcd
239 -config_rtl=CMP4
240 -config_rtl=CORE_0
241 -config_rtl=CORE_1
242 -config_rtl=CORE_2
243 -config_rtl=CORE_3
244 -diaglist_cpp_args=-DALL_THREADS=32
245 -drm_freeram=1700
246 -drm_freeswap=1700
247 -max_cycle=3000000
248 -midas_args=-DALL_THREADS=0xffffffff
249 -midas_args=-DMAX_THREADS=32
250 -rtl_timeout=15000
251 -sas_run_args=-DSP0
252 -sas_run_args=-DSP1
253 -sas_run_args=-DSP2
254 -sas_run_args=-DSP3
255 -sunv_args=-define=RTL_NO_SPC4
256 -sunv_args=-define=RTL_NO_SPC5
257 -sunv_args=-define=RTL_NO_SPC6
258 -sunv_args=-define=RTL_NO_SPC7
259 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive.list
260 -vcs_run_args=+ASI_CORE_AVILABLE=ffffffff
261 -vcs_run_args=+ASI_CORE_ENABLE=ffffffff
262 -vera_build_args=SYS_NAME=cmp4
263 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH"
264
265 // review later
266 //-vcs_run_args=+lsu_mon_off
267</cmp4>
268
269
270<cmp4l2x>
271 -model=cmp4l2x
272#include "cmp_common.config"
273 -fsdbfile=cmp4l2x_top.fsdb
274// -vcs_run_args=+namevcdfile=cmp4l2x_top.vcd
275 -config_rtl=CMP4
276 -config_rtl=CORE_0
277 -config_rtl=CORE_1
278 -config_rtl=CORE_2
279 -config_rtl=CORE_3
280 -config_rtl=NOL2RTL
281 -diaglist_cpp_args=-DALL_THREADS=32
282 -drm_freeram=1700
283 -drm_freeswap=1700
284 -max_cycle=3000000
285 -midas_args=-DALL_THREADS=0xffffffff
286 -midas_args=-DMAX_THREADS=32
287 -rtl_timeout=15000
288 -sas_run_args=-DSP0
289 -sas_run_args=-DSP1
290 -sas_run_args=-DSP2
291 -sas_run_args=-DSP3
292 -sunv_args=-define=RTL_NO_SPC4
293 -sunv_args=-define=RTL_NO_SPC5
294 -sunv_args=-define=RTL_NO_SPC6
295 -sunv_args=-define=RTL_NO_SPC7
296 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive_noL2.list
297 -vcs_build_args=+define+NOL2RTL
298 -vcs_run_args=+ASI_CORE_AVILABLE=ffffffff
299 -vcs_run_args=+ASI_CORE_ENABLE=ffffffff
300 -vcs_run_args=+enableMemBFM=ff
301 -vcs_run_args=+noL2rtl
302 -vera_build_args=SYS_NAME=cmp4l2x
303 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH -DNOL2RTL"
304
305 // review later
306 //-vcs_run_args=+lsu_mon_off
307</cmp4l2x>
308
309
310<cmp8>
311 -model=cmp8
312#include "cmp_common.config"
313 -fsdbfile=cmp8_top.fsdb
314// -vcs_run_args=+namevcdfile=cmp8_top.vcd
315 -config_rtl=CMP8
316 -config_rtl=CORE_0
317 -config_rtl=CORE_1
318 -config_rtl=CORE_2
319 -config_rtl=CORE_3
320 -config_rtl=CORE_4
321 -config_rtl=CORE_5
322 -config_rtl=CORE_6
323 -config_rtl=CORE_7
324 -diaglist_cpp_args=-DALL_THREADS=64
325 -drm_freeram=1800
326 -drm_freeswap=1800
327 -max_cycle=4200000
328 -midas_args=-DALL_THREADS=0xffffffffffffffff
329 -midas_args=-DMAX_THREADS=64
330 -rtl_timeout=17000
331 -sas_run_args=-DSP0
332 -sas_run_args=-DSP1
333 -sas_run_args=-DSP2
334 -sas_run_args=-DSP3
335 -sas_run_args=-DSP4
336 -sas_run_args=-DSP5
337 -sas_run_args=-DSP6
338 -sas_run_args=-DSP7
339 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive.list
340 -vcs_run_args=+ASI_CORE_AVILABLE=ffffffffffffffff
341 -vcs_run_args=+ASI_CORE_ENABLE=ffffffffffffffff
342 -vera_build_args=SYS_NAME=cmp8
343 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH"
344
345 // review later
346 //-vcs_run_args=+lsu_mon_off
347</cmp8>
348
349
350<cmp8l2x>
351 -model=cmp8l2x
352#include "cmp_common.config"
353 -fsdbfile=cmp8l2x_top.fsdb
354// -vcs_run_args=+namevcdfile=cmp8l2x_top.vcd
355 -config_rtl=CMP8
356 -config_rtl=CORE_0
357 -config_rtl=CORE_1
358 -config_rtl=CORE_2
359 -config_rtl=CORE_3
360 -config_rtl=CORE_4
361 -config_rtl=CORE_5
362 -config_rtl=CORE_6
363 -config_rtl=CORE_7
364 -config_rtl=NOL2RTL
365 -diaglist_cpp_args=-DALL_THREADS=64
366 -drm_freeram=1800
367 -drm_freeswap=1800
368 -max_cycle=4200000
369 -midas_args=-DALL_THREADS=0xffffffffffffffff
370 -midas_args=-DMAX_THREADS=64
371 -rtl_timeout=17000
372 -sas_run_args=-DSP0
373 -sas_run_args=-DSP1
374 -sas_run_args=-DSP2
375 -sas_run_args=-DSP3
376 -sas_run_args=-DSP4
377 -sas_run_args=-DSP5
378 -sas_run_args=-DSP6
379 -sas_run_args=-DSP7
380 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive_noL2.list
381 -vcs_build_args=+define+NOL2RTL
382 -vcs_run_args=+ASI_CORE_AVILABLE=ffffffffffffffff
383 -vcs_run_args=+ASI_CORE_ENABLE=ffffffffffffffff
384 -vcs_run_args=+enableMemBFM=ff
385 -vcs_run_args=+noL2rtl
386 -vera_build_args=SYS_NAME=cmp8l2x
387 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH -DNOL2RTL"
388
389 // review later
390 //-vcs_run_args=+lsu_mon_off
391</cmp8l2x>
392
393
394
395
396// partial bank
397
398<cmp1b03>
399 -model=cmp1b03
400#include "cmp_common.config"
401 -fsdbfile=cmp1b03_top.fsdb
402
403
404 // will be defined in vcs build
405 -config_rtl=CORE_0
406 -config_rtl=CMP1
407
408 -config_rtl=RTL_NO_BNK45
409 -config_rtl=RTL_NO_BNK67
410
411 -diaglist_cpp_args=-DALL_THREADS=8
412 -drm_freeram=1800
413 -drm_freeswap=1800
414 -max_cycle=2000000
415 -rtl_timeout=1000
416
417 // what exists for sas
418 -sas_run_args=-DSP0
419
420 // what does not exist for sunv
421 -sunv_args=-define=RTL_NO_SPC1
422 -sunv_args=-define=RTL_NO_SPC2
423 -sunv_args=-define=RTL_NO_SPC3
424 -sunv_args=-define=RTL_NO_SPC4
425 -sunv_args=-define=RTL_NO_SPC5
426 -sunv_args=-define=RTL_NO_SPC6
427 -sunv_args=-define=RTL_NO_SPC7
428 -sunv_args=-define=RTL_NO_BNK45
429 -sunv_args=-define=RTL_NO_BNK67
430
431 -sunv_nonprim_list=$DV_ROOT/verif/env/cmp/nonprimitive.list
432 -vcs_run_args=+ASI_CORE_AVILABLE=ff
433 -vcs_run_args=+ASI_CORE_ENABLE=ff
434
435 // will runtime force NCU wires pm and ba67|ba45|ba23|ba01
436 -vcs_run_args=+bank_set_mask=3
437
438 -vera_build_args=SYS_NAME=cmp1
439
440 // review later
441 //-vcs_run_args=+lsu_mon_off
442
443 // what does not exist for Vera build time
444 -vera_build_args=VERA_SYS_DEFS="-DCMP_BENCH -DRTL_NO_BNK45 -DRTL_NO_BNK67"
445
446</cmp1b03>