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>Appendix A: Using LMTV with <strong>Synopsys</strong> <strong>Models</strong>char *veriuser_version_str = "";int (*endofcompile_routines[TF_MAXARRAY])() ={/*** my_eoc_routine, ***/0 /*** final entry must be 0 ***/};bool err_intercept(level,facility,code)int level; char *facility; char *code;{ return(true); }s_tfcell veriusertfs[TF_MAXARRAY] ={/*** Template <strong>for</strong> an entry:{ usertask|userfunction, data,checktf(), sizetf(), calltf(), misctf(),"$tfname", <strong>for</strong>wref?, Vtool?, ErrMsg? },Example:{ usertask, 0, my_check, 0, my_func, my_misctf, "$my_task" },***//*** add user entries here ***/#include "ccl_lmtv_include_code.h"/* ------------- cut here - section 2 -------------- */{ usertask, 0, 0, 0, pli_slm_post, 0,"$slm_post_hdl", true },{ usertask, 0, 0, 0, pli_slm_post, 0, "$slm_post",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 },{ usertask, 0, slm_transport_checktf, 0, slm_transport, 0,"$slm_transport", true },{ usertask, 0, slm_inertial_checktf, 0, slm_inertial, 0,"$slm_inertial", true },/* ------------- end section 2 -------------- */};{0} /*** final entry must be 0 ***/October 6, 2003 <strong>Synopsys</strong>, Inc. 269

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

Saved successfully!

Ooh no, something went wrong!