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.

Chapter 9: Using VERA with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>NoteIf you are building the VERA dynamic library on Solaris, do not use the -Bsymbolic switch. Using this switch results in unresolved symbol warnings.5. Create a VERA testbench.For details, refer to “Creating a VERA Testbench” on page 210.6. Compile the VERA testbench.Although you need to include only the flexmodel_pkg.vrh and model_pkg.vrh filesin your VERA testbench, the VERA compiler needs to find the other header filestoo; there<strong>for</strong>e, you need to include the path to the VERA header files included inLMC_HOME. The following is a sample compile script:% vera -cmp -I$LMC_HOME/sim/vera/src -I/workdir/src/vera \vera_testbench.vrThis step produces two files: testbench.vro and testbench.vshell.7. Run the VERA testbench in a Verilog or VHDL simulation environment.When you run the Verilog or VHDL simulator, the VERA simulator needs to loadyour compiled VERA object files. You also need to load the following VERA objectfiles:• lstmodel.vro• swiftmodel.vro• flexmodel_pkg.vro• model_pkg.vro• testbench.vroFor more in<strong>for</strong>mation on loading VERA object files, refer to the VERA User <strong>Guide</strong>.AttentionTo prevent your simulation from ending prematurely in cases where theVERA testbench completes be<strong>for</strong>e the Verilog/VHDL testbench, use the+vera_finish_on_end switch on your simulator invocation line.214 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!