返回介绍

30.12 VPI routines added in SystemVerilog

发布于 2020-09-09 22:56:04 字数 1275 浏览 838 评论 0 收藏 0

This section describes the additional VPI routines in detail.

vpi_load_extension()
Synopsis: Load specified VPI extension. The general form of this function allows for later extensions.
For the reader-specific form, initialize the reader with access mode, and specify the database if used.
Syntax: vpi_load_extension(PLI_BYTE8 *extension_name, ...) in its general form
vpi_load_extension( PLI_BYTE8 *extension_name,
PLI_BYTE8 *name,
vpiType mode, ...) for the reader extension
Returns: PLI_INT32, 1 for success, 0 for fail.
Arguments:
PLI_BYTE8 *extension_name: Extension name of the extension library to be loaded.
In the case of the reader, this is the reader VPI library (with the supported navigation
VPI routines).
...: Contains all the additional arguments. For the reader extension these are:
PLI_BYTE8 *name: Database.
vpiType mode:
vpiAccessLimitedInteractive: Access data in tool memory, with limited
history. The tool shall at least have the current time value, no history is required.
vpiAccessInteractive: Access data interactively. Tool shall keep value history up
to the current time.
vpiAccessPostProcess: Access data stored in specified database.
...: Additional arguments if required by specific reader extensions.
Related routines: None.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文