veriuser_mti.c
来自「pli_handbook_examples_pc verilog hdl 与C」· C语言 代码 · 共 22 行
C
22 行
/**********************************************************************
* Example file to register PLI applications with the Model Technology
* ModelSim simulator.
*
* For the book, "The Verilog PLI Handbook".
*********************************************************************/
#include "veriuser.h"
#include "veriusertfs_table.h"
void init_usertfs()
{
p_tfcell usertf;
for (usertf = veriusertfs; usertf; usertf++) {
if (usertf->type == 0)
return;
mti_RegisterUserTF(usertf);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?