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

320 lines
9.6 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>ETHPHY &#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="prev" title="ETHMAC" href="ethmac.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="ethphy">
<h1>ETHPHY<a class="headerlink" href="#ethphy" title="Permalink to this heading"></a></h1>
<section id="register-listing-for-ethphy">
<h2>Register Listing for ETHPHY<a class="headerlink" href="#register-listing-for-ethphy" 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="#ethphy-crg-reset"><span class="std std-ref">ETHPHY_CRG_RESET</span></a></p></td>
<td><p><a class="reference internal" href="#ethphy-crg-reset"><span class="std std-ref">0x00001000</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#ethphy-rx-inband-status"><span class="std std-ref">ETHPHY_RX_INBAND_STATUS</span></a></p></td>
<td><p><a class="reference internal" href="#ethphy-rx-inband-status"><span class="std std-ref">0x00001004</span></a></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#ethphy-mdio-w"><span class="std std-ref">ETHPHY_MDIO_W</span></a></p></td>
<td><p><a class="reference internal" href="#ethphy-mdio-w"><span class="std std-ref">0x00001008</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#ethphy-mdio-r"><span class="std std-ref">ETHPHY_MDIO_R</span></a></p></td>
<td><p><a class="reference internal" href="#ethphy-mdio-r"><span class="std std-ref">0x0000100c</span></a></p></td>
</tr>
</tbody>
</table>
<section id="ethphy-crg-reset">
<h3>ETHPHY_CRG_RESET<a class="headerlink" href="#ethphy-crg-reset" title="Permalink to this heading"></a></h3>
<p><cite>Address: 0x00001000 + 0x0 = 0x00001000</cite></p>
<blockquote>
<div>
<div style="overflow-x:auto">
<script type="WaveDrom">
{
"reg": [
{"name": "crg_reset", "bits": 1},
{"bits": 31},
], "config": {"hspace": 400, "bits": 32, "lanes": 4 }, "options": {"hspace": 400, "bits": 32, "lanes": 4}
}
</script>
</div>
</div></blockquote>
</section>
<section id="ethphy-rx-inband-status">
<h3>ETHPHY_RX_INBAND_STATUS<a class="headerlink" href="#ethphy-rx-inband-status" title="Permalink to this heading"></a></h3>
<p><cite>Address: 0x00001000 + 0x4 = 0x00001004</cite></p>
<blockquote>
<div>
<div style="overflow-x:auto">
<script type="WaveDrom">
{
"reg": [
{"name": "link_status", "bits": 1},
{"name": "clock_speed", "bits": 1},
{"name": "duplex_status", "bits": 1},
{"bits": 29}
], "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>LINK_STATUS</p></td>
<td><table class="docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p>Value</p></th>
<th class="head"><p>Description</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">0b0</span></code></p></td>
<td><p>Link down.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">0b1</span></code></p></td>
<td><p>Link up.</p></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="row-odd"><td><p>[1]</p></td>
<td><p>CLOCK_SPEED</p></td>
<td><table class="docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p>Value</p></th>
<th class="head"><p>Description</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">0b00</span></code></p></td>
<td><p>2.5MHz (10Mbps).</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">0b01</span></code></p></td>
<td><p>25MHz (100MBps).</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">0b10</span></code></p></td>
<td><p>125MHz (1000MBps).</p></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="row-even"><td><p>[2]</p></td>
<td><p>DUPLEX_STATUS</p></td>
<td><table class="docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p>Value</p></th>
<th class="head"><p>Description</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">0b0</span></code></p></td>
<td><p>Half-duplex.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">0b1</span></code></p></td>
<td><p>Full-duplex.</p></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</section>
<section id="ethphy-mdio-w">
<h3>ETHPHY_MDIO_W<a class="headerlink" href="#ethphy-mdio-w" title="Permalink to this heading"></a></h3>
<p><cite>Address: 0x00001000 + 0x8 = 0x00001008</cite></p>
<blockquote>
<div>
<div style="overflow-x:auto">
<script type="WaveDrom">
{
"reg": [
{"name": "mdc", "bits": 1},
{"name": "oe", "bits": 1},
{"name": "w", "bits": 1},
{"bits": 29}
], "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></td>
<td></td>
<td></td>
</tr>
<tr class="row-odd"><td></td>
<td></td>
<td></td>
</tr>
<tr class="row-even"><td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</section>
<section id="ethphy-mdio-r">
<h3>ETHPHY_MDIO_R<a class="headerlink" href="#ethphy-mdio-r" title="Permalink to this heading"></a></h3>
<p><cite>Address: 0x00001000 + 0xc = 0x0000100c</cite></p>
<blockquote>
<div>
<div style="overflow-x:auto">
<script type="WaveDrom">
{
"reg": [
{"name": "r", "bits": 1},
{"bits": 31}
], "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></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</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"><a class="reference internal" href="ctrl.html">CTRL</a></li>
<li class="toctree-l1"><a class="reference internal" href="ethmac.html">ETHMAC</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">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="ethmac.html" title="previous 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/ethphy.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>