IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Cadence IC617环境配置文件

    MatthewLXJ发表于 2021-01-29 14:39:00
    love 0

    一、前言
    在此前的文章介绍了Cadence IC617的安装方法、流程以及.bashrc启动环境文件的配置方法。
    [post cid="3" cover="" size=""/]
    直接复制以及写好的.bashrc文件修改其中的部分路径与设置实现Cadence的environment setting,这种方法比较通用简单,适合小白快速配置,但是直接复制过来的.bashrc中有过多的杂项与冗余项,会影响Candence的启动速度,后期使用也有可能出现问题导致软件无法启动。
    因此考虑重写environment file,Cadence支持加载.bashrc与.cshrc两种格式的environment setting,考虑到Linux常用终端均为bash环境,为了区分Linux system environment与Cadence Project environment setting,采用编写.cshrc配置Cadence启动environment。
    二、.bashrc分析
    先贴上我之前使用的.bashrc文件
    [collapse status="false" title=".bashrc"]

    #--------------------------------------------------------------------------------------------------
    #  User's Guide
    #  Copy this .bashrc environment setting file to the working (design project) directory, e.g.
    #  /home/johndoe/project1, /home/johndoe/project2, ...., etc.
    #  On terminal, cd to the working directory and then source the .bashrc file by typing the
    #  following at the shell prompt $:
    #  . .bashrc
    #  Note:  a space is required between "." and ".bashrc" in the above command.
    #  Now all the environment variables in .bashrc file have been loaded into the current shell
    #  terminal and commands can be issued at the shell prompt $ to launch various Cadence
    #  tools, for instance, "virtuoso &" (without the quotes).  Some frequently used commands are
    #  listed in this file together with corresponding environment settings.
    #  You may finish the Cadence session at any time by closing the running Cadence tool.  To
    #  start up another Cadence session, just issue another Cadence command at the shell
    #  prompt $, e.g. "innovus &" (without the quotes), etc. To exit the entire Cadence
    #  environment, close the terminal.  By closing the terminal, all loaded Cadence and Calibre
    #  environment variables are terminated since all of these variables are loaded and
    #  contained in the terminated shell terminal.  The benefit of sourcing .bashrc to a local shell
    #  terminal instead of setting them in the $HOME/.bashrc is that all of the loaded Cadence &
    #  Calibre environment variables don't globally affect system environment settings and
    #  therefore you can run other programs on the system normally and won't disturb the
    #  Cadence session or vice versa.
    #  If you're setting up a multiuser server, create a client copy of this .bashrc file and make
    #  necessary changes accordingly, e.g. point CDS_LIC_FILE to the server's license directory
    #  as port@hostname.  Instruct users to download it to the working directory on the client
    #  machine and source the client copy before starting up any Cadence tool.
    #--------------------------------------------------------------------------------------------------
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # For proper distributed processing execution using Cadence PVS software, it requires
    # that the following is set as the first line in .bashrc
    # Note: the space between the ! and $prompt is required!
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    if (! $prompt); then
      exit
    fi
    ##############################################################
    # Cadence Design Systems
    # Master IC CAD flow including schematic capture, simulation, layout, and verification.
    ##############################################################
    export CADHOME=/opt/cadence
    # Requied for Cadence on Linux
    export LANG=C
    # Set netlisting mode
    export CDS_Netlisting_Mode=Analog
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Specify a search order for .cdsenv
    # Load .cdsenv in the working directory ($CWD)
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export CDS_LOAD_ENV=CWD
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # browser setup for Cadence Help
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export MOZILLA_HOME=/usr/bin/firefox
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Cadence - IC
    # IC Schematic Entry, Simulation, Layout, Verification (Diva)
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export CDS=$CADHOME/IC617
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Some of these variables are used by various other tools, e.g. foundry's PDK.
    # Set them to be safe
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export CDSDIR=$CDS
    export CDSHOME=$CDS
    export CADENCE_DIR=$CDS
    export CDS_INST_DIR=$CDS
    export CDS_ROOT=$CDS
    export CDSROOT=$CDS
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Set up either CDS_LIC_FILE or LM_LICENSE_FILE, but NOT both or it'll
    # take long time to search license!!!
    # Set variable CDS_LIC_ONLY to ignore LM_LICENSE_FILE if it exists.
    # Use absolute PATH to license.dat file instead of port@hostname
    # The license server is no longer needed once all features are set to uncounted or 0
    # (unlimited use) for the FEATURE lines in license.dat.  The SERVER, VENDOR and
    # USE_SERVER lines can be safely removed from license.dat file, i.e. license.dat here
    # contains FEATURE lines only.  DO NOT START UP LICENSE SERVER DAEMON!!!
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export CDS_LIC_FILE=$CADHOME/license/license.dat
    export CDS_LIC_ONLY=1
    # Support for 64-bit executables (this should be set for 64-bit hosts - IMPORTANT!!!)
    export CDS_AUTO_64BIT=ALL
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Master IC PATH
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export PATH=$PATH:$CDSDIR/tools/dfII/bin:$CDSDIR/tools/plot/bin
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Set up OA (OpenAccess)
    # It is STRONGLY recommended that you DO NOT change the OA installation that
    # each tool uses because tools are tested with the version of OA shipped with the
    # particular tool such as EDI142. However, if it is necessary to use a different
    # version of OA, you can do so with one of the following approaches:
    # 1) Use the Configure utility on InstallScape to specify a different OA installation.
    # 2) Use the OA_HOME environment variable to override the default OA installation.
    # DO NOT set up OA_HOME as recommended above!  Instead use the default OA
    # installed within each Cadence tool, or use Configure utility on InstallScape to
    # re-set OA back to the original default OA installation in each product such as.EDI,
    # EXT, etc. if they were ever changed.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Set up Cadence unsupported systems such as Ubuntu Linux
    # IC617 supports Ubuntu14.04 so this variable is no longer required
    #export OA_UNSUPPORTED_PLAT=linux_rhel50_gcc44x
    # To run Virtuoso Schematic and Verilog Driven Mixed-Signal Flow,  the following
    # environment variable must be set before starting Virtuoso.
    export CDS_ENABLE_VMS=1
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Cadence Analog Simulators (MMSIM) - Spectre, SpectreRF, &
    # RelXpert (Reliability Simulator)
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export MMSIMHOME=$CADHOME/MMSIM151
    export PATH=$PATH:$MMSIMHOME/bin:$MMSIMHOME/tools/relxpert/bin
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Cadence QRC Extraction, Advanced Analysis & Modeling (EXT)
    # Note: QRC must appear in the PATH before Assura executables
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export QRC_HOME=$CADHOME/EXT151
    export PATH=$PATH:$QRC_HOME/bin
    # Enhance precision of QRC for DFM MOS extraction
    export QRC_MOS_LW_PRECISION=Y
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Cadence Assura (ASSURA) - DRC. LVS, parasitic extraction
    # These executables should be on the PATH after DFII executables
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    #export ASSURAHOME=$CADHOME/ASSURA41
    #export PATH=$PATH:$ASSURAHOME/tools/bin:$ASSURAHOME/tools/assura/bin
    # Setting this variable enables Assura to work with PVS licenses only without
    # attempts to check-out Assura licenses first and thus speeds up execution.
    #export ASSURA_USE_PVS_LICENSE=1
    # Set up foundry DFM PATH for Assura - CRNxxG/CRNxxLP process for current project
    export TSMC_ASU_DFM_PATH=/opt/PDKs/tsmc/CRNxxG/Assura/lvs_rcx/DFM
    #export TSMC_ASU_DFM_PATH=/opt/PDKs/tsmc/CRNxxLP/Assura/lvs_rcx/DFM
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Cadence Physical Verification System, MaskCompose, & QuickView (PVS)
    # K2_VIEWER_HOME must be set before Quickview is invoked. LM_LICENSE_FILE
    # is required to run any K2 product.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export K2_HOME=$CADHOME/PVS151/tools/K2
    export K2_VIEWER_HOME=$K2_HOME/Viewer
    export K2_MASKCOMPOSE_HOME=$K2_HOME/MaskCompose
    export K2_MC_DATA=$HOME/Projects
    export LM_LICENSE_FILE=$CDS_LIC_FILE
    export PATH=$PATH:$CADHOME/PVS151/bin:$CADHOME/PVS151/tools/bin:$K2_MASKCOMPOSE_HOME/bin
    export XKEYSYMDB=$CDSDIR/tools/plot/etc/XKeysymDB
    # Commands on terminal to launch Quickview or MaskCompose
    #k2_viewer &
    #k2_mcs &
    ##############################################################
    # Cadence Digital Flow - HDL Simulations, Synthesis, P&R
    ##############################################################
    # Genus Synthesis Solution (GENUS) - Logic & Physical Synthesis
    export PATH=$PATH:$CADHOME/GENUS152/tools/bin
    # Command on terminal to launch Genus
    # genus
    # RTL Power Analysis (Joules)
    export PATH=$PATH:$CADHOME/JLS151/bin
    # Command on terminal to start Joules
    # joules &
    # Innovus Implementation System (INNOVUS) - P&R
    #export PATH=$PATH:$CADHOME/INNOVUS152/bin
    # Command on terminal to launch Innovus
    # innovus &
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Cadence C-to-Silicon Compiler (CTOS)
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export PATH=$PATH:$CADHOME/CTOS142/bin
    # Command on terminal to launch CTOS
    # ctosgui &
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Encounter Conformal (CONFRML) - Constraint Designer, Low Power Designer,
    # & ECO Designer
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export PATH=$PATH:$CADHOME/CONFRML152/bin
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Command on terminal to launch Confirmal with license options:
    # -xl/-gxl/-rcv/-eco/-ecogxl/-lp/-lpxl/-ccd/-ccdxl/-lpgxl/-verify;
    #  default is set to -l if no option is given.
    # example:  "lec -lp -verify -gui &" for Low Power license and Verify license
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # lec -lpgxl -verify -gui &
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Silicon Signoff & Verification (SSV) - including Tempus Timing Signoff
    # & Voltus IC Power Integrity
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export PATH=$PATH:$CADHOME/SSV152/tools/bin
    # Command on terminal to launch tempus or voltus
    # tempus &
    # voltus &
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Incisive Verification Platform - Digital HDL simulators
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    #export PATH=$PATH:$CADHOME/INCISIVE151/bin:$CADHOME/INCISIVE151/tools/bin::$CADHOME/INCISIVE151/tools/vtools/vfault/bin
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # For 3-step (ncvlog, ncelab, and ncsim) flow to run Virtuoso AMS Designer simulator,
    # the following library path environment variable has to be set.
    # For single-step (irun) running AMS simulator, LD_LIBRARY_PATH is not required.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    #export LD_LIBRARY_PATH=$CADHOME/INCISIVE151/tools/lib/64bit:$CADHOME/INCISIVE151/tools/lib
    # Enable noise analysis in AMS designer
    AMS_ENABLE_NOISE=YES
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Set up Universal Verification Methodology (UVM) Environment Variables
    # uvm_home defines the path to the UVM class library
    # ml_uvm defines the path to the ml_uvm code
    # ml_seq_dir defines the path to the SystemVerilog ml_uvm_seq package for using
    # sequencer stubs
    # The SystemVerilog package ml_uvm_seq is included in the Specman installation.
    # To use it, you must add the following command-line options to your compilation flow,
    # as additional command-line arguments to irun or ncvlog :
    # irun ... ${ML_SEQ_DIR}/ml_uvm_seq.sv -incdir ${ML_SEQ_DIR}
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export uvm_home=$CADHOME/INCISIVE151/tools/uvm
    export ml_uvm=$CADHOME/INCISIVE151/tools/uvm/uvm_lib/uvm_ml/sc/ml_uvm
    export ml_seq_dir=$CADHOME/INCISIVE151/specman/src
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Set up the HOME Environment Variable for Incisive Verification Kits
    # Source the appropriate environment setup file (Note: a space is required
    # between . and $SOCV_KIT_HOME/env.sh)
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    #export SOCV_KIT_HOME=$CADHOME/INCISIVE151/kits/VerificationKit
    #. $SOCV_KIT_HOME/env.sh
    # Command on terminal to start up Incisive Verification Kits
    # start_kit &
    #***********************************************************************
    # Command on terminal to launch NClaunch
    #***********************************************************************
    # nclaunch &
    # Command on terminal to start up Specman & SimVision
    # specman -gui &
    # Command on terminal to invoke Desktop Manager
    # emanager -desktop &
    # vmanager &
    # Encounter Diagnostics & Test (ET)
    export PATH=$PATH:$CADHOME/ET151/bin
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Command on terminal to launch ET,  or with license options: -architect/-truetime/-diag
    # commands eta, ett and ediag are equivalent to et -architect, et -truetime and et -diag
    # which invokes Encounter Test Architect,  Encounter True_time Delay Test and
    # Encounter Diagnostics, respectively.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # eta &
    # ett &
    # ediag &
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Verification IP Product Catalog (VIPCAT)
    # VIP products are configured using a GUI called PureView.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export CDN_VIP_ROOT=$CADHOME/VIPCAT113
    export CADENCE_VIP_LIC_ORDER=newrev:soc:portfolio:alacarte
    export ABVIP_ISNT_DIR=$CDN_VIP_ROOT/tools/abvip
    # In e , set SPECMAN_PATH to the location of the specific UVC directory
    export SPECMAN_PATH=$PATH:$CDN_VIP_ROOT/utils:$CDN_VIP_ROOT/packages:$CDN_VIP_ROOT/vips/enet/vr_enet
    export DENALI=$CDN_VIP_ROOT/tools/denali_64bit
    export PATH=$PATH:$DENALI/bin
    # In SV, add the UVC by including the specific VIP SV directory in the irun command:
    #irun -incdir $CDN_VIP_ROOT/vips/enet/vr_enet/sv
    # Command on terminal to launch PureView to configure VIP products.
    # pureview
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Manufacturability and Variability Sign-Off (MVS) - Litho Analyzers,
    # CMP Predictor
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export PATH=$PATH:$CADHOME/MVS152/tools/bin
    # Commands on terminal to launch Litho Analyzers, CMP Predictor
    #lpa &
    #lea &
    # need to figure out correct license keys in license.dat for CMP Predictor
    # (current ones don't work)
    #cmms -ccp &
    #cmms -ccpo &
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Library Characterizer (Liberate
    # Include the integrated Spectre in PATH
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    #export ALTOSHOME=$CADHOME/LIBERATE151
    #export PATH=$PATH:$ALTOSHOME/bin
    #export PATH=$PATH:$ALTOSHOME/tools.lnx86/spectre/bin
    #export ALTOS_64=1
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Set up NCSU CDK
    # This is optional for educational purpose; use foundry provided PDKs
    # instead for production projects by including foundry PDKs in cds.lib
    # in the working directory.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export CDK_DIR=/opt/PDKs/ncsu-cdk-1.6.0.beta
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Mentor Graphics Calibre
    # MGC_HOME environment variable has been deprecated in favor
    # of CALIBRE_HOME. 
    # Use absolute PATH to license.dat instead of port@hostname
    # .cdsinit in the working directory should be modified for Calibre to
    # be integrated into Virtuoso menu bar.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export MGC_HOME=/opt/mentor
    export CALIBRE_HOME=$MGC_HOME/Calibre2015/aoi_cal_2015.2_36.27
    export MGLS_LICENSE_FILE=$MGC_HOME/license/license.dat
    export PATH=$PATH:$CALIBRE_HOME/bin
    export MGC_LIB_PATH=$CALIBRE_HOME/lib
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Mentor Environment Checking
    # CALIBRE_OS_MSG_LEVEL variable is deprecated with the Calibre 2013.1 release.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    #***********************************************************************
    # Enable Calibre RealTime with Cadence Virtuoso
    #***********************************************************************
    #export MGC_CALIBRE_REALTIME_VIRTUOSO_ENABLED=1
    #export OA_PLUGIN_PATH=$CALIBRE_HOME/shared/pkgs/icv/tools/queryskl
    #export LD_LIBRARY_PATH=$CALIBRE_HOME/shared/pkgs/icv/tools/calibre_client/lib/64:${LD_LIBRARY_PATH}
    #export MGC_CALIBRE_REALTIME_VIRTUOSO_SAVE_MESSENGER_CELL=1
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # This variable enables Calibre Interactive to save all GUI settings including default
    # values to a runset file for future re-run
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export MGC_CALIBRE_SAVE_ALL_RUNSET_VALUES=1
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Set up socket connection with Virtuoso schematic or layout viewer (using default ports
    # 9199 for schematic and 9189 for layout) in the form of host:port
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export MGC_CALIBRE_SCHEMATIC_SERVER=ic:9199
    export MGC_CALIBRE_LAYOUT_SERVER=ic:9189
    export MGC_CALIBRE_LAYOUT_SERVER=ic:1989
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Set up foundry DFM PATH for Calibre - CRNxxG/CRNxxLP process for current project
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    export TSMC_CAL_DFM_PATH=/opt/PDKs/tsmc/CRNxxG/Calibre/lvs/DFM
    #export TSMC_CAL_DFM_PATH=/opt/PDKs/tsmc/CRNxxLP/Calibre/lvs/DFM
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # The license server is no longer needed once all features are set to uncounted or 0
    # (unlimited use) for the FEATURE lines in license.dat. file.  The SERVER, VENDOR and
    # USE_SERVER lines can be safely removed from license.dat file, i.e. license.dat here
    # contains FEATURE lines only.  DO NOT START UP LICENSE SERVER DAEMON!!!
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    #***********************************************************************
    # Set the name of the executable for displaying PDF documentation from Calibre Help
    # menu. The default is acroread if it exists.  Make sure evince has been installed before
    # setting up the following (on Ubuntu type command "sudo apt-get install evince").
    #***********************************************************************
    export MGC_PDF_READER=evince
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # Command on terminal to launch Cadence Virtuoso tools
    # Adding & runs the process in the background allowing to continue using
    # the current terminal.
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    #virtuoso &

    [/collapse]

    在.bashrc中关于CADHOME为Cadence 安装目录,CDS为IC617安装目录,CDS_LIC_FILE为Cadence License文件目录,MMSIMHOME为MMSIM仿真器安装目录,CALIBRE_HOME为验证器Calibre安装目录。
    文件中还涉及到QRC、K2、ASSURA、Universal Verification Methodology (UVM) 等诸多插件的配置,没有安装对应插件需要注释掉所有相关配置,若有使用则需要正确配置路径。
    三、配置.cshrc
    为了配置文件更加简洁明了,方便后期维护与环境的升级,采用csh环境编写.cshrc配置Cadence启动。
    [collapse status="false" title=".cshrc"]

    etenv CADHOME /opt/cadence
    setenv SPECTRE_DEFAULTS -E
    setenv LANG C
    setenv CDS_Netlisting_Mode Analog
    setenv CDS_ENABLE_VMS 1
    setenv CDS_LOAD_ENV CWD
    #setenv CDS_LOAD_ENV CSF
    setenv CDS ${CADHOME}/IC618
    setenv CDSDIR ${CDS}
    setenv CDSHOME ${CDS}
    setenv CADENCE_DIR ${CDS}
    setenv CDS_INST_DIR ${CDS}
    setenv CDS_ROOT ${CDS}
    setenv CDSROOT ${CDS}
    setenv PATH ${PATH}:${CDSDIR}/tools/bin:${CDSDIR}/tools/dfII/bin
    setenv CDS_SPECTRERF_FBENABLE 1
    setenv CDS_LIC_FILE ${CADHOME}/license/license.dat
    setenv CDS_LIC_ONLY 1
    setenv CDS_AUTO_64BIT ALL
    setenv OA_UNSUPPORTED_PLAT linux_rhel50_gcc44x
    setenv OA_HOME ${CDSDIR}/oa_v22.60.007
    setenv OA_PLUGIN_PATH ${PATH}:${CDSDIR}/oa_v22.60.007/data/plugins
    setenv W3264_NO_HOST_CHECK 1
    setenv SPECTRE_HOME /opt/cadence/IC618/SPECTRE181
    setenv PATH ${PATH}:${SPECTRE_HOME}/bin:${SPECTRE_HOME}/tools/bin
    setenv MENTOR_HOME /opt/mentor
    setenv CALIBRE_HOME ${MENTOR_HOME}/Calibre2021.1_aoj/aoj_cal_2021.1_33.19
    setenv MGC_HOME ${CALIBRE_HOME}
    setenv MGLS_LICENSE_FILE ${MENTOR_HOME}/license/license.dat
    setenv PATH ${PATH}:${CALIBRE_HOME}/bin
    setenv MGC_LIB_PATH ${CALIBRE_HOME}/lib
    setenv CALIBRE_ENABLE_SKILL_PEXBA_MODE 1
    setenv MGC_CALIBRE_REALTIME_VIRTUOSO_ENABLED 1
    setenv OA_PLUGIN_PATH ${CALIBRE_HOME}/shared/pkgs/icv/tools/queryskl
    setenv LD_LIBRARY_PATH ${CALIBRE_HOME}/shared/pkgs/icv/tools/calibre_client/lib/64
    #if ($?LD_LIBRARY_PATH) then
    
    #setenv LD_LIBRARY_PATH ${CALIBRE_HOME}/shared/pkgs/icv/tools/calibre_client/lib/64:$ {LD_LIBRARY_PATH}
    
    #else
    
    #setenv LD_LIBRARY_PATH $ {CALIBRE_HOME}/shared/pkgs/icv/tools/calibre_client/lib/64
    
    #endif
    setenv MGC_CALIBRE_REALTIME_VIRTUOSO_SAVE_MESSENGER_CELL 1
    setenv MGC_CALIBRE_SAVE_ALL_RUNSET_VALUES 1
    

    [/collapse]
    上述.cshrc整体更加简洁,所用到的IC617、Calibre2015、MMSIM151都有对应配置方便后期维护,如果还需要其他验证器例如ASSURA可以参考.bashrc文件进行配置。



沪ICP备19023445号-2号
友情链接