12.07.2015 Views

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Using VCS with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Setting Environment VariablesFirst, set the basic environment variables. If you are not using one of the model types,skip that step. In some cases the procedures that follow in this chapter include steps <strong>for</strong>setting additional environment variables.1. Set the LMC_HOME environment variable to point to the location of yourSmartModel, FlexModel, or Designware Memory Model installation tree, asfollows:% setenv LMC_HOME path_to_models_installation2. Set the LM_LICENSE_FILE or SNPSLMD_LICENSE_FILE environment variableto point to the product authorization file, as shown in the following example:% setenv LM_LICENSE_FILE path_to_product_authorization_file% setenv SNPSLMD_LICENSE_FILE path_to_product_authorization_fileYou can put license keys <strong>for</strong> multiple products (<strong>for</strong> example, Smart<strong>Models</strong> andhardware models) into the same authorization file. If you need to keep separateauthorization files <strong>for</strong> different products, use a colon-separated list to specify thesearch path in your variable setting.CautionDo not include la_dmon-based authorizations in the same file with snpslmdbasedauthorizations. If you have authorizations that use la_dmon, keepthem in a separate license file that uses a different license server (lmgrd)process than the one you use <strong>for</strong> snpslmd-based authorizations.3. If you are using the hardware modeler, set the LM_DIR and LM_LIB environmentvariables, as shown in the following examples:% setenv LM_DIR hardware_model_install_path/sms/lm_dir% setenv LM_LIB hardware_model_install_path/sms/models: \hardware_model_install_path/sms/mapsIf you put your models in a directory other than the default of /sms/models, modifythe above variable setting accordingly.4. Depending on your plat<strong>for</strong>m, set your library search path variable to point to theplat<strong>for</strong>m-specific directory in $LMC_HOME, as shown in the following examples:Solaris 32-bit:% setenv LD_LIBRARY_PATH $LMC_HOME/lib/sun4Solaris.lib:$LD_LIBRARY_PATHLinux:% setenv LD_LIBRARY_PATH $LMC_HOME/lib/x86_linux.lib:$LD_LIBRARY_PATH40 <strong>Synopsys</strong>, Inc. October 6, 2003

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!