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>Using Custom Memory <strong>Models</strong> withMTI VHDLTo use custom memory models with MTI VHDL, follow this procedure:1. Make sure MTI VHDL is set up properly and all required environment variables areset, as explained in “Setting Environment Variables” on page 73.2. Append the shared library location to the library search path environment variablesetting.❍❍Solaris or Linux:% setenv LD_LIBRARY_PATH \$LMC_HOME/lib/plat<strong>for</strong>m.lib:$LD_LIBRARY_PATHwhere plat<strong>for</strong>m is sun4Solaris or x86_linuxHP-UX:% setenv SHLIB_PATH \$LMC_HOME/lib/hp700.lib:$SHLIB_PATH3. Create slm_lib and work directories:% vlib ./slm_lib% vlib ./work4. Create the logical to physical mapping <strong>for</strong> the slm_lib and work libraries:% vmap slm_lib ./slm_lib% vmap work ./workThis step also creates a modelsim.ini file in the current working directory.5. Open the modelsim.ini file in a text editor, and edit the line <strong>for</strong> Resolution, as shownin the following example:Resolution = 100ps6. Compile the DWMM VHDL files into your slm_lib library:% vcom -93 -work slm_lib $LMC_HOME/sim/mti/src/slm_hdlc.vhd% vcom -93 -work slm_lib $LMC_HOME/sim/mti/src/mempro_pkg.vhd294 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!