new-sonar/gateware/liteeth/doc/_build/html/ctrl.html

213 lines
6.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<title>CTRL &#8212; LiteX SoC Project documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/sphinx_highlight.js"></script>
<script src="_static/default.js"></script>
<script src="_static/WaveDrom.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="ETHMAC" href="ethmac.html" />
<link rel="prev" title="Interrupt Controller" href="interrupts.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="ctrl">
<h1>CTRL<a class="headerlink" href="#ctrl" title="Permalink to this heading"></a></h1>
<section id="register-listing-for-ctrl">
<h2>Register Listing for CTRL<a class="headerlink" href="#register-listing-for-ctrl" title="Permalink to this heading"></a></h2>
<table class="docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p>Register</p></th>
<th class="head"><p>Address</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p><a class="reference internal" href="#ctrl-reset"><span class="std std-ref">CTRL_RESET</span></a></p></td>
<td><p><a class="reference internal" href="#ctrl-reset"><span class="std std-ref">0x00000000</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#ctrl-scratch"><span class="std std-ref">CTRL_SCRATCH</span></a></p></td>
<td><p><a class="reference internal" href="#ctrl-scratch"><span class="std std-ref">0x00000004</span></a></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#ctrl-bus-errors"><span class="std std-ref">CTRL_BUS_ERRORS</span></a></p></td>
<td><p><a class="reference internal" href="#ctrl-bus-errors"><span class="std std-ref">0x00000008</span></a></p></td>
</tr>
</tbody>
</table>
<section id="ctrl-reset">
<h3>CTRL_RESET<a class="headerlink" href="#ctrl-reset" title="Permalink to this heading"></a></h3>
<p><cite>Address: 0x00000000 + 0x0 = 0x00000000</cite></p>
<blockquote>
<div>
<div style="overflow-x:auto">
<script type="WaveDrom">
{
"reg": [
{"name": "soc_rst", "type": 4, "bits": 1},
{"name": "cpu_rst", "bits": 1},
{"bits": 30}
], "config": {"hspace": 400, "bits": 32, "lanes": 4 }, "options": {"hspace": 400, "bits": 32, "lanes": 4}
}
</script>
</div>
</div></blockquote>
<table class="docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p>Field</p></th>
<th class="head"><p>Name</p></th>
<th class="head"><p>Description</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>[0]</p></td>
<td><p>SOC_RST</p></td>
<td><p>Write <cite>1</cite> to this register to reset the full SoC (Pulse Reset)</p></td>
</tr>
<tr class="row-odd"><td><p>[1]</p></td>
<td><p>CPU_RST</p></td>
<td><p>Write <cite>1</cite> to this register to reset the CPU(s) of the SoC (Hold Reset)</p></td>
</tr>
</tbody>
</table>
</section>
<section id="ctrl-scratch">
<h3>CTRL_SCRATCH<a class="headerlink" href="#ctrl-scratch" title="Permalink to this heading"></a></h3>
<p><cite>Address: 0x00000000 + 0x4 = 0x00000004</cite></p>
<blockquote>
<div><p>Use this register as a scratch space to verify that software read/write accesses
to the Wishbone/CSR bus are working correctly. The initial reset value of
0x1234578 can be used to verify endianness.</p>
<div style="overflow-x:auto">
<script type="WaveDrom">
{
"reg": [
{"name": "scratch[31:0]", "attr": 'reset: 305419896', "bits": 32}
], "config": {"hspace": 400, "bits": 32, "lanes": 1 }, "options": {"hspace": 400, "bits": 32, "lanes": 1}
}
</script>
</div>
</div></blockquote>
</section>
<section id="ctrl-bus-errors">
<h3>CTRL_BUS_ERRORS<a class="headerlink" href="#ctrl-bus-errors" title="Permalink to this heading"></a></h3>
<p><cite>Address: 0x00000000 + 0x8 = 0x00000008</cite></p>
<blockquote>
<div><p>Total number of Wishbone bus errors (timeouts) since start.</p>
<div style="overflow-x:auto">
<script type="WaveDrom">
{
"reg": [
{"name": "bus_errors[31:0]", "bits": 32}
], "config": {"hspace": 400, "bits": 32, "lanes": 1 }, "options": {"hspace": 400, "bits": 32, "lanes": 1}
}
</script>
</div>
</div></blockquote>
</section>
</section>
</section>
<script type="text/javascript">
function init() {
WaveDrom.ProcessAll();
}
window.onload = init;
</script>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.html">LiteX SoC Project</a></h1>
<h3>Navigation</h3>
<ul>
<li class="toctree-l1"><a class="reference internal" href="interrupts.html">Interrupt Controller</a></li>
</ul>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">CTRL</a></li>
<li class="toctree-l1"><a class="reference internal" href="ethmac.html">ETHMAC</a></li>
<li class="toctree-l1"><a class="reference internal" href="ethphy.html">ETHPHY</a></li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
<li>Previous: <a href="interrupts.html" title="previous chapter">Interrupt Controller</a></li>
<li>Next: <a href="ethmac.html" title="next chapter">ETHMAC</a></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">
&copy;2023, Anonymous.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>
|
<a href="_sources/ctrl.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>