Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / config / l2.config
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: l2.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//#define LIBFILE1 LAVA_LIB_PATH/cl_dp1/compiled/cl_dp1.v
37//#define LIBFILE2 LAVA_LIB_PATH/cl_u1/compiled/cl_u1.v
38//#define LIBFILE3 LAVA_LIB_PATH/cl_sc1/compiled/cl_sc1.v
39//#define SUNVLIB SUNV_PATH/library/cl_rtl_ext.v
40//#define SUNVLIB $DV_ROOT/verif/env/l2sat/hack/cl_rtl_ext.v
41//#define SUNVMACROS SUNV_PATH/macros
42//#define SUNVPERLINC SUNV_PATH/include
43
44<l2>
45 #ifdef AXIS_BUILD
46 -config_rtl=AXIS
47 -axis_build_args="-scope n2_ccm"
48 -sunv_args=-keepSectionSym=AXIS_SMEM
49 -sunv_args=-keepSectionSym=EMUL_COSIM
50 -vcs_build_args=-P $VERA_HOME/lib/vera_pli.tab
51 -vcs_build_args=$VERA_HOME/lib/libSysSciTask.a
52 -vcs_build_args=-pl -lsocket -pl -lnsl -pl -lintl -pl -ldl
53 -vcs_build_args=+v2000
54 ////////////////////////-vcs_build_args=+define+AXIS_BUILD
55 #endif
56 -asm_diag_root=$DV_ROOT/verif/diag
57 -vera_diag_root=$DV_ROOT/verif/diag
58 -vera_config_root=$DV_ROOT/verif
59 -image_diag_root=$DV_ROOT/verif
60 -wait_cycle_to_kill=10
61 -post_process_cmd="regreport -1 > status.log"
62 -model=l2
63 -vera_vcon_file=mss_top.vcon
64 -env_base=$DV_ROOT/verif/env/l2sat
65 -config_rtl=L2
66 -flist=$DV_ROOT/verif/env/l2sat/l2sat.flist
67 -drm_disk=[/export/home/bw=30]
68 -drm_type=vcs
69 -drm_freeram=500
70 -drm_freeprocessor=1.0
71 -sunv_args=-topcell=cpu
72 SUNVFORCEOPTS
73 -sunv_args=-define=SIM
74 -sunv_args=-define=LIB
75#ifdef SCAN_FLUSH_RESET
76 -sunv_args=-define=SCAN_MODE
77#endif
78 -sunv_args=-define=INITLATZERO
79 -sunv_args=-showCompiledOutCode=off
80 -sunv_args=-define=NOL2RTL
81 -sunv_use_nonprim
82 -sunv_nonprim_list=$DV_ROOT/verif/env/l2sat/nonprimitive.list
83 -sunv_args=-excludepreload
84 -sunv_args=-out=cpu.v
85 -sunv_args=-path=$DV_ROOT/libs/tisram/soc/n2_l2d_sp_512kb_cust_l/n2_l2d_sp_512kb_cust/rtl
86 -sunv_args=-path=SUNV_RTL_PATH
87 //-sunv_args=-preload=LIBFILE1
88 //-sunv_args=-preload=LIBFILE2
89 //-sunv_args=-preload=LIBFILE3
90 //-sunv_args=-preload=LIBFILE4
91 //-sunv_args=-preload=LIBFILE5
92 //-sunv_args=-preload=SUNVLIB
93 -sunv_args=-preload=SUNVLIBS_SUNV
94 -sunv_args=-perlinclude=SUNVPERLINC
95 //-sunv_args=-verbose
96 -vlint_top=l2
97 -vlint_args=+define+TOP=l2
98 -vlint_args=-turn_unspecified_off
99 -vlint_args=-binary
100 -vlint_args=-vlint
101 -vlint_args=-depth 999
102 -vlint_args=-vr $DV_ROOT/verif/env/config/vlint.rc
103 -vlint_args=-turn_unspecified_off
104 -vlint_args=-preload=SUNVLIBS_OTHER
105 //-vlint_args=-v LIBFILE1
106 // -vlint_args=-v LIBFILE2
107 //-vlint_args=-v LIBFILE3
108 //-vlint_args=-v LIBFILE4
109 //-vlint_args=-v LIBFILE5
110 //-vlint_args=-v SUNVLIB
111 -illust_run
112 -illust_args=-b -c $DV_ROOT/verif/env/config/filter_vlint.rc
113#ifdef AXIS_BUILD
114 -zeroIn_build_args=-sim axis
115#else
116 -zeroIn_build_args=-sim vcs
117#endif
118
119 -zeroIn_build_args=-d cpu
120 -zeroIn_build_args=-ctrl $DV_ROOT/verif/env/l2sat/l2_zeroIn_cfg.v
121 -zeroIn_build_args=-ctrl $DV_ROOT/verif/env/common/verilog/checkers/0in_checkers.v
122 -zeroIn_build_args=SUNVLIBS_OTHER
123 //-zeroIn_build_args=-v LIBFILE1
124 //-zeroIn_build_args=-v LIBFILE2
125 //-zeroIn_build_args=-v LIBFILE3
126 //-zeroIn_build_args=-v LIBFILE4
127 //-zeroIn_build_args=-v LIBFILE5
128 //-zeroIn_build_args=-v SUNVLIB
129// -zeroIn_build_args=+define+LIB+INITLATZERO
130#ifdef SCAN_FLUSH_RESET
131 -zeroIn_build_args=+define+LIB+SCAN_MODE
132#endif
133 -zeroIn_build_args=+define+LIB+INITLATZERO
134 -zeroIn_build_args=-exit_on_directive_errors
135 -zeroIn_build_args=-fastmod
136 -zeroIn_build_args="-fastsim turbo"
137 -zeroIn_build_args=+error+command-19
138 -zeroIn_build_args=+error+command-46
139 -zeroIn_build_args=+error+command-6
140 -zeroIn_build_args=+error+command-7
141 -zeroIn_build_args=+skip_modules+spc
142 -zeroIn_build_args=+nowarn+directive-23
143 -zeroIn_build_args=-rcd
144 -vcs_build_args="-P $DV_ROOT/verif/env/common/pli/monitor/monitor_pli.tab"
145 -vcs_build_args=$DV_ROOT/verif/env/common/pli/monitor/libmonitor_pli.a
146
147#ifndef AXIS_BUILD
148 VCS_BUILD_WITH_GPP
149 -vcs_build_args=+vc
150 -vcs_build_args="-v $DV_ROOT/verif/env/l2sat/error_injection/error_inject.v"
151 -vcs_build_args=$DV_ROOT/verif/env/l2sat/error_injection/inject.o
152 -vcs_build_args="-ld /usr/dist/pkgs/devpro,v4.2/5.x-sparc/bin/CC"
153 -vcs_build_args=-Mupdate
154 -vcs_build_args=-vera
155 -vcs_build_args="+v2k"
156 -vcs_build_args=+rad
157 -vcs_build_args=+optconfigfile+$DV_ROOT/verif/env/l2sat/exclude.v
158
159#endif
160 -vcs_cm_config=$DV_ROOT/verif/env/l2sat/l2sat.cm_config
161 -vcs_build_args=+define+BWSIM_SAME_GCLK_RCLK+
162// -vcs_build_args=+define+LIB+INITLATZERO
163#ifdef SCAN_FLUSH_RESET
164 -vcs_build_args=+define+LIB+SCAN_MODE
165#endif
166 -vcs_build_args=+define+LIB+INITLATZERO
167 -vcs_build_args=+nospecify
168 -vcs_build_args=SUNVLIBS_OTHER
169 //-vcs_build_args=-v LIBFILE1
170 //-vcs_build_args=-v LIBFILE2
171 //-vcs_build_args=-v LIBFILE3
172 //-vcs_build_args=-v LIBFILE4
173 //-vcs_build_args=-v LIBFILE5
174 //-vcs_build_args=-v SUNVLIB
175 -sas_run_args=-DSP0
176 -sas_run_args=-DMEM_TEST
177 -sas_run_args=-DINTR_TEST
178 -sas_run_args=-DMEM_DEBUG
179 -sas_run_args=-DNIAGARA
180 -vcs_run_args=+max_cycle=5000000
181 -vcs_run_args=+vera_exit_on_error
182// -vera_cov_obj=L2_COVERAGE
183</l2>