| 1 | // ========== Copyright Header Begin ========================================== |
| 2 | // |
| 3 | // OpenSPARC T2 Processor File: niu.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 | <niu> |
| 39 | #ifdef AXIS_BUILD |
| 40 | -config_rtl=AXIS |
| 41 | -sunv_args=-keepSectionSym=AXIS_SMEM |
| 42 | -sunv_args=-keepSectionSym=EMUL_COSIM |
| 43 | -vcs_build_args=-P $VERA_HOME/lib/vera_pli.tab |
| 44 | -vcs_build_args=$VERA_HOME/lib/libSysSciTask.a |
| 45 | -vcs_build_args="-pl -lsocket -pl -lnsl -pl -lintl -pl -ldl" |
| 46 | -vcs_build_args=+v2000 |
| 47 | // use axis_build_args to exclude modules -vcs_build_args=+dutexcl+fflp_flow_fifo |
| 48 | -vcs_build_args=+dutexcl+fflp_flow_fifo |
| 49 | -vcs_build_args=+dutexcl+niu_smx_regfl |
| 50 | -vcs_build_args=+dutexcl+fflp_hdr_fifo |
| 51 | // -vcs_build_args=+dutexcl+delay_n |
| 52 | // -vcs_build_args=+dutexcl+delay_n_w_stalling |
| 53 | // -vcs_build_args=+dutexcl+dmu_common_simple_fifo |
| 54 | -vcs_build_args=+define+AXIS |
| 55 | -axis_build_args="-scope n2_ccm -map_udp" |
| 56 | // -axis_build_args="-vms_excl delay_n+delay_n_w_stalling+niu_smx_regfl+dmu_common_simple_fifo+fflp_hdr_fifo+fflp_flow_fifo " |
| 57 | -vcs_build_args=+define+DISABLE_ERR_MON |
| 58 | #endif |
| 59 | -asm_diag_root=$DV_ROOT/verif/diag |
| 60 | -vera_diag_root=$DV_ROOT/verif/diag |
| 61 | -vera_config_root=$DV_ROOT/verif |
| 62 | -image_diag_root=$DV_ROOT/verif |
| 63 | -wait_cycle_to_kill=10 |
| 64 | -post_process_cmd="regreport -1 > status.log" |
| 65 | -model=niu |
| 66 | -flist=$DV_ROOT/verif/env/niu/niu.flist |
| 67 | -flist=$DV_ROOT/verif/env/niu/niu_tb.flist |
| 68 | // Since TI's SERDES model doesn't work right now bypass and use noserdes mode |
| 69 | // as default for AXIS_BUILD |
| 70 | #ifdef AXIS_BUILD |
| 71 | -flist=$DV_ROOT/verif/env/niu/eser_dummy.flist |
| 72 | #else |
| 73 | -flist=$DV_ROOT/verif/env/niu/eser_rtl.flist |
| 74 | -flist=$DV_ROOT/verif/env/niu/eser_tb.flist |
| 75 | #endif |
| 76 | -config_rtl=niu |
| 77 | -env_base=$DV_ROOT/verif/env/niu |
| 78 | -drm_disk=[/export/home/bw=30] |
| 79 | -drm_type=vcs |
| 80 | -drm_freeram=500 |
| 81 | -drm_freeprocessor=1.0 |
| 82 | SUNVFORCEOPTS |
| 83 | -sunv_args=-topcell=cpu |
| 84 | -sunv_args=-define=sim |
| 85 | -sunv_use_nonprim |
| 86 | -sunv_nonprim_list=$DV_ROOT/verif/env/niu/nonprimitive.list |
| 87 | -sunv_args=-excludecell=rdp |
| 88 | -sunv_args=-excludecell=rtx |
| 89 | -sunv_args=-excludecell=tds |
| 90 | -sunv_args=-excludecell=mac |
| 91 | -sunv_args=-excludecell=esr |
| 92 | -sunv_args=-excludepreload |
| 93 | -sunv_args=-out=cpu.v |
| 94 | -sunv_args=-path=SUNV_RTL_PATH |
| 95 | -sunv_args=-path=SUNVMACROS |
| 96 | -sunv_args=-preload=SUNVLIBS_SUNV |
| 97 | -sunv_args=-perlinclude=SUNVPERLINC |
| 98 | -vlint_top=niu |
| 99 | -vlint_args=+define+TOP=niu |
| 100 | -vlint_args=-turn_unspecified_off |
| 101 | -vlint_args=-binary |
| 102 | -vlint_args=-vlint |
| 103 | -vlint_args=-depth 999 |
| 104 | -vlint_args=-vr $DV_ROOT/verif/env/config/asic_vlint.rc |
| 105 | -vlint_args=-turn_unspecified_off |
| 106 | -vlint_args=+define+N2_NIU |
| 107 | -vlint_args=+define+LIB |
| 108 | -vlint_args=+turnoff+synopsys+translate_off+turnon+synopsys+translate_on |
| 109 | -vlint_args=-merge_bus_report |
| 110 | -vlint_args=SUNVLIBS_OTHER |
| 111 | -illust_run |
| 112 | -illust_args=-b -c $DV_ROOT/verif/env/config/filter_vlint.rc |
| 113 | -zeroIn_build_args=-d cpu |
| 114 | -zeroIn_build_args=+define+TOP=tb_top |
| 115 | #ifdef AXIS_BUILD |
| 116 | -zeroIn_build_args=-sim axis |
| 117 | #else |
| 118 | -zeroIn_build_args=-sim vcs |
| 119 | #endif |
| 120 | -zeroIn_build_args=-ctrl $DV_ROOT/verif/env/common/verilog/checkers/0in_checkers.v |
| 121 | -zeroIn_build_args=+define+CPU=tb_top.cpu |
| 122 | -zeroIn_build_args=+define+MAC=tb_top.cpu.mac |
| 123 | -zeroIn_build_args=+define+RDP=tb_top.cpu.rdp |
| 124 | -zeroIn_build_args=+define+TDS=tb_top.cpu.tds |
| 125 | -zeroIn_build_args=+define+RTX=tb_top.cpu.rtx |
| 126 | -zeroIn_build_args=+define+ESR=tb_top.cpu.esr |
| 127 | -zeroIn_build_args=+define+VERA_SHELL_TOP=niu_top_shell |
| 128 | -zeroIn_build_args=-ctrl $DV_ROOT/verif/env/niu/niu_zeroIn_cfg.v |
| 129 | -zeroIn_build_args=-v SUNVLIB |
| 130 | -zeroIn_build_args=SUNVLIBS_OTHER |
| 131 | -zeroIn_build_args=-rcd |
| 132 | -zeroIn_build_args=+define+X_GUARD |
| 133 | -zeroIn_build_args=+define+LIB |
| 134 | -zeroIn_build_args=+define+N2_NIU |
| 135 | -zeroIn_build_args=-exit_on_directive_errors |
| 136 | -zeroIn_build_args=+error+command-19 |
| 137 | -zeroIn_build_args=+error+command-46 |
| 138 | -zeroIn_build_args=+error+command-6 |
| 139 | -zeroIn_build_args=+error+command-7 |
| 140 | #ifdef AXIS_BUILD |
| 141 | // Remove -axis_build_args=" -model_type axis_sw_vcs " |
| 142 | -vcs_build_args="-P $DV_ROOT/verif/env/common/pli/niu_pli/get_plus_args.tab" |
| 143 | -vcs_build_args=" -P $DV_ROOT/verif/model/verilog/niu/sparse_mem_model/pli/mempli.tab " |
| 144 | -vcs_build_args=" +vc vera/mempli.a" |
| 145 | |
| 146 | -vcs_build_args=" +vc vera/mal.o" |
| 147 | -vcs_build_args=" $DV_ROOT/verif/env/common/pli/niu_pli/pgRandom.o" |
| 148 | -vcs_build_args=" -pl -R/import/freetools/local/gcc/3.3.2/lib " |
| 149 | -vcs_build_args=" /import/freetools/local/gcc/3.3.2/lib/libstdc++.so" |
| 150 | -vcs_build_args=" /import/freetools/local/gcc/3.3.2/lib/libgcc_s.so " |
| 151 | //these four packet gen files are order sensitive!! sims reverses the order from what is shown here |
| 152 | //to what gets passed to the linker, and libnet.a must be at the end of the link order |
| 153 | -vcs_build_args=" +vc vera/libnet.a " |
| 154 | -vcs_build_args=" +vc vera/pgVera.a" |
| 155 | -vcs_build_args=" +vc vera/pgVeraWrap.o " |
| 156 | -vcs_build_args=" +vc vera/genCpacket.o " |
| 157 | -vcs_build_args=" $DV_ROOT/verif/env/common/pli/niu_pli/get_plus_args.o " |
| 158 | -vcs_build_args="+tran +tran_force" |
| 159 | -vcs_build_args=+define+MAC0 +define+MAC1 +define+MAC2 +define+MAC3 +define+RXC +define+N2_NIU |
| 160 | -vcs_build_args="+ignUnusedTf+SysPreInit_Data" |
| 161 | #else |
| 162 | |
| 163 | -vcs_build_args=-Mupdate |
| 164 | -vcs_build_args=+v2k |
| 165 | -vcs_build_args=-vera |
| 166 | -vcs_build_args="-Xstrict=0x1 -syslib -lpthread " |
| 167 | -vcs_build_args="-Xstrict=0x1 -syslib -lpthread " |
| 168 | VCS_BUILD_WITH_GPP |
| 169 | -vcs_build_args="-lstdc++" |
| 170 | -vcs_build_args=+define+MAC0 +define+MAC1 +define+MAC2 +define+MAC3 +define+RXC +define+N2_NIU |
| 171 | -vcs_build_args=" -P $DV_ROOT/verif/model/verilog/niu/sparse_mem_model/pli/mempli.tab " |
| 172 | -vcs_build_args=" +vc vera/mal.o" |
| 173 | -vcs_build_args=" +vc vera/pgVeraWrap.o" |
| 174 | -vcs_build_args=" +vc vera/genCpacket.o" |
| 175 | -vcs_build_args=" +vc vera/libnet.a" |
| 176 | -vcs_build_args=" +vc vera/pgVera.a" |
| 177 | -vcs_build_args=" +vc vera/pgRandom.o" |
| 178 | -vcs_build_args=vera/mempli.a |
| 179 | -vcs_build_args="-P $DV_ROOT/verif/env/common/pli/niu_pli/get_plus_args.tab" |
| 180 | -vcs_build_args=" $DV_ROOT/verif/env/common/pli/niu_pli/get_plus_args.o -cc gcc" |
| 181 | |
| 182 | #endif |
| 183 | -vcs_build_args=+define+LIB |
| 184 | -vcs_build_args=+define+INITLATZERO |
| 185 | -vcs_build_args=SUNVLIBS_OTHER |
| 186 | -vcs_cm_config=$DV_ROOT/verif/env/niu/niu.cm_config |
| 187 | -sas_run_args=-DSP0 |
| 188 | -sas_run_args=-DMEM_TEST |
| 189 | -sas_run_args=-DINTR_TEST |
| 190 | -sas_run_args=-DMEM_DEBUG |
| 191 | -sas_run_args=-DNIAGARA |
| 192 | -vcs_run_args=+SRDS_REG_SLAM |
| 193 | // Default AXIS_BUILD to no serdes |
| 194 | #ifdef AXIS_BUILD |
| 195 | #else |
| 196 | -vcs_run_args=+wserdes |
| 197 | #endif |
| 198 | -vcs_run_args=+vera_disable_final_report |
| 199 | -vcs_run_args=+vera_exit_on_error |
| 200 | #ifdef AXIS_BUILD |
| 201 | -vera_build_args=N2_AXIS=N2_AXIS |
| 202 | #endif |
| 203 | -vera_build_args=NEPTUNE_MODE=N2 |
| 204 | -vera_build_args=NEPTUNE_ENV=CDMSPP |
| 205 | </niu> |