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>Chapter 2: Using VCS with <strong>Synopsys</strong> <strong>Models</strong>2. Invoke the VCS simulator as shown in the following example:% $VCS_HOME/bin/vcs \./pci_tb/examples/verilog/pcisys_tst.v \./pci_tb/examples/verilog/pcimaster.v \./pci_tb/examples/verilog/pcimaster_fx_vcs.v \./pci_tb/examples/verilog/pcislave.v \./pci_tb/examples/verilog/pcislave_fx_vcs.v \./pci_tb/examples/verilog/pcimonitor.v \./pci_tb/examples/verilog/pcimonitor_fx_vcs.v \+incdir+./pci_tb/src/verilog \+incdir+$LMC_HOME/sim/pli/src \$LMC_HOME/lib/hp700.lib/slm_pli.o \-P $LMC_HOME/sim/pli/src/slm_pli.tab \-l vcs_sim.log \-Mupdate \-RI \-lmc-swiftScript <strong>for</strong> Running FlexModel Examples in VCSOn page 52 is a Perl script (Figure 1) that you can use to run VCS on a FlexModelexample testbench. You can use this script on any installed FlexModel because each onecomes with a prebuilt testbench example that shows how to use the model commandsand all the Verilog wrapper and task definition files that you need. This script runs onHP-UX and Solaris.To invoke VCS on a FlexModel and its example testbench, follow these steps:1. Use the Acrobat Reader’s text selection tool to select the script shown in Figure 1and copy the contents to a local file named run_flex_examples_in_vcs.pl.2. Save the file and change the permissions so that the file is executable (chmod 775).3. Invoke the script as shown in the following examples:% run_flex_examples_in_vcs.pl model_fxwhere model_fx is the name of the FlexModel you want to run.October 6, 2003 <strong>Synopsys</strong>, Inc. 51

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

Saved successfully!

Ooh no, something went wrong!