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>Table 6: VCS SmartModel Explanation (Continued)Line ReferenceDescription-l vcs_sim.log Specifies a log file where VCS writes compilationand simulation messages.-Mupdate-RI-LDFLAGS switchesThis specifies incremental compilation, whichcauses VCS to compile only the modules that havechanged since the last run.This makes VCS run interactively. VCS invokes theVirSim GUI after compilation and pauses thesimulator at time zero.Additional plat<strong>for</strong>m-specific switches that may beneeded.-full64 Compiles the design in 64 bit mode and creates a 64bit executable <strong>for</strong> simulating in 64 bit mode.Using Flex<strong>Models</strong> with VCSTo use Flex<strong>Models</strong> with VCS, follow this procedure. VCS links the external PLIroutines that contain the custom FlexModel integration code during compilation of yourdesign.1. Make sure VCS is set up properly and all required environment variables are set, asexplained in “Setting Environment Variables” on page 40.2. Create a working directory and run flexm_setup to make copies of the model'sinterface and example files there, as shown in the following example:% $LMC_HOME/bin/flexm_setup -dir workdir model_fxYou must run flexm_setup every time you update your FlexModel installation witha new model version. Table 7 lists the files that flexm_setup copies to your workingdirectory.Table 7: FlexModel VCS Verilog FilesFile Name Description Locationmodel_pkg.incmodel_user_pkg.incVerilog task definitions <strong>for</strong> FlexModelinterface commands. This file alsoreferences the flexmodel_pkg.inc andmodel_user_pkg.inc files.Clock frequency setup and usercustomizations.workdir/src/verilog/workdir/src/verilog/44 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!