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.

<strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Chapter 9: Using VERA with <strong>Synopsys</strong> <strong>Models</strong>* Example:* { usertask, 0, my_check, 0, my_func, my_misctf, "$my_task"* },* ***/{ usertask, 0, 0, 0, pli_slm_post, 0, "$slm_post", true },{ usertask, 0, 0, 0, pli_slm_post, 0, "$slm_post_hdl", true },{ usertask, 0, 0, 0, slm_mempro_handle, 0, "$slm_mempro_handle", true },{ usertask, 0, 0, 0, slm_mempro_width_info, 0, \"$slm_mempro_width_info", true },# include "vmc_veri_fundef.c"#include "ccl_lmtv_include_code.h"/*** add user entries here ***/{0} /*** final entry must be 0 ***/};Dll_Export void init_usertfs(){p_tfcell usertf;<strong>for</strong> (usertf = veriusertfs; usertf; usertf++){if (usertf->type == 0)return;mti_RegisterUserTF(usertf);}}#endifDll_Export int (*endofcompile_routines[])() ={/*** my_eoc_routine, ***/0 /*** final entry must be 0 ***/};4. Build a local libpli library as follows:HP-UX:% /bin/c89 -c +Z -I$LMC_HOME/include -I$VERA_HOME/lib/vlog \-I$CDS_INST_DIR/tools/inca/include -o ./veriuser.o ./veriuser.c% /usr/ccs/bin/ld -b -o ./libpli.sl \./veriuser.o $LMC_HOME/lib/hp700.lib/lmtv.o \$LMC_HOME/lib/hp700.lib/slm_pli_dyn.sl $VERA_HOME/lib/libSysSciTaskPIC.aOctober 6, 2003 <strong>Synopsys</strong>, Inc. 255

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

Saved successfully!

Ooh no, something went wrong!