📄 00367.html
字号:
<div class="Element68">
false </div></td><td class="Element67" valign="top" width="24%">
<div class="Element68">
false </div></td><td class="Element67" valign="top" width="25%">
<div class="Element68">
false </div></td><td class="Element67" valign="top" width="25%">
<div class="Element68">
false </div></td></tr><tr>
<td class="Element67" valign="top" width="11%">
<div class="Element68">
aundf </div></td><td class="Element67" valign="top" width="15%">
<div class="Element68">
false </div></td><td class="Element67" valign="top" width="24%">
<div class="Element68">
true </div></td><td class="Element67" valign="top" width="25%">
<div class="Element68">
false </div></td><td class="Element67" valign="top" width="25%">
<div class="Element68">
false </div></td></tr><tr>
<td class="Element67" valign="top" width="11%">
<div class="Element68">
afail </div></td><td class="Element67" valign="top" width="15%">
<div class="Element68">
false </div></td><td class="Element67" valign="top" width="24%">
<div class="Element68">
true </div></td><td class="Element67" valign="top" width="25%">
<div class="Element68">
false </div></td><td class="Element67" valign="top" width="25%">
<div class="Element68">
true </div></td></tr><tr>
<td class="Element67" valign="top" width="11%">
<div class="Element68">
apass </div></td><td class="Element67" valign="top" width="15%">
<div class="Element68">
true </div></td><td class="Element67" valign="top" width="24%">
<div class="Element68">
true </div></td><td class="Element67" valign="top" width="25%">
<div class="Element68">
true </div></td><td class="Element67" valign="top" width="25%">
<div class="Element68">
false </div></td></tr></table></div></div>
<p class="Element10">
</p>
<p class="Element10">
The number of times an item has been covered can be obtained by the vpiCoveredCount property: </p><div class="Element170">
<a href="#" onclick="CopyElementToClipboard('code01027');">Copy Code</a></div>
<div class="Element13"><div class="Element12" id="code01027"><pre class="Element12">vpi_get(vpiCoveredCount, assertion_handle)
vpi_get(vpiCoveredCount, statement_handle)
vpi_get(vpiCoveredCount, signal_handle)
vpi_get(vpiCoveredCount, fsm_handle)
vpi_get(vpiCoveredCount, fsm_state_handle)</pre></div></div>
<p class="Element10">
Returns the number of times each coverable entity referred by the handle has been covered. Note that this is only easily interpretable when the handle points to a unique coverable item (such as an individual statement); when handle points to an item containing multiple coverable entities (such as a handle to a block statement containing a number of statements), the result is the sum of coverage counts for each of the constituent entities. </p><div class="Element170">
<a href="#" onclick="CopyElementToClipboard('code01028');">Copy Code</a></div>
<div class="Element13"><div class="Element12" id="code01028"><pre class="Element12">vpi_get(vpiCoveredMax, assertion_handle)
vpi_get(vpiCoveredMax, statement_handle)
vpi_get(vpiCoveredMax, signal_handle)
vpi_get(vpiCoveredMax, fsm_handle)
vpi_get(vpiCoveredMax, fsm_state_handle)</pre></div></div>
<p class="Element10">
Returns the number of coverable entities pointed by the handle. Note that this shall always return 1 (one) when applied to an assertion or FSM state handle. </p><div class="Element170">
<a href="#" onclick="CopyElementToClipboard('code01029');">Copy Code</a></div>
<div class="Element13"><div class="Element12" id="code01029"><pre class="Element12">vpi_iterate(vpiFsm, instance-handle)</pre></div></div>
<p class="Element10">
Returns an iterator to all FSMs in an instance. </p><div class="Element170">
<a href="#" onclick="CopyElementToClipboard('code01030');">Copy Code</a></div>
<div class="Element13"><div class="Element12" id="code01030"><pre class="Element12">vpi_handle(vpiFsmStateExpression, fsm-handle)</pre></div></div>
<p class="Element10">
Returns the handle to the signal or expression encoding the FSM state. </p><div class="Element170">
<a href="#" onclick="CopyElementToClipboard('code01031');">Copy Code</a></div>
<div class="Element13"><div class="Element12" id="code01031"><pre class="Element12">vpi_iterate(vpiFsmStates, fsm-handle)</pre></div></div>
<p class="Element10">
Returns an iterator to all states of an FSM. </p><div class="Element170">
<a href="#" onclick="CopyElementToClipboard('code01032');">Copy Code</a></div>
<div class="Element13"><div class="Element12" id="code01032"><pre class="Element12">vpi_get_value(fsm_state_handle, state-handle)</pre></div></div>
<p class="Element10">
Returns the value of an FSM state.</p></div>
</div>
<a name="Group"></a><div class="Element14">
<a onclick="toggleVisibilityStored('Group');" class="a_Element14"><img src="sectionminus.png" border="0" alt="" title="" id="imgGroup">Group</a></div>
<div id="divGroup">
<div class="Element11">
<div class="Element10">
<p class="Element10">
<a href="00364.html" target="topic">29.4 VPI coverage extensions</a></p></div>
</div>
</div>
<a name="Links"></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">
<a href="00364.html" target="topic">29.4 VPI coverage extensions</a></div>
</div>
</div>
</div>
<!-- End Page Content -->
<!-- Begin Page Footer -->
<hr width="98%" align="center" size="1" color="#CCCCCC" />
<table align="center" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr height="10">
<td></td>
</tr>
<tr align="center">
<td>
<script type="text/javascript"><!--
google_ad_client = "pub-5266859600380184";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
<tr height="15">
<td></td>
</tr>
<tr align="center">
<td>
<font size=2>除非特别声明,原文版权归作者所有,如有转摘请注明原作者以及译者(<a href="http://www.fpgatech.net/" target="_blank">FPGA技术网</a>)信息。<br />
如果您对本主题有何建议或意见,请登陆<a href="http://www.fpgatech.net/forum/forumdisplay.php?fid=18" target="_blank">FPGA开发者家园</a>提交,您的参与是我们前进的动力。</font>
<script language="javascript" type="text/javascript" src="http://js.users.51.la/195685.js"></script>
<noscript><a href="http://www.51.la/?195685" target="_blank"><img alt="我要啦免费统计" src="http://img.users.51.la/195685.asp" style="border:none" /></a></noscript>
</td>
</tr>
</tbody>
</table>
<!-- End Page Footer -->
</div>
</div>
<!-- End Client Area -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -