veriusertfs_table.h
来自「pli_handbook_examples_pc verilog hdl 与C」· C头文件 代码 · 共 33 行
H
33 行
/**********************************************************************
* Example veriusertfs table that is used by many Verilog simulators
* to register PLI applications that use the TF and ACC libraries of
* the IEEE 1364 PLI.
*
* For the book, "The Verilog PLI Handbook" by Stuart Sutherland
* Book copyright 1999, Kluwer Academic Publishers, Norwell, MA, USA
* Contact: www.wkap.il
* Example copyright 1998, Sutherland HDL Inc, Portland, Oregon, USA
* Contact: www.sutherland.com or (503) 692-0898
*********************************************************************/
/* prototypes of the PLI application routines */
extern int PLIbook_ReadVector_checktf(),
PLIbook_ReadVector_calltf(),
PLIbook_ReadVector_misctf();
/* the veriusertfs table */
s_tfcell veriusertfs[] =
{
{usertask, /* type of PLI routine */
0, /* user_data value */
PLIbook_ReadVector_checktf, /* checktf routine */
0, /* sizetf routine */
PLIbook_ReadVector_calltf, /* calltf routine */
PLIbook_ReadVector_misctf, /* misctf routine */
"$read_test_vector", /* system task/function name */
1 /* forward reference = true */
},
{0} /*** final entry must be 0 ***/
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?