您的位置:技术中心首页 > 逻辑验证 >> Verilog PLI教程 --- 第七部分 VPI 函数

Verilog PLI教程 --- 第七部分 VPI 函数

作者:5life   时间:2006-02-19 05:49:16  来自:本站原创  浏览次数:917  文字大小:【】【】【
简   介:本Verilog PLI教程翻译自asic-world网站的Verilog PLI教程,由于译者水平有限,难免会有一些错误,请与译者5life站内联系。原文地址为:http://www.asic-world.com/verilog/pli7.html

Routine

Description

vpi_chk_error()

Checks whether the previous VPI call has caused an error and retrieves information about that error.

vpi_compare_objects()

Compares two object handles to determine whether they reference the same object.

vpi_control()

Passes information from user code to the simulator.

vpi_flush()

Flushes the data from the stimulator output channel and log file output buffers.

vpi_free_object()

Frees the memory that is allocated for VPI objects.

vpi_get()

Retrieves the value of an integer or Boolean property of an object.

vpi_get_cb_info()

Retrieves information about a simulation-related callback.

vpi_get_data()

Gets data from an implementation's save/restart location.

vpi_get_delays()

Retrieves the delays or timing limits of an object.

vpi_get_str()

Retrieves the value of a string property of an object.

vpi_get_systf_info()

Retrieves information about a user-defined system task or function.

vpi_get_time()

Retrieves the current simulation time, using the timescale of the object.

vpi_get_userdata()

Retrieves the user data value from an implementation's system task/function storage location.

vpi_get_value()

Retrieves the simulation value of an object.

vpi_handle()

Returns a handle to an object that has a one-to-one relationship.

vpi_handle_by_index()

Returns a handle to an object, using the object's index number within a parent object.

vpi_handle_by_name()

Returns a handle to an object that has a specific name.

vpi_handle_multi()

Returns a handle to an object that has a many-to-one relationship.

vpi_iterate()

Returns an iterator handle that you use to access objects that are in a one-to-many relationship.

vpi_mcd_open()

Opens a file for writing.

vpi_mcd_close()

Close one or more files opened by the vpi_mcd_open() routine.

vpi_mcd_flush()

Use this function to flush the data from the given MCD output buffers.

vpi_mcd_name()

Returns the name of a file that is represented by a channel descriptor.

vpi_mcd_printf()

Writes to one or more files opened by vpi_mcd_open().

vpi_printf()

Writes to the output channel of the simulator that has invoked the VPI application and to the simulator log file.

vpi_put_data()

Puts data into an implementation's save/restart location.

vpi_put_delays()

Sets the delays or timing limits of an object.

vpi_put_userdata()

Puts the user data value into an implementation's system task/function storage location.

vpi_put_value()

Sets a value on an object.

vpi_register_cb()

Registers a simulation-related callback.

vpi_register_systf()

Registers a user-defined system task or function callback.

vpi_remove_cb()

Removes a simulation callback that has been registered with vpi_register_cb().

vpi_scan()

Scans the Verilog HDL hierarchy for objects that have a one-to-many relationship.

vpi_vprintf()

Writes to the output channel of the simulator that has invoked the VPI application and to the simulator log file using varargs that are already started.

   
责任编辑:5life

更多相关 Veirlog PLI 教程 的文章

全定制电路简易教程 -- LVS检查 [2006-10-19]
全定制电路简易教程 -- DRC检查 [2006-10-19]
全定制电路简易教程 -- 使用Vituoso画版图 [2006-10-19]
全定制电路简易教程 -- 电路仿真 [2006-10-19]
全定制电路简易教程 -- 产生电路符号 [2006-10-19]
全定制电路简易教程 -- 使用Composer画逻辑电路图 [2006-10-19]
Modelsim 教程 [2006-03-26]
PrimePower 教程 [2006-03-26]
Debussy 教程 [2006-03-26]
Verilog PLI教程 --- 第三部分 PLI 程序 [2006-02-19]
本文共有0条评论,现在显示最新的5条。

栏目导航

电路基础
硬件语言
逻辑验证
电路综合
后端设计
可测设计
基本逻辑
制造工艺
书籍精选
说文解字
工具学习
数字滤波
趣闻逸事
数字锁相
设计杂项
低耗设计

站点最新

更多相关链接

  仿真工作流程(Verilog/M...
  Modelsim 教程
  Debussy 教程
  Verilog PLI教程 --- 第...
  Verilog PLI教程 --- 第...
  Verilog PLI教程 --- 第...
  Verilog PLI教程 --- 第...
  Verilog PLI教程 --- 第...
  PLI步步为营 -- 二、PLI...
  PLI步步为营 -- 一、PLI概述

栏目最新

更多相关链接

  仿真工作流程(Verilog/M...
  Modelsim 教程
  Debussy 教程
  Verilog PLI教程 --- 第...
  Verilog PLI教程 --- 第...
  Verilog PLI教程 --- 第...
  Verilog PLI教程 --- 第...
  Verilog PLI教程 --- 第...
  PLI步步为营 -- 二、PLI...
  PLI步步为营 -- 一、PLI概述

热点文章

更多相关链接