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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Chapter 9: Using VERA with <strong>Synopsys</strong> <strong>Models</strong>################################################################# #### Makefile <strong>for</strong> compiling the vera_example test benches #### <strong>for</strong> ethernet flexmodels and running the simulation with #### MTI-VHDL simulator on SOLARIS plat<strong>for</strong>m. #### #### Note: This makefile intends to provide just a guideline #### and it is prepared using VERA-5.0 and ModelSim VHDL 5.5c #### <strong>for</strong> SunOS 5.6. #### Please refer to the latest manuals if needed <strong>for</strong> the #### correct settings if you are using other versions or #### environment. ################################################################### #### Note : Be<strong>for</strong>e compiliing or running simulation with #### this Makefile, following environment variables need #### to be set : #### #### LMC_HOME #### VERA_HOME #### MTI_HOME #### LM_LICENSE_FILE #### LD_LIBRARY_PATH (should include "./vera_out" in this case)#### LMC_LIB_DIR (Set to plat<strong>for</strong>m specific library in LMC_HOME;#### $LMC_HOME/lib/sun4Solaris.lib in this case) #### #### path : Add "$VERA_HOME/bin" to $path #### ################################################################### #### Steps to run simulation with this makefile : #### #### "make -f Makefile_mtivhd" (Default target) will run all #### the steps in a go. #### #### To compile and simulate in steps : #### 1. make -f Makefile_mtivhd initial #### 2. make -f Makefile_mtivhd compile_vera #### 3. make -f Makefile_mtivhd compile_vhdl #### 4. make -f Makefile_mtivhd run #### #### To clean the files created during this simulation, one of #### the very_clean, clean and vera_clean targets can be used #### as per the requirement. #### #### Note : By default, the half duplex system example test #### bench is simulated. To simulate full-duplex mode system #### test bench, override EXAMPLE_TB macro from command line #### as EXAMPLE_TB=full_duplex. #### ################################################################### Macros## This macro can be over-ridden as EXAMPLE_TB=full_duplex from# the command line to run the full-duplex mode example.October 6, 2003 <strong>Synopsys</strong>, Inc. 219

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

Saved successfully!

Ooh no, something went wrong!