📄 00861.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>第三十一章 SystemVerilog VPI Object Model</title>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<meta name="generator" content="Doc-O-Matic" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="STYLESHEET" href="default.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoadEx('systemverilog31a.html', 'topic', '00861.html');" onmousedown="onBodyMouseDown();">
<!-- Begin Popups -->
<div class="Element801" id="popup00590">
<div class="Element800">
<div class="Element14">
链接</div>
<div class="Element11">
<div class="Element10">
<a href="01006.html" target="topic">主题</a></div>
</div>
</div>
</div>
<!-- End Popups -->
<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="33%">
<div class="Element1">
<a href="#" onmousedown="showPopup(this, 'popup00590');"><img src="seealsolink.png" border="0" alt="" title=""></a> SystemVerilog 3.1a语言参考手册</div>
</td><td width="34%">
<div class="Element2">
</div>
</td><td width="33%">
<div class="Element90">
<a href="00418.html" target="topic"><img src="btn_prev_lightblue.gif" border="0" alt="Previous" title="Previous" onmouseover="switchImage(this, 'btn_prev_lightblue_hover.gif');" onmouseout="switchImage(this, 'btn_prev_lightblue.gif');"></a><img src="btn_up_d.gif" border="0" alt="Up" title="Up"><a href="00448.html" target="topic"><img src="btn_next_lightblue.gif" border="0" alt="Next" title="Next" onmouseover="switchImage(this, 'btn_next_lightblue_hover.gif');" onmouseout="switchImage(this, 'btn_next_lightblue.gif');"></a></div>
</td></tr></table><div class="Element5">
第三十一章 SystemVerilog VPI Object Model</div>
</div>
</div>
<!-- End Page Header -->
<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">
<!-- Begin Page Content -->
<div class="Element58">
<a name="主题"></a><div class="Element14">
<a onclick="toggleVisibilityStored('主题');" class="a_Element14"><img src="sectionminus.png" border="0" alt="" title="" id="img主题">主题</a></div>
<div id="div主题">
<div class="Element11">
<div class="Element10">
<div class="Element212">
<div class="TableDiv">
<table cellspacing="0" class="Table0">
<tr>
<td class="Element200" valign="top" width="50%">
<div class="Element201">
主题 </div></td><td class="Element204" valign="top" width="50%">
<div class="Element205">
描述 </div></td></tr><tr>
<td class="Element202" valign="top" width="50%">
<div class="Element203">
<a href="00448.html" target="topic">31.1 简介(一般信息)</a> </div></td><td class="Element206" valign="top" width="50%">
<div class="Element207">
SystemVerilog extends the Verilog Procedural Interface (VPI) object diagrams to support SystemVerilog constructs. The VPI object diagrams document the properties of objects and the relationships of objects. How these diagrams illustrate this information is explained in Section 26 of the IEEE Std. 1364-2001 Verilog standard. The SystemVerilog extensions to the VPI diagrams are in the form of changes to or additions to the diagrams contained in 1364-2001 Verilog standard.<br><br>The following table summarizes the changes and additions made to the Verilog VPI object diagrams: </p><p class="Element207" style="text-align: center">
<strong>Table 31-4: Verilog VPI object diagram changes and additions</strong></p><p class="Element207">
</div></td></tr><tr>
<td class="Element202" valign="top" width="50%">
<div class="Element203">
<a href="00459.html" target="topic">31.2 Instance</a> </div></td><td class="Element206" valign="top" width="50%">
<div class="Element207">
</p><p class="Element207" style="text-align: center">
<img src="31_2.png" border="0" alt="" title=""><br></p><p class="Element207">
NOTES
<ol class="Element630">
<li value="1" class="Element600">Top-level instances shall be accessed using vpi_iterate() with a NULL reference object.</li>
<li value="2" class="Element600">Passing a NULL handle to vpi_get() with types vpiTimePrecision or vpiTimeUnit shall return the smallest time precision of all instances in the design.</li>
<li value="3" class="Element600">If an instance is an element within an array, the vpiIndex transition is used to access the index within the array. If the instance is not part of an array, this transition shall return NULL.</li>
<li value="4" class="Element600">Compilation units are represented as packages that have a vpiUnit property set to TRUE. Such implicitly declared packages shall have implementation dependent names.</li>
</ol> </div></td></tr><tr>
<td class="Element202" valign="top" width="50%">
<div class="Element203">
<a href="00471.html" target="topic">31.3 Interface</a> </div></td><td class="Element206" valign="top" width="50%">
<div class="Element207">
</p><p class="Element207" style="text-align: center">
<img src="30_3.png" border="0" alt="" title=""><br></p><p class="Element207">
NOTE<br>All interfaces are instances and all relations and properties in the Instances diagram also apply. </div></td></tr><tr>
<td class="Element202" valign="top" width="50%">
<div class="Element203">
<a href="00482.html" target="topic">31.4 Program</a> </div></td><td class="Element206" valign="top" width="50%">
<div class="Element207">
</p><p class="Element207" style="text-align: center">
<img src="31_4.png" border="0" alt="" title=""><br> </p><p class="Element207">
NOTE<br>All programs are instances and all relations and properties in the Instances diagram also apply. </div></td></tr><tr>
<td class="Element202" valign="top" width="50%">
<div class="Element203">
<a href="00489.html" target="topic">31.5 Module (supersedes IEEE 1364-2001 26.6.1)</a> </div></td><td class="Element206" valign="top" width="50%">
<div class="Element207">
</p><p class="Element207" style="text-align: center">
<img src="31_5.png" border="0" alt="" title=""><br> </p><p class="Element207">
</div></td></tr><tr>
<td class="Element202" valign="top" width="50%">
<div class="Element203">
<a href="00490.html" target="topic">31.6 Modport</a> </div></td><td class="Element206" valign="top" width="50%">
<div class="Element207">
<img src="31_6.png" border="0" alt="" title=""> </div></td></tr><tr>
<td class="Element202" valign="top" width="50%">
<div class="Element203">
<a href="00491.html" target="topic">31.7 Interface tf decl</a> </div></td><td class="Element206" valign="top" width="50%">
<div class="Element207">
</p><p class="Element207" style="text-align: center">
<img src="31_7.png" border="0" alt="" title=""><br></p><p class="Element207">
NOTE<br>vpiIterate(vpiTaskFunc) can return more than one task/function declaration for modport tasks/functions with an access type of vpiForkJoin, because the task or function can be imported from multiple module instances. </div></td></tr><tr>
<td class="Element202" valign="top" width="50%">
<div class="Element203">
<a href="00492.html" target="topic">31.8 Ports (supersedes IEEE 1364-2001 26.6.5)</a> </div></td><td class="Element206" valign="top" width="50%">
<div class="Element207">
</p><p class="Element207" style="text-align: center">
<img src="31_8.png" border="0" alt="" title=""><br> </p><p class="Element207">
NOTES
<ol class="Element630">
<li value="1" class="Element600">vpiPortType shall be one of the following three types: vpiPort, vpiInterfacePort, and vpiModportPort. Port type depends on the formal, not on the actual.</li>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -