vpi_user_xl.c

来自「pli_handbook_examples_pc verilog hdl 与C」· C语言 代码 · 共 25 行

C
25
字号
/**********************************************************************
 * Example vpi_user.c file
 *
 * vpi_user.c file to register PLI applications using the VPI library.
 *
 * 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
 *********************************************************************/

#include "vpi_user.h"
#include "vpi_user_cds.h"

/* prototypes of the PLI application routines */
extern void PLIbook_pow_register();

void (*vlog_startup_routines[])() = 
{
    /*** add user entries here ***/
  PLIbook_pow_register,
  0 /*** final entry must be 0 ***/
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?