Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / config / fc_scan.config
// ========== Copyright Header Begin ==========================================
//
// OpenSPARC T2 Processor File: fc_scan.config
// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
//
// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// For the avoidance of doubt, and except that if any non-GPL license
// choice is available it will apply instead, Sun elects to use only
// the General Public License version 2 (GPLv2) at this time for any
// software where a choice of GPL license versions is made
// available with the language indicating that GPLv2 or any later version
// may be used, or where a choice of which version of the GPL is applied is
// otherwise unspecified.
//
// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
// CA 95054 USA or visit www.sun.com if you need additional information or
// have any questions.
//
// ========== Copyright Header End ============================================
#include "defaults.config"
<fc_mfg_scan>
-model=fc_mfg_scan
-config_rtl=MFG_JTAG_SCAN
-sunv_args=-define=NOINITMEM
-config_rtl=NOINITMEM
#ifdef GATESIM
-flist=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_mfg_scan-gates.flist
#else
-flist=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_mfg_scan.flist
#endif
//////////////////////////////
#include "fc_scan_common.config"
//////////////////////////////
#ifdef THARAS_BUILD
-hcs_build_args=-comp_options "+hcs+atf $DV_ROOT/verif/env/config/fc_scan.hcsrc_comp"
-hcs_run_args=-other_simh_options "+hcs+atf $DV_ROOT/verif/env/config/fc_scan.hcsrc_run"
#endif
#ifdef THARAS_BUILD_DUMP
-hcs_build_args=-comp_options "+hcs+atf $DV_ROOT/verif/env/config/fc_scan.hcsrc_comp_dump"
-hcs_run_args=-other_simh_options "+hcs+atf $DV_ROOT/verif/env/config/fc_scan.hcsrc_run_dump"
#endif
// use '-config_cpp_args=-DASIC_CLUSTER_GATES' in sims command line
#ifdef USE_DMU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+dmuGates
-flist=$DV_ROOT/verif/env/fc_scan/dmu_gates.flist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/dmu/dmu.rtlflist
#endif
#endif
-flist=$DV_ROOT/verif/env/dmu/dmu.libsflist
-sunv_args=-excludecell=\^fsr_left\$
-sunv_args=-excludecell=\^fsr_right\$
-sunv_args=-excludecell=\^fsr_bottom\$
-sunv_args=-excludecell=\^dmu\$
-sunv_args=-excludecell=\^peu\$
-sunv_args=-excludecell=\^psr\$
-sunv_args=-excludecell=\^esr\$
-sunv_args=-excludecell=\^mac\$
-sunv_args=-excludecell=\^hedwig\$
-sunv_args=-excludecell=\^rdp\$
-sunv_args=-excludecell=\^rtx\$
-sunv_args=-excludecell=\^tds\$
///////////////////////////
#ifdef USE_CCU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+ccuGates
-flist=$DV_ROOT/verif/env/fc_scan/ccu_gates.flist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/tcu/ccu_rtl.flist
#endif
#endif
#ifdef USE_NIU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+niuGates
-flist=$DV_ROOT/verif/env/fc_scan/niu_gates.flist
-flist=$DV_ROOT/verif/env/niu/rdp.libsflist
-flist=$DV_ROOT/verif/env/niu/mac.libsflist
-flist=$DV_ROOT/verif/env/niu/tds.libsflist
-flist=$DV_ROOT/verif/env/niu/rtx.libsflist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/niu/niu.flist
#endif
#endif
#ifdef USE_PEU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+peuGates
-flist=$DV_ROOT/verif/env/fc_scan/peu_gates.flist
-flist=$DV_ROOT/verif/env/ilu_peu/peu.libsflist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_rtl_encrypted.flist
-flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_common.rtlflist
#endif
#endif
#ifndef IO_GATE
-flist=$DV_ROOT/verif/env/niu/eser_rtl.flist
-flist=$DV_ROOT/verif/env/mcu/fbd_serdes.flist
#endif
#ifdef IO_GATE
-config_rtl=FSR_RTL
#endif
///////////////////////////
-sunv_nonprim_list=$DV_ROOT/verif/env/fc/nonprimitive.list
-vcs_build_args=+define+FSR_NOATPG // temp until serdes build is working
-vcs_build_args=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_scan_pli_fix.v
-vcs_build_args=-P $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.tab
-vcs_build_args= -LDFLAGS $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.dl
-post_process_cmd="$DV_ROOT/verif/env/common/pli/perl/checkArySnapshots.pl $SIMS_LAUNCH_DIR -fc_scan"
</fc_mfg_scan>
<fc_jtag_scan>
-model=fc_jtag_scan
-config_rtl=MFG_JTAG_SCAN
//-config_rtl=JTAG_SCAN
//-config_rtl=FC_JTAG_SCAN
//-flist=$DV_ROOT/verif/env/fc_scan/verilog/jtag_scan/fc_jtag_scan.flist
#ifdef GATESIM
-flist=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_mfg_scan-gates.flist
#else
-flist=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_mfg_scan.flist
#endif
//////////////////////////////
#include "fc_scan_common.config"
/////////////////////////// taken from fc_scan_common
#ifdef USE_DMU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+dmuGates
-flist=$DV_ROOT/verif/env/fc_scan/dmu_gates.flist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/dmu/dmu.rtlflist
#endif
#endif
-flist=$DV_ROOT/verif/env/dmu/dmu.libsflist
-sunv_args=-excludecell=\^fsr_left\$
-sunv_args=-excludecell=\^fsr_right\$
-sunv_args=-excludecell=\^fsr_bottom\$
-sunv_args=-excludecell=\^dmu\$
-sunv_args=-excludecell=\^peu\$
-sunv_args=-excludecell=\^psr\$
-sunv_args=-excludecell=\^esr\$
-sunv_args=-excludecell=\^mac\$
-sunv_args=-excludecell=\^hedwig\$
-sunv_args=-excludecell=\^rdp\$
-sunv_args=-excludecell=\^rtx\$
-sunv_args=-excludecell=\^tds\$
///////////////////////////
#ifdef USE_CCU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+ccuGates
-flist=$DV_ROOT/verif/env/fc_scan/ccu_gates.flist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/tcu/ccu_rtl.flist
#endif
#endif
#ifdef USE_NIU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+niuGates
-flist=$DV_ROOT/verif/env/fc_scan/niu_gates.flist
-flist=$DV_ROOT/verif/env/niu/rdp.libsflist
-flist=$DV_ROOT/verif/env/niu/mac.libsflist
-flist=$DV_ROOT/verif/env/niu/tds.libsflist
-flist=$DV_ROOT/verif/env/niu/rtx.libsflist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/niu/niu.flist
#endif
#endif
#ifdef USE_PEU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+peuGates
-flist=$DV_ROOT/verif/env/fc_scan/peu_gates.flist
-flist=$DV_ROOT/verif/env/ilu_peu/peu.libsflist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_rtl_encrypted.flist
-flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_common.rtlflist
#endif
#endif
#ifndef IO_GATE
-flist=$DV_ROOT/verif/env/niu/eser_rtl.flist
-flist=$DV_ROOT/verif/env/mcu/fbd_serdes.flist
#endif
#ifdef IO_GATE
-config_rtl=FSR_RTL
#endif
///////////////////////////
-sunv_nonprim_list=$DV_ROOT/verif/env/fc/nonprimitive.list
-vera_build_args=USE_JTAG_DRIVER=1
-vera_build_args=USE_SCAN_FUNCTIONS=USE_SCAN_FUNCTIONS
-vera_build_args=VERA_SYS_DEFS="-DFC_SCAN_BENCH -DFC_BENCH -DNCURTL -DJTAG_SCAN"
-vera_diag_args="-DJTAG_SCAN"
-vcs_build_args=+define+FSR_NOATPG // temp until serdes build is working
-vcs_build_args=$DV_ROOT/verif/env/fc_scan/verilog/mfg_scan/fc_scan_pli_fix.v
#ifndef GATESIM
-vcs_build_args=-P $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.tab
-vcs_build_args= -LDFLAGS $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.dl
-post_process_cmd="$DV_ROOT/verif/env/common/pli/perl/checkArySnapshots.pl $SIMS_LAUNCH_DIR -fc_scan"
#endif
-config_rtl=JTAG_SCAN
-config_rtl=USE_JTAG_DRIVER
-efuse_image_root=$DV_ROOT/verif/diag/vera/tcu
-image_diag_root=$DV_ROOT/verif/diag/vera/tcu
-vcs_build_args=+define+FC_EFU
</fc_jtag_scan>
<fc_raw>
-model=fc_raw
-config_rtl=FC_RAW
-config_rtl=DISPMONDEFINESVH
-config_rtl=NOINITMEM
-sunv_args=-define=NOINITMEM
// use '-config_cpp_args=-DASIC_CLUSTER_GATES' in sims command line
#ifdef USE_DMU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+dmuGates
-flist=$DV_ROOT/verif/env/fc_scan/dmu_gates.flist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/dmu/dmu.rtlflist
#endif
#endif
-flist=$DV_ROOT/verif/env/dmu/dmu.libsflist
//////////////////////////////
#include "fc_scan_common.config"
//////////////////////////////
-sunv_args=-excludecell=\^fsr_left\$
-sunv_args=-excludecell=\^fsr_right\$
-sunv_args=-excludecell=\^fsr_bottom\$
-sunv_args=-excludecell=\^dmu\$
-sunv_args=-excludecell=\^peu\$
-sunv_args=-excludecell=\^psr\$
-sunv_args=-excludecell=\^esr\$
-sunv_args=-excludecell=\^mac\$
-sunv_args=-excludecell=\^hedwig\$
-sunv_args=-excludecell=\^rdp\$
-sunv_args=-excludecell=\^rtx\$
-sunv_args=-excludecell=\^tds\$
-sunv_nonprim_list=$DV_ROOT/verif/env/fc/nonprimitive.list
#ifdef USE_CCU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+ccuGates
-flist=$DV_ROOT/verif/env/fc_scan/ccu_gates.flist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/tcu/ccu_rtl.flist
#endif
#endif
#ifdef USE_NIU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+niuGates
-flist=$DV_ROOT/verif/env/fc_scan/niu_gates.flist
-flist=$DV_ROOT/verif/env/niu/rdp.libsflist
-flist=$DV_ROOT/verif/env/niu/mac.libsflist
-flist=$DV_ROOT/verif/env/niu/tds.libsflist
-flist=$DV_ROOT/verif/env/niu/rtx.libsflist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/niu/niu.flist
#endif
#endif
#ifdef USE_PEU_GATES
-vcs_run_args=+asicGates
-vcs_run_args=+peuGates
-flist=$DV_ROOT/verif/env/fc_scan/peu_gates.flist
-flist=$DV_ROOT/verif/env/ilu_peu/peu.libsflist
#else
#ifndef GATESIM
-flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_rtl_encrypted.flist
-flist=$DV_ROOT/verif/env/ilu_peu/ilu_peu_common.rtlflist
#endif
#endif
-flist=$DV_ROOT/verif/env/niu/eser_rtl.flist
-flist=$DV_ROOT/verif/env/mcu/fbd_serdes.flist
-vcs_build_args=+define+FSR_NOATPG // temp until serdes build is working
// -vcs_build_args=-P $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.tab
// -vcs_build_args= -LDFLAGS $DV_ROOT/verif/env/common/pli/dft_pli/dft_pli.dl
-nozeroIn_build
-novera_build
-novera_run
</fc_raw>