138 lines
5.1 KiB
HTML
138 lines
5.1 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
|
||
|
|
<html lang="en" data-content_root="../../../">
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8" />
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
|
|
||
|
|
<title>Debug Aids For VVP — Icarus Verilog documentation</title>
|
||
|
|
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
|
||
|
|
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=cb25574f" />
|
||
|
|
<script src="../../../_static/documentation_options.js?v=5929fcd5"></script>
|
||
|
|
<script src="../../../_static/doctools.js?v=888ff710"></script>
|
||
|
|
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
|
||
|
|
<link rel="icon" href="../../../_static/favicon.ico"/>
|
||
|
|
<link rel="index" title="Index" href="../../../genindex.html" />
|
||
|
|
<link rel="search" title="Search" href="../../../search.html" />
|
||
|
|
<link rel="next" title="The VVP Target" href="../tgt-vvp/tgt-vvp.html" />
|
||
|
|
<link rel="prev" title="Thread Details" href="vthread.html" />
|
||
|
|
|
||
|
|
<link rel="stylesheet" href="../../../_static/custom.css" type="text/css" />
|
||
|
|
|
||
|
|
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||
|
|
|
||
|
|
</head><body>
|
||
|
|
|
||
|
|
|
||
|
|
<div class="document">
|
||
|
|
<div class="documentwrapper">
|
||
|
|
<div class="bodywrapper">
|
||
|
|
|
||
|
|
|
||
|
|
<div class="body" role="main">
|
||
|
|
|
||
|
|
<section id="debug-aids-for-vvp">
|
||
|
|
<h1>Debug Aids For VVP<a class="headerlink" href="#debug-aids-for-vvp" title="Link to this heading">¶</a></h1>
|
||
|
|
<p>Debugging vvp can be fiendishly difficult, so there are some built in
|
||
|
|
debugging aids. These are enabled by setting the environment variable
|
||
|
|
VVP_DEBUG to the path to an output file. Then, various detailed debug
|
||
|
|
tools can be enabled as described below.</p>
|
||
|
|
<ul class="simple">
|
||
|
|
<li><p>.resolv</p></li>
|
||
|
|
</ul>
|
||
|
|
<p>The .resolv can print debug information along with a label by
|
||
|
|
specifying the debug output label on the .resolv line:</p>
|
||
|
|
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>.resolv tri$<label>
|
||
|
|
</pre></div>
|
||
|
|
</div>
|
||
|
|
<p>In this case, the “$” character directly after the “tri” enables debug
|
||
|
|
dumps for this node, and the <label> is the label to prepend to log
|
||
|
|
messages from this node.</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||
|
|
<div class="sphinxsidebarwrapper">
|
||
|
|
<h1 class="logo"><a href="../../../index.html">Icarus Verilog</a></h1>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3>Navigation</h3>
|
||
|
|
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
|
||
|
|
<ul class="current">
|
||
|
|
<li class="toctree-l1"><a class="reference internal" href="../../../usage/index.html">Icarus Verilog Usage</a></li>
|
||
|
|
<li class="toctree-l1"><a class="reference internal" href="../../../targets/index.html">The Icarus Verilog Targets</a></li>
|
||
|
|
<li class="toctree-l1 current"><a class="reference internal" href="../../index.html">Icarus Verilog Developer Support</a><ul class="current">
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="../../getting_started.html">Getting Started as a Contributor</a></li>
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="../../regression_tests.html">The Regression Test Suite</a></li>
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="../../version_stamps.html">Files With Version Information</a></li>
|
||
|
|
<li class="toctree-l2 current"><a class="reference internal" href="../index.html">Developer Guide</a></li>
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="../../glossary.html">Glossary</a></li>
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
<div class="relations">
|
||
|
|
<h3>Related Topics</h3>
|
||
|
|
<ul>
|
||
|
|
<li><a href="../../../index.html">Documentation overview</a><ul>
|
||
|
|
<li><a href="../../index.html">Icarus Verilog Developer Support</a><ul>
|
||
|
|
<li><a href="../index.html">Developer Guide</a><ul>
|
||
|
|
<li><a href="index.html">VVP - Verilog Virtual Processor</a><ul>
|
||
|
|
<li>Previous: <a href="vthread.html" title="previous chapter">Thread Details</a></li>
|
||
|
|
<li>Next: <a href="../tgt-vvp/tgt-vvp.html" title="next chapter">The VVP Target</a></li>
|
||
|
|
</ul></li>
|
||
|
|
</ul></li>
|
||
|
|
</ul></li>
|
||
|
|
</ul></li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
<div id="searchbox" style="display: none" role="search">
|
||
|
|
<h3 id="searchlabel">Quick search</h3>
|
||
|
|
<div class="searchformwrapper">
|
||
|
|
<form class="search" action="../../../search.html" method="get">
|
||
|
|
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||
|
|
<input type="submit" value="Go" />
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<script>document.getElementById('searchbox').style.display = "block"</script>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="clearer"></div>
|
||
|
|
</div>
|
||
|
|
<div class="footer">
|
||
|
|
©2024-2025, Stephen Williams.
|
||
|
|
|
||
|
|
|
|
||
|
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.2.6</a>
|
||
|
|
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
||
|
|
|
||
|
|
|
|
||
|
|
<a href="../../../_sources/developer/guide/vvp/debug.rst.txt"
|
||
|
|
rel="nofollow">Page source</a>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</body>
|
||
|
|
</html>
|