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.

Appendix B: Using Custom Memory <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>❍❍If you are using the MemScope Dynamic Data Exchange (DDX) feature:% vcs Verilog_modules custom_model_files \-Xstrict=0x01 -syslib “-lpthread” \$LMC_HOME/lib/sun4Solaris.lib/slm_pli.o \-P local_slm_pli.tab your_testbench.c \-CFLAGS “-I$LMC_HOME/include” \+incdir+$LMC_HOME/sim/pli/srcHP-UX:Linux:% vcs Verilog_modules custom_model_files \$LMC_HOME/lib/hp700.lib/slm_pli.o \-P local_slm_pli.tab your_testbench.c \-CFLAGS “-I$LMC_HOME/include” \+incdir+$LMC_HOME/sim/pli/src \% vcs Verilog_modules custom_model_files \$LMC_HOME/lib/x86_linux.lib/slm_pli.o \-P local_slm_pli.tab your_testbench.c \-CFLAGS “-I$LMC_HOME/include” \+incdir+$LMC_HOME/sim/pli/src \-LDFLAGS -rdynamic7. Invoke VCS and simulate your design:% simvVCS Custom Memory Model ExplanationTable 40 lists and explains each line in the invocation examples above.Table 40: VCS Custom Memory Model ExplanationLine Reference$VCS_HOME/bin/vcscustom_model.v custom_model_tb.vDescriptionPath to the file that starts the VCS simulator,followed by the specified model andtestbench Verilog files.-P $LMC_HOME/sim/pli/src/slm_pli.tab Specifies the PLI table entry file.$LMC_HOME/lib/sun4Solaris.lib/slm_pli.o-Mupdate-LDFLAGS switchesSpecifies the plat<strong>for</strong>m-specific PLI objectfile.This specifies incremental compilation,which causes VCS to compile only themodules that have changed since the last run.Additional plat<strong>for</strong>m-specific switches thatmay be needed.288 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!