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># re/compile Vera testbench source files.compile_vera : $(OUT_DIR)/$(VERA_OBJ) proj# compile HDL shell files and top VHDL testbench file.compile_vhdl : slm_lib$(VCOM) $(VCOM_OPT) $(VHDL_SRC)# run the simulation. (check the environment and build the required files first).run : check_env ini ./vera.ini ./sim.cmdcp $(SRC_DIR)/*.dat .$(VSIM) -c -do sim.cmd -t ps -lib slm_lib $(DESIGN_UNIT)# copy useful files related to ethernet flexmodels from LMC_HOMEflexm_setup :$(FLEXM_SETUP) -dir ./ enettx_fx$(FLEXM_SETUP) -dir ./ enetrx_fx$(FLEXM_SETUP) -dir ./ enethub_fxifeq ($(EXAMPLE_TB), full_duplex)$(FLEXM_SETUP) -dir ./ rmiirs_fxendif# link together the dynamic library of the FlexModel command corelink_dl : $(OUT_DIR)/vera_user.old -G -z text -o $(OUT_DIR)/vera_mti.dl \${LMC_LIB_DIR}/vera_slm_mti.o \$(OUT_DIR)/vera_user.o \${VERA_HOME}/lib/mti/mti_bridge.a \${VERA_HOME}/lib/libVERA.a -lsocket -lnsl -lintl -lm -lc# compile the table of in<strong>for</strong>mation about the FlexModel command core$(OUT_DIR)/vera_user.o :@mkdir -p $(OUT_DIR)/d/SUNWspro4/bin/c89 -K pic -c -I${VERA_HOME}/lib${LMC_HOME}/sim/vera/src/vera_user.c \-o $(OUT_DIR)/vera_user.o# compile the flex related vera files$(OUT_DIR)/$(FLEXBASE_VROS) :vera -cmp -q -I${LMC_HOME}/sim/vera/src ${LMC_HOME}/sim/vera/src/$(notdir$(@:.vro=.vr)) $(OUT_DIR)# compile _pkg.vr$(OUT_DIR)/$(PKG_VROS) :vera -cmp -q $(VERA_INC) ./src/vera/$(notdir $(@:.vro=.vr)) $(OUT_DIR)# compile testbench source vera files$(OUT_DIR)/$(VERA_OBJ) :vera -cmp -q -mti $(VERA_INC) $(SRC_DIR)/$(notdir $(@:.vro=.vr)) $(OUT_DIR)# Create Vera shell files <strong>for</strong> each testbench module listed in the project fileproj :vera -mti -proj $(PROJ_FILE)October 6, 2003 <strong>Synopsys</strong>, Inc. 221

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

Saved successfully!

Ooh no, something went wrong!