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>Solaris% cc -DVERA_UDF -Kpic -c -I. -I$VERA_HOME/lib \$LMC_HOME/sim/vera/src/vera_user.c% ld -G -z text -o ./vera_local.dl ./vera_user.o \$LMC_HOME/lib/sun4Solaris.lib/vera_slm_pli.oHP-UXYou must use an ANSI standard compiler (<strong>for</strong> example, c89) <strong>for</strong> the followingexample to compile:% c89 -DVERA_UDF -c +Z -I$VERA_HOME/lib \$LMC_HOME/sim/vera/src/vera_user.c% ld -b +e Vera_UDF_Table \-o ./vera_local.dl ./vera_user.o \$LMC_HOME/lib/hp700.lib/vera_slm_pli.oLinux% gcc -c -DVERA_UDF -fPIC -I$VERA_HOME/lib \$LMC_HOME/sim/vera/src/vera_user.c% gcc -shared -o vera_local.dl vera_user.o \$LMC_HOME}/lib/x86_linux.lib/vera_slm_pli.o2. Modify the simv build.Modify the simv build by adding the following:❍❍❍-P ${VERA_HOME}/lib/vera_pli_dyn.tab${VERA_HOME}/lib/libSysSciTask.athe vshell file created when you compiled the VERA testbenchFor HP-UX add:-Mupdate=1 -gen_c -LDFLAGS “-W1, -E-W1, -a archive_shared” -ldld (mustcome be<strong>for</strong>e the -vera switch in simulation script.)For Linux add:-LDFLAGS "-rdynamic"For more in<strong>for</strong>mation, refer to the installation and setup chapter in the VERA User<strong>Guide</strong>.216 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!