Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / config / fc_scan.config
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: fc_scan.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<fc_mfg_scan>
38 -model=fc_mfg_scan
39 -config_rtl=MFG_JTAG_SCAN
40 -sunv_args=-define=NOINITMEM
41 -config_rtl=NOINITMEM
42#ifdef GATESIM
43 -flist=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_mfg_scan-gates.flist
44#else
45 -flist=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_mfg_scan.flist
46#endif
47//////////////////////////////
48#include "fc_scan_common.config"
49//////////////////////////////
50#ifdef THARAS_BUILD
51 -hcs_build_args=-comp_options "+hcs+atf $DV_ROOT/verif/env/config/fc_scan.hcsrc_comp"
52 -hcs_run_args=-other_simh_options "+hcs+atf $DV_ROOT/verif/env/config/fc_scan.hcsrc_run"
53#endif
54#ifdef THARAS_BUILD_DUMP
55 -hcs_build_args=-comp_options "+hcs+atf $DV_ROOT/verif/env/config/fc_scan.hcsrc_comp_dump"
56 -hcs_run_args=-other_simh_options "+hcs+atf $DV_ROOT/verif/env/config/fc_scan.hcsrc_run_dump"
57#endif
58 // use '-config_cpp_args=-DASIC_CLUSTER_GATES' in sims command line
59#ifdef USE_DMU_GATES
60 -vcs_run_args=+asicGates
61 -vcs_run_args=+dmuGates
62 -flist=$DV_ROOT/verif/env/fc_scan/dmu_gates.flist
63#else
64#ifndef GATESIM
65 -flist=$DV_ROOT/verif/env/dmu/dmu.rtlflist
66#endif
67#endif
68 -flist=$DV_ROOT/verif/env/dmu/dmu.libsflist
69 -sunv_args=-excludecell=\^fsr_left\$
70 -sunv_args=-excludecell=\^fsr_right\$
71 -sunv_args=-excludecell=\^fsr_bottom\$
72 -sunv_args=-excludecell=\^dmu\$
73 -sunv_args=-excludecell=\^peu\$
74 -sunv_args=-excludecell=\^psr\$
75 -sunv_args=-excludecell=\^esr\$
76 -sunv_args=-excludecell=\^mac\$
77 -sunv_args=-excludecell=\^hedwig\$
78 -sunv_args=-excludecell=\^rdp\$
79 -sunv_args=-excludecell=\^rtx\$
80 -sunv_args=-excludecell=\^tds\$
81///////////////////////////
82#ifdef USE_CCU_GATES
83 -vcs_run_args=+asicGates
84 -vcs_run_args=+ccuGates
85 -flist=$DV_ROOT/verif/env/fc_scan/ccu_gates.flist
86#else
87#ifndef GATESIM
88 -flist=$DV_ROOT/verif/env/tcu/ccu_rtl.flist
89#endif
90#endif
91#ifdef USE_NIU_GATES
92 -vcs_run_args=+asicGates
93 -vcs_run_args=+niuGates
94 -flist=$DV_ROOT/verif/env/fc_scan/niu_gates.flist
95 -flist=$DV_ROOT/verif/env/niu/rdp.libsflist
96 -flist=$DV_ROOT/verif/env/niu/mac.libsflist
97 -flist=$DV_ROOT/verif/env/niu/tds.libsflist
98 -flist=$DV_ROOT/verif/env/niu/rtx.libsflist
99#else
100#ifndef GATESIM
101 -flist=$DV_ROOT/verif/env/niu/niu.flist
102#endif
103#endif
104#ifdef USE_PEU_GATES
105 -vcs_run_args=+asicGates
106 -vcs_run_args=+peuGates
107 -flist=$DV_ROOT/verif/env/fc_scan/peu_gates.flist
108 -flist=$DV_ROOT/verif/env/ilu_peu/peu.libsflist
109#else
110#ifndef GATESIM
111 -flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_rtl_encrypted.flist
112 -flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_common.rtlflist
113#endif
114#endif
115#ifndef IO_GATE
116 -flist=$DV_ROOT/verif/env/niu/eser_rtl.flist
117 -flist=$DV_ROOT/verif/env/mcu/fbd_serdes.flist
118#endif
119#ifdef IO_GATE
120 -config_rtl=FSR_RTL
121#endif
122///////////////////////////
123 -sunv_nonprim_list=$DV_ROOT/verif/env/fc/nonprimitive.list
124
125 -vcs_build_args=+define+FSR_NOATPG // temp until serdes build is working
126 -vcs_build_args=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_scan_pli_fix.v
127
128 -vcs_build_args=-P $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.tab
129 -vcs_build_args= -LDFLAGS $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.dl
130 -post_process_cmd="$DV_ROOT/verif/env/common/pli/perl/checkArySnapshots.pl $SIMS_LAUNCH_DIR -fc_scan"
131</fc_mfg_scan>
132
133
134<fc_jtag_scan>
135 -model=fc_jtag_scan
136 -config_rtl=MFG_JTAG_SCAN
137 //-config_rtl=JTAG_SCAN
138 //-config_rtl=FC_JTAG_SCAN
139
140 //-flist=$DV_ROOT/verif/env/fc_scan/verilog/jtag_scan/fc_jtag_scan.flist
141#ifdef GATESIM
142 -flist=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_mfg_scan-gates.flist
143#else
144 -flist=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_mfg_scan.flist
145#endif
146 //////////////////////////////
147#include "fc_scan_common.config"
148 /////////////////////////// taken from fc_scan_common
149#ifdef USE_DMU_GATES
150 -vcs_run_args=+asicGates
151 -vcs_run_args=+dmuGates
152 -flist=$DV_ROOT/verif/env/fc_scan/dmu_gates.flist
153#else
154#ifndef GATESIM
155 -flist=$DV_ROOT/verif/env/dmu/dmu.rtlflist
156#endif
157#endif
158 -flist=$DV_ROOT/verif/env/dmu/dmu.libsflist
159 -sunv_args=-excludecell=\^fsr_left\$
160 -sunv_args=-excludecell=\^fsr_right\$
161 -sunv_args=-excludecell=\^fsr_bottom\$
162 -sunv_args=-excludecell=\^dmu\$
163 -sunv_args=-excludecell=\^peu\$
164 -sunv_args=-excludecell=\^psr\$
165 -sunv_args=-excludecell=\^esr\$
166 -sunv_args=-excludecell=\^mac\$
167 -sunv_args=-excludecell=\^hedwig\$
168 -sunv_args=-excludecell=\^rdp\$
169 -sunv_args=-excludecell=\^rtx\$
170 -sunv_args=-excludecell=\^tds\$
171 ///////////////////////////
172#ifdef USE_CCU_GATES
173 -vcs_run_args=+asicGates
174 -vcs_run_args=+ccuGates
175 -flist=$DV_ROOT/verif/env/fc_scan/ccu_gates.flist
176#else
177#ifndef GATESIM
178 -flist=$DV_ROOT/verif/env/tcu/ccu_rtl.flist
179#endif
180#endif
181#ifdef USE_NIU_GATES
182 -vcs_run_args=+asicGates
183 -vcs_run_args=+niuGates
184 -flist=$DV_ROOT/verif/env/fc_scan/niu_gates.flist
185 -flist=$DV_ROOT/verif/env/niu/rdp.libsflist
186 -flist=$DV_ROOT/verif/env/niu/mac.libsflist
187 -flist=$DV_ROOT/verif/env/niu/tds.libsflist
188 -flist=$DV_ROOT/verif/env/niu/rtx.libsflist
189#else
190#ifndef GATESIM
191 -flist=$DV_ROOT/verif/env/niu/niu.flist
192#endif
193#endif
194#ifdef USE_PEU_GATES
195 -vcs_run_args=+asicGates
196 -vcs_run_args=+peuGates
197 -flist=$DV_ROOT/verif/env/fc_scan/peu_gates.flist
198 -flist=$DV_ROOT/verif/env/ilu_peu/peu.libsflist
199#else
200#ifndef GATESIM
201 -flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_rtl_encrypted.flist
202 -flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_common.rtlflist
203#endif
204#endif
205#ifndef IO_GATE
206 -flist=$DV_ROOT/verif/env/niu/eser_rtl.flist
207 -flist=$DV_ROOT/verif/env/mcu/fbd_serdes.flist
208#endif
209
210#ifdef IO_GATE
211 -config_rtl=FSR_RTL
212#endif
213 ///////////////////////////
214 -sunv_nonprim_list=$DV_ROOT/verif/env/fc/nonprimitive.list
215 -vera_build_args=USE_JTAG_DRIVER=1
216 -vera_build_args=USE_SCAN_FUNCTIONS=USE_SCAN_FUNCTIONS
217 -vera_build_args=VERA_SYS_DEFS="-DFC_SCAN_BENCH -DFC_BENCH -DNCURTL -DJTAG_SCAN"
218 -vera_diag_args="-DJTAG_SCAN"
219
220 -vcs_build_args=+define+FSR_NOATPG // temp until serdes build is working
221 -vcs_build_args=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_scan_pli_fix.v
222#ifndef GATESIM
223 -vcs_build_args=-P $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.tab
224 -vcs_build_args= -LDFLAGS $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.dl
225 -post_process_cmd="$DV_ROOT/verif/env/common/pli/perl/checkArySnapshots.pl $SIMS_LAUNCH_DIR -fc_scan"
226#endif
227 -config_rtl=JTAG_SCAN
228 -config_rtl=USE_JTAG_DRIVER
229 -efuse_image_root=$DV_ROOT/verif/diag/vera/tcu
230 -image_diag_root=$DV_ROOT/verif/diag/vera/tcu
231 -vcs_build_args=+define+FC_EFU
232</fc_jtag_scan>
233
234<fc_raw>
235 -model=fc_raw
236 -config_rtl=FC_RAW
237 -config_rtl=DISPMONDEFINESVH
238 -config_rtl=NOINITMEM
239 -sunv_args=-define=NOINITMEM
240
241 // use '-config_cpp_args=-DASIC_CLUSTER_GATES' in sims command line
242
243#ifdef USE_DMU_GATES
244 -vcs_run_args=+asicGates
245 -vcs_run_args=+dmuGates
246 -flist=$DV_ROOT/verif/env/fc_scan/dmu_gates.flist
247#else
248#ifndef GATESIM
249 -flist=$DV_ROOT/verif/env/dmu/dmu.rtlflist
250#endif
251#endif
252 -flist=$DV_ROOT/verif/env/dmu/dmu.libsflist
253
254//////////////////////////////
255#include "fc_scan_common.config"
256//////////////////////////////
257
258 -sunv_args=-excludecell=\^fsr_left\$
259 -sunv_args=-excludecell=\^fsr_right\$
260 -sunv_args=-excludecell=\^fsr_bottom\$
261 -sunv_args=-excludecell=\^dmu\$
262 -sunv_args=-excludecell=\^peu\$
263 -sunv_args=-excludecell=\^psr\$
264 -sunv_args=-excludecell=\^esr\$
265 -sunv_args=-excludecell=\^mac\$
266 -sunv_args=-excludecell=\^hedwig\$
267 -sunv_args=-excludecell=\^rdp\$
268 -sunv_args=-excludecell=\^rtx\$
269 -sunv_args=-excludecell=\^tds\$
270 -sunv_nonprim_list=$DV_ROOT/verif/env/fc/nonprimitive.list
271
272#ifdef USE_CCU_GATES
273 -vcs_run_args=+asicGates
274 -vcs_run_args=+ccuGates
275 -flist=$DV_ROOT/verif/env/fc_scan/ccu_gates.flist
276#else
277#ifndef GATESIM
278 -flist=$DV_ROOT/verif/env/tcu/ccu_rtl.flist
279#endif
280#endif
281
282#ifdef USE_NIU_GATES
283 -vcs_run_args=+asicGates
284 -vcs_run_args=+niuGates
285 -flist=$DV_ROOT/verif/env/fc_scan/niu_gates.flist
286 -flist=$DV_ROOT/verif/env/niu/rdp.libsflist
287 -flist=$DV_ROOT/verif/env/niu/mac.libsflist
288 -flist=$DV_ROOT/verif/env/niu/tds.libsflist
289 -flist=$DV_ROOT/verif/env/niu/rtx.libsflist
290#else
291#ifndef GATESIM
292 -flist=$DV_ROOT/verif/env/niu/niu.flist
293#endif
294#endif
295
296#ifdef USE_PEU_GATES
297 -vcs_run_args=+asicGates
298 -vcs_run_args=+peuGates
299 -flist=$DV_ROOT/verif/env/fc_scan/peu_gates.flist
300 -flist=$DV_ROOT/verif/env/ilu_peu/peu.libsflist
301#else
302#ifndef GATESIM
303 -flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_rtl_encrypted.flist
304 -flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_common.rtlflist
305#endif
306#endif
307
308 -flist=$DV_ROOT/verif/env/niu/eser_rtl.flist
309 -flist=$DV_ROOT/verif/env/mcu/fbd_serdes.flist
310
311 -vcs_build_args=+define+FSR_NOATPG // temp until serdes build is working
312
313// -vcs_build_args=-P $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.tab
314// -vcs_build_args= -LDFLAGS $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.dl
315
316 -nozeroIn_build
317 -novera_build
318 -novera_run
319
320</fc_raw>