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 3: Using ModelSim Verilog with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Then uncomment the libsm and libswift lines corresponding to the plat<strong>for</strong>m you areusing:; ModelSim’s interface to Logic Modeling’s SmartModel SWIFT software;libsm = $MODEL_TECH/libsm.sl; libsm = $MODEL_TECH/libsm.dll; Logic Modeling’s SmartModel SWIFT software (HP 9000 Series 700); libswift = $LMC_HOME/lib/hp700.lib/libswift.sl; Logic Modeling’s SmartModel SWIFT software (IBM RISC System/6000); libswift = $LMC_HOME/lib/ibmrs.lib/swift.o; Logic Modeling’s SmartModel SWIFT software (Sun4 Solaris); libswift = $LMC_HOME/lib/sun4Solaris.lib/libswift.so; Logic Modeling’s SmartModel SWIFT software (Sun4 SunOS); do setenv LD_LIBRARY_PATH $LMC_HOME/lib/sun4SunOS.lib; and run "vsim.swift".; ; libswift = $LMC_HOME/lib/pcnt.lib/libswift.dll; Logic Modeling's SmartModel SWIFT software (HP64); libswift = $LMC_HOME/lib/hp64.lib/libswift.sl; Logic Modeling's SmartModel SWIFT software (Sparc64); libswift = $LMC_HOME/lib/sparc64.lib/libswift.soNoteIf you are using VHDL Smart<strong>Models</strong> in your Verilog simulation, you mustalso edit the modelsim.ini file to uncomment the libsm and libswift lines <strong>for</strong>your plat<strong>for</strong>m (see “Using ModelSim VHDL with <strong>Synopsys</strong> <strong>Models</strong>” onpage 73).5. Compile your code as shown in the following examples:UNIX% vlog testbench model.v +incdir+$LMC_HOME/sim/pli/src6. Invoke the simulator as shown in the following examples:HP-UX 32-bit% vsim -pli $LMC_HOME/lib/hp700.lib/swiftpli_mti.sl designSolaris 32-bit% vsim -pli $LMC_HOME/lib/sun4Solaris.lib/swiftpli_mti.so designHP64% vsim -pli $LMC_HOME/lib/hp64.lib/swiftpli_mti.sl designSparc64% vsim -pli $LMC_HOME/lib/sparc64.lib/swiftpli_mti.so designAIX% vsim -pli $LMC_HOME/lib/ibmrs.lib/swiftpli_mti.so design62 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!