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.

Chapter 9: Using VERA with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>EXAMPLE_TB= half_duplex# utilitiesFLEXM_SETUP= ${LMC_HOME}/bin/flexm_setupMTI_BIN = ${MTI_HOME}/sunos5VLIB= ${MTI_BIN}/vlibVSIM= ${MTI_BIN}/vsimVCOM= ${MTI_BIN}/vcom# directories and filesOUT_DIR = ./vera_outSRC_DIR = ./examples/vera/testbench_files/half_duplexifeq ($(EXAMPLE_TB), full_duplex)SRC_DIR = ./examples/vera/testbench_files/full_duplexendifPROJ_FILE= ${SRC_DIR}/enetsys.proj# sourcesVERA_SRC = enetsys_mac1.vr enetsys_mac2.vr enetsys_media.vrVHDL_SRC = enetsys_MAC1_proj_shell.vhd \enetsys_MAC2_proj_shell.vhd \enetsys_media_proj_shell.vhd \${SRC_DIR}/test_top.vhd# optionsDESIGN_UNIT = cfgtopVERA_INC = -I${LMC_HOME}/sim/vera/src -I./src/veraVCOM_OPT = -93 -work slm_lib# miscVERA_OBJ = $(VERA_SRC:%.vr=%.vro)FLEXBASE_VR = lstmodel.vr swiftmodel.vr flexmodel_pkg.vrFLEXBASE_VROS = $(FLEXBASE_VR:%.vr=%.vro)PKG_VR= enettx_pkg.vr enetrx_pkg.vr enethub_pkg.vrifeq ($(EXAMPLE_TB), full_duplex)PKG_VR+= rmiirs_pkg.vrendifPKG_VROS= $(PKG_VR:%.vr=%.vro)## Targets## Default target which runs all the steps of initialization, compilation and simulationin a go.all : initial compile_vera compile_vhdl run# Per<strong>for</strong>m the initial tasks be<strong>for</strong>e compiling and simulating the testbench.initial : flexm_setup link_dl $(OUT_DIR)/$(FLEXBASE_VROS) $(OUT_DIR)/$(PKG_VROS)220 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!