Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewb1999 committed Nov 1, 2024
1 parent 85a1d96 commit de08d42
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 90 deletions.
44 changes: 41 additions & 3 deletions libraries/core.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ <h2 id="contents"><a class="header" href="#contents">Contents</a></h2>
<li><a href="#memories">Memories</a></li>
</ul>
<hr />
<h2 id="numerical-operators"><a class="header" href="#numerical-operators">Numerical Operators</a></h2>
<h2 id="state-elements"><a class="header" href="#state-elements">State Elements</a></h2>
<h3 id="std_regwidth"><a class="header" href="#std_regwidth"><code>std_reg&lt;WIDTH&gt;</code></a></h3>
<p>A <code>WIDTH</code>-wide register.</p>
<p><strong>Inputs:</strong></p>
Expand All @@ -199,10 +199,48 @@ <h3 id="std_regwidth"><a class="header" href="#std_regwidth"><code>std_reg&lt;WI
<p><strong>Outputs:</strong></p>
<ul>
<li><code>out: WIDTH</code> - The value contained in the register.</li>
<li><code>done: 1</code> - The register's done signal. Set high for one cycle after writing a
new value.</li>
<li><code>done: 1</code> - The register's done signal. Set high for one cycle after writing
a new value.</li>
</ul>
<hr />
<h3 id="std_skid_bufferwidth"><a class="header" href="#std_skid_bufferwidth"><code>std_skid_buffer&lt;WIDTH&gt;</code></a></h3>
<p>A <code>WIDTH</code>-wide non-pipelined skid buffer. Used to ensure data is not lost
during handshakes.</p>
<p><strong>Inputs:</strong></p>
<ul>
<li><code>in: WIDTH</code> - An input value to the skid buffer <code>WIDTH</code>-bits.</li>
<li><code>i_valid: 1</code> - The one bit input valid signal. Indicates that the data
provided on the <code>in</code> wire is valid.</li>
<li><code>i_ready: 1</code> - The one bit input ready signal. Indicates that the follower is
ready to recieve data from the <code>out</code> wire.</li>
</ul>
<p><strong>Outputs:</strong></p>
<ul>
<li><code>out: WIDTH</code> - The value contained in the register.</li>
<li><code>o_valid: 1</code> - The one bit output valid signal. Indicates that the data
provided on the <code>out</code> wire is valid.</li>
<li><code>o_ready: 1</code> - The one bit output ready signal. Indicates that the skid buffer
is ready to recieve data on the <code>in</code> wire.</li>
</ul>
<hr />
<h3 id="std_bypass_regwidth"><a class="header" href="#std_bypass_regwidth"><code>std_bypass_reg&lt;WIDTH&gt;</code></a></h3>
<p>A <code>WIDTH</code>-wide bypass register.</p>
<p><strong>Inputs:</strong></p>
<ul>
<li><code>in: WIDTH</code> - An input value to the bypass register <code>WIDTH</code>-bits.</li>
<li><code>write_en: 1</code> - The one bit write enabled signal. Indicates that the bypass
register should store the value on the <code>in</code> wire.</li>
</ul>
<p><strong>Outputs:</strong></p>
<ul>
<li><code>out: WIDTH</code> - The value of the bypass register. When <code>write_en</code> is asserted
the value of <code>in</code> is bypassed to <code>out</code>. Otherwise <code>out</code> is equal to the last
value written to the register.</li>
<li><code>done: 1</code> - The bypass register's done signal. Set high for one cycle after
<code>write_en</code> is asserted.</li>
</ul>
<hr />
<h2 id="numerical-operators"><a class="header" href="#numerical-operators">Numerical Operators</a></h2>
<h3 id="std_constwidthval"><a class="header" href="#std_constwidthval"><code>std_const&lt;WIDTH,VAL&gt;</code></a></h3>
<p>A constant WIDTH-bit value with value VAL.</p>
<p><strong>Inputs:</strong> None.</p>
Expand Down
44 changes: 41 additions & 3 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -3262,7 +3262,7 @@ <h2 id="contents"><a class="header" href="#contents">Contents</a></h2>
<li><a href="libraries/core.html#memories">Memories</a></li>
</ul>
<hr />
<h2 id="numerical-operators"><a class="header" href="#numerical-operators">Numerical Operators</a></h2>
<h2 id="state-elements"><a class="header" href="#state-elements">State Elements</a></h2>
<h3 id="std_regwidth"><a class="header" href="#std_regwidth"><code>std_reg&lt;WIDTH&gt;</code></a></h3>
<p>A <code>WIDTH</code>-wide register.</p>
<p><strong>Inputs:</strong></p>
Expand All @@ -3274,10 +3274,48 @@ <h3 id="std_regwidth"><a class="header" href="#std_regwidth"><code>std_reg&lt;WI
<p><strong>Outputs:</strong></p>
<ul>
<li><code>out: WIDTH</code> - The value contained in the register.</li>
<li><code>done: 1</code> - The register's done signal. Set high for one cycle after writing a
new value.</li>
<li><code>done: 1</code> - The register's done signal. Set high for one cycle after writing
a new value.</li>
</ul>
<hr />
<h3 id="std_skid_bufferwidth"><a class="header" href="#std_skid_bufferwidth"><code>std_skid_buffer&lt;WIDTH&gt;</code></a></h3>
<p>A <code>WIDTH</code>-wide non-pipelined skid buffer. Used to ensure data is not lost
during handshakes.</p>
<p><strong>Inputs:</strong></p>
<ul>
<li><code>in: WIDTH</code> - An input value to the skid buffer <code>WIDTH</code>-bits.</li>
<li><code>i_valid: 1</code> - The one bit input valid signal. Indicates that the data
provided on the <code>in</code> wire is valid.</li>
<li><code>i_ready: 1</code> - The one bit input ready signal. Indicates that the follower is
ready to recieve data from the <code>out</code> wire.</li>
</ul>
<p><strong>Outputs:</strong></p>
<ul>
<li><code>out: WIDTH</code> - The value contained in the register.</li>
<li><code>o_valid: 1</code> - The one bit output valid signal. Indicates that the data
provided on the <code>out</code> wire is valid.</li>
<li><code>o_ready: 1</code> - The one bit output ready signal. Indicates that the skid buffer
is ready to recieve data on the <code>in</code> wire.</li>
</ul>
<hr />
<h3 id="std_bypass_regwidth"><a class="header" href="#std_bypass_regwidth"><code>std_bypass_reg&lt;WIDTH&gt;</code></a></h3>
<p>A <code>WIDTH</code>-wide bypass register.</p>
<p><strong>Inputs:</strong></p>
<ul>
<li><code>in: WIDTH</code> - An input value to the bypass register <code>WIDTH</code>-bits.</li>
<li><code>write_en: 1</code> - The one bit write enabled signal. Indicates that the bypass
register should store the value on the <code>in</code> wire.</li>
</ul>
<p><strong>Outputs:</strong></p>
<ul>
<li><code>out: WIDTH</code> - The value of the bypass register. When <code>write_en</code> is asserted
the value of <code>in</code> is bypassed to <code>out</code>. Otherwise <code>out</code> is equal to the last
value written to the register.</li>
<li><code>done: 1</code> - The bypass register's done signal. Set high for one cycle after
<code>write_en</code> is asserted.</li>
</ul>
<hr />
<h2 id="numerical-operators"><a class="header" href="#numerical-operators">Numerical Operators</a></h2>
<h3 id="std_constwidthval"><a class="header" href="#std_constwidthval"><code>std_const&lt;WIDTH,VAL&gt;</code></a></h3>
<p>A constant WIDTH-bit value with value VAL.</p>
<p><strong>Inputs:</strong> None.</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

Loading

0 comments on commit de08d42

Please sign in to comment.