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 9: Using VERA with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong># generate library slm_libslm_lib :@rm -rf slm_lib$(VLIB) slm_lib$(VCOM) $(VCOM_OPT) ${LMC_HOME}/sim/mti/src/slm_hdlc.vhd$(VCOM) $(VCOM_OPT) ${LMC_HOME}/sim/mti/src/flexmodel_pkg.vhd$(VCOM) $(VCOM_OPT) ./src/vhdl/enethub_user_pkg.vhd$(VCOM) $(VCOM_OPT) ./src/vhdl/enethub_pkg.vhd$(VCOM) $(VCOM_OPT) ./src/vhdl/enettx_user_pkg.vhd$(VCOM) $(VCOM_OPT) ./src/vhdl/enettx_pkg.vhd$(VCOM) $(VCOM_OPT) ./src/vhdl/enetrx_user_pkg.vhd$(VCOM) $(VCOM_OPT) ./src/vhdl/enetrx_pkg.vhdifeq ($(EXAMPLE_TB), full_duplex)$(VCOM) $(VCOM_OPT) ./src/vhdl/rmiirs_user_pkg.vhd$(VCOM) $(VCOM_OPT) ./src/vhdl/rmiirs_pkg.vhdendif$(VCOM) $(VCOM_OPT) ./examples/vhdl/enethub_fx_mti.vhd$(VCOM) $(VCOM_OPT) ./examples/vhdl/enettx_fx_mti.vhd$(VCOM) $(VCOM_OPT) ./examples/vhdl/enetrx_fx_mti.vhdifeq ($(EXAMPLE_TB), full_duplex)$(VCOM) $(VCOM_OPT) ./examples/vhdl/rmiirs_fx_mti.vhdendif$(VCOM) $(VCOM_OPT) ${SRC_DIR}/enetsys_comp.vhd$(VCOM) $(VCOM_OPT) ./examples/vhdl/enethub.vhd$(VCOM) $(VCOM_OPT) ./examples/vhdl/enettx.vhd$(VCOM) $(VCOM_OPT) ./examples/vhdl/enetrx.vhdifeq ($(EXAMPLE_TB), full_duplex)$(VCOM) $(VCOM_OPT) ./examples/vhdl/rmiirs.vhdendif#check if LD_LIBRARY_PATH contains vera_outcheck_env :@if [ -z "`echo ${LD_LIBRARY_PATH} | grep "vera_out"`" ]; then \echo ""; \echo "LD_LIBRARY_PATH should contain ./vera_out (path to libvera_sro.so)"; \echo ""; \exit 1; \fi# generate the list of simulator commands../sim.cmd :@echo "run -all" > ./sim.cmd@echo "quit" >> ./sim.cmd# generate vera.ini./vera.ini :@echo "vera_pload=$(PROJ_FILE)" > ./vera.ini# Generate modelsim.ini if it does not exist.# Existance is checked to enable the user to use his own modelsim.ini# There<strong>for</strong>e, modelsim.ini is also not removed in cleaning targets below.ini :@if [ ! -f modelsim.ini ]; then \echo "[Library]" > modelsim.ini; \222 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!