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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>vChapter 5: Using NC-Verilog with <strong>Synopsys</strong> <strong>Models</strong>AIX:% setenv LIBPATH $LMC_HOME/lib/ibmrs.lib: \$CDS_INST_DIR/tools/lib:$LIBPATHHP-UX 32-bit:% setenv SHLIB_PATH $LMC_HOME/lib/hp700.lib:$CDS_INST_DIR/tools/lib: \$SHLIB_PATHHP-UX 64-bit% setenv SHLIB_PATH $LMC_HOME/lib/hp64.lib:$CDS_INST_DIR/tools/lib: \$SHLIB_PATHRunning 32-bit <strong>Models</strong> on 64-bit Plat<strong>for</strong>msIf you want to run 32-bit <strong>Synopsys</strong> models or tools on a 64-bit HP-UX or Solarisplat<strong>for</strong>m, set the LMC_USE_32BIT environment variable to any value be<strong>for</strong>e invokingthe tool, as shown in the following example:% setenv LMC_USE_32BIT 1The LMC_USE_32BIT environmental variable is a “set/no-set” variable. That is, youcan set it to any value (even zero) to turn on 32-bit support on a 64-bit plat<strong>for</strong>m. If youdo not set it at all, the default condition is 32-bit models on 32-bit plat<strong>for</strong>ms, or 64-bitmodels on 64-bit plat<strong>for</strong>ms. You only set this environmental variable (to any value)when you are on a 64-bit plat<strong>for</strong>m using 32-bit models and simulators.Using Smart<strong>Models</strong> with NC-VerilogSmart<strong>Models</strong> work with NC-Verilog using a PLI application called LMTV that isdelivered in the <strong>for</strong>m of a swiftpli shared library in $LMC_HOME/lib/plat<strong>for</strong>m.lib.For in<strong>for</strong>mation on static linking LMTV, see “Static Linking with LMTV” on page 268.To use the prebuilt swiftpli, follow this procedure:1. Make sure NC-Verilog is set up properly and all required environment variables areset, as explained in “Setting Environment Variables” on page 89.2. Instantiate Smart<strong>Models</strong> in your design, defining the ports and defparams asrequired. For details on required SmartModel SWIFT parameters and modelinstantiation examples, refer to “Using Smart<strong>Models</strong> with SWIFT <strong>Simulator</strong>s” onpage 18.3. There is no need to build a Verilog executable. You can use the one from$CDS_INST_DIR/tools/bin by adding it to your path statement.October 6, 2003 <strong>Synopsys</strong>, Inc. 91

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

Saved successfully!

Ooh no, something went wrong!