Skip to content

Commit

Permalink
Add generating API for transactron. (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Oct 7, 2023
1 parent a31accd commit c74ed41
Show file tree
Hide file tree
Showing 42 changed files with 2,899 additions and 76 deletions.
Binary file modified .doctrees/api.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file added .doctrees/modules-coreblocks.doctree
Binary file not shown.
Binary file added .doctrees/modules-transactron.doctree
Binary file not shown.
Binary file added .doctrees/transactron.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion Assumptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h1>List of assumptions made during development<a class="headerlink" href="#list

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion Current_graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ <h1>Full transaction-method graph<a class="headerlink" href="#full-transaction-m

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion Development_environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h3>build_docs.sh<a class="headerlink" href="#build-docs-sh" title="Permalink to

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion Home.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion Problem-checklist.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h1>Problem checklist<a class="headerlink" href="#problem-checklist" title="Perm

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion Transactions.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h3>Transaction and method nesting<a class="headerlink" href="#transaction-and-m

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
5 changes: 3 additions & 2 deletions _sources/api.md.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# API

```{eval-rst}
.. include:: modules.rst
```
.. include:: modules-coreblocks.rst
.. include:: modules-transactron.rst
```
7 changes: 7 additions & 0 deletions _sources/modules-coreblocks.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
coreblocks
==========

.. toctree::
:maxdepth: 4

coreblocks
7 changes: 7 additions & 0 deletions _sources/modules-transactron.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
transactron
===========

.. toctree::
:maxdepth: 4

transactron
45 changes: 45 additions & 0 deletions _sources/transactron.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
transactron package
===================

Submodules
----------

transactron.core module
-----------------------

.. automodule:: transactron.core
:members:
:undoc-members:
:show-inheritance:

transactron.graph module
------------------------

.. automodule:: transactron.graph
:members:
:undoc-members:
:show-inheritance:

transactron.lib module
----------------------

.. automodule:: transactron.lib
:members:
:undoc-members:
:show-inheritance:

transactron.tracing module
--------------------------

.. automodule:: transactron.tracing
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: transactron
:members:
:undoc-members:
:show-inheritance:
22 changes: 21 additions & 1 deletion api.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
<li class="toctree-l3"><a class="reference internal" href="coreblocks.html">coreblocks package</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#transactron">transactron</a><ul>
<li class="toctree-l3"><a class="reference internal" href="transactron.html">transactron package</a></li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -187,6 +191,22 @@ <h2>coreblocks<a class="headerlink" href="#coreblocks" title="Permalink to this
</ul>
</div>
</div>
<div class="section" id="transactron">
<h2>transactron<a class="headerlink" href="#transactron" title="Permalink to this heading"></a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="transactron.html">transactron package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="transactron.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="transactron.html#module-transactron.core">transactron.core module</a></li>
<li class="toctree-l2"><a class="reference internal" href="transactron.html#module-transactron.graph">transactron.graph module</a></li>
<li class="toctree-l2"><a class="reference internal" href="transactron.html#module-transactron.lib">transactron.lib module</a></li>
<li class="toctree-l2"><a class="reference internal" href="transactron.html#module-transactron.tracing">transactron.tracing module</a></li>
<li class="toctree-l2"><a class="reference internal" href="transactron.html#module-transactron">Module contents</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>


Expand All @@ -201,7 +221,7 @@ <h2>coreblocks<a class="headerlink" href="#coreblocks" title="Permalink to this

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion auto_graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion components/icache.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h2>Address mapping example<a class="headerlink" href="#address-mapping-example"

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
14 changes: 7 additions & 7 deletions coreblocks.frontend.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
a combinatorial manner.</p>
<dl class="py method">
<dt class="sig sig-object py" id="coreblocks.frontend.decode.Decode.__init__">
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">gen_params</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="coreblocks.params.html#coreblocks.params.genparams.GenParams" title="coreblocks.params.genparams.GenParams"><span class="pre">GenParams</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">get_raw</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Method</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">push_decoded</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Method</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#coreblocks.frontend.decode.Decode.__init__" title="Permalink to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">gen_params</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="coreblocks.params.html#coreblocks.params.genparams.GenParams" title="coreblocks.params.genparams.GenParams"><span class="pre">GenParams</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">get_raw</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="transactron.html#transactron.core.Method" title="transactron.core.Method"><span class="pre">Method</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">push_decoded</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="transactron.html#transactron.core.Method" title="transactron.core.Method"><span class="pre">Method</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#coreblocks.frontend.decode.Decode.__init__" title="Permalink to this definition"></a></dt>
<dd><dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><dl class="simple">
Expand Down Expand Up @@ -203,7 +203,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
after each fetch.</p>
<dl class="py method">
<dt class="sig sig-object py" id="coreblocks.frontend.fetch.Fetch.__init__">
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">gen_params</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="coreblocks.params.html#coreblocks.params.genparams.GenParams" title="coreblocks.params.genparams.GenParams"><span class="pre">GenParams</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">icache</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#coreblocks.frontend.icache.ICacheInterface" title="coreblocks.frontend.icache.ICacheInterface"><span class="pre">ICacheInterface</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">cont</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Method</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#coreblocks.frontend.fetch.Fetch.__init__" title="Permalink to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">gen_params</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="coreblocks.params.html#coreblocks.params.genparams.GenParams" title="coreblocks.params.genparams.GenParams"><span class="pre">GenParams</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">icache</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#coreblocks.frontend.icache.ICacheInterface" title="coreblocks.frontend.icache.ICacheInterface"><span class="pre">ICacheInterface</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">cont</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="transactron.html#transactron.core.Method" title="transactron.core.Method"><span class="pre">Method</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#coreblocks.frontend.fetch.Fetch.__init__" title="Permalink to this definition"></a></dt>
<dd><dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><dl class="simple">
Expand All @@ -229,7 +229,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
<p>Simple fetch unit that works with unaligned and RVC instructions.</p>
<dl class="py method">
<dt class="sig sig-object py" id="coreblocks.frontend.fetch.UnalignedFetch.__init__">
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">gen_params</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="coreblocks.params.html#coreblocks.params.genparams.GenParams" title="coreblocks.params.genparams.GenParams"><span class="pre">GenParams</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">icache</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#coreblocks.frontend.icache.ICacheInterface" title="coreblocks.frontend.icache.ICacheInterface"><span class="pre">ICacheInterface</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">cont</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Method</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#coreblocks.frontend.fetch.UnalignedFetch.__init__" title="Permalink to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">gen_params</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="coreblocks.params.html#coreblocks.params.genparams.GenParams" title="coreblocks.params.genparams.GenParams"><span class="pre">GenParams</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">icache</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#coreblocks.frontend.icache.ICacheInterface" title="coreblocks.frontend.icache.ICacheInterface"><span class="pre">ICacheInterface</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">cont</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="transactron.html#transactron.core.Method" title="transactron.core.Method"><span class="pre">Method</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#coreblocks.frontend.fetch.UnalignedFetch.__init__" title="Permalink to this definition"></a></dt>
<dd><dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><dl class="simple">
Expand Down Expand Up @@ -331,17 +331,17 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<dl class="py attribute">
<dt class="sig sig-object py" id="coreblocks.frontend.icache.ICacheInterface.accept_res">
<span class="sig-name descname"><span class="pre">accept_res</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">Method</span></em><a class="headerlink" href="#coreblocks.frontend.icache.ICacheInterface.accept_res" title="Permalink to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">accept_res</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><a class="reference internal" href="transactron.html#transactron.core.Method" title="transactron.core.Method"><span class="pre">Method</span></a></em><a class="headerlink" href="#coreblocks.frontend.icache.ICacheInterface.accept_res" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="coreblocks.frontend.icache.ICacheInterface.flush">
<span class="sig-name descname"><span class="pre">flush</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">Method</span></em><a class="headerlink" href="#coreblocks.frontend.icache.ICacheInterface.flush" title="Permalink to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">flush</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><a class="reference internal" href="transactron.html#transactron.core.Method" title="transactron.core.Method"><span class="pre">Method</span></a></em><a class="headerlink" href="#coreblocks.frontend.icache.ICacheInterface.flush" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="coreblocks.frontend.icache.ICacheInterface.issue_req">
<span class="sig-name descname"><span class="pre">issue_req</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">Method</span></em><a class="headerlink" href="#coreblocks.frontend.icache.ICacheInterface.issue_req" title="Permalink to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">issue_req</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><a class="reference internal" href="transactron.html#transactron.core.Method" title="transactron.core.Method"><span class="pre">Method</span></a></em><a class="headerlink" href="#coreblocks.frontend.icache.ICacheInterface.issue_req" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>
Expand Down Expand Up @@ -404,7 +404,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion coreblocks.fu.html
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion coreblocks.fu.unsigned_multiplication.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion coreblocks.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<div role="contentinfo">
<p>&#169; Copyright Kuźnia Rdzeni, 2023.
<span class="lastupdated">Last updated on 09:14 2023-10-06.
<span class="lastupdated">Last updated on 10:23 2023-10-07.
</span></p>
</div>

Expand Down
Loading

0 comments on commit c74ed41

Please sign in to comment.