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 9: Using VERA with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Compiling the VERA Source FilesDWMM models provide VERA source files that contain the classes and methods fromthe DWMM testbench interface. You must compile these files, along with your VERAtestbench that uses these methods, into object files (.vro) that are loaded by the simulatorat runtime.To compile the required VERA source files, follow these steps:1. Compile the VERA source files <strong>for</strong> the DWMM/VERA Testbench Interface.You need to compile two files: lstmodel.vr and mempromodel.vr. The following isa sample compile script:% vera -cmp $LMC_HOME/sim/vera/src/lstmodel.vr \-I$LMC_HOME/sim/vera/src% vera -cmp $LMC_HOME/sim/vera/src/mempromodel.vr \-I$LMC_HOME/sim/vera/src2. Compile the VERA testbench. You need to include the path to the VERA headerfiles in LMC_HOME, as shown in the following example <strong>for</strong> VCS:% vera -cmp vera_testbench.vr -I$LMC_HOME/sim/vera/srcFor details on compiling VERA source files with different simulators, see the VERAUser <strong>Guide</strong>.242 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!