Skip to content

Commit ef5a9bf

Browse files
committed
🚀 full rebuild and typo fix
1 parent 00c7348 commit ef5a9bf

File tree

8 files changed

+29
-23
lines changed

8 files changed

+29
-23
lines changed

build/doctrees/environment.pickle

47 Bytes
Binary file not shown.

build/doctrees/implspec.doctree

272 Bytes
Binary file not shown.

build/html/_sources/implspec.rst.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ creates a tuple of binary values **Tuple-binary**.
2626

2727
.. TIP::
2828
The bits are reversed to make trailing zeros important
29-
For example: ``1,0,0, 0...`` is 4 (in binary) but will not be recognised
30-
because when pushed to the tuple it will be ``(...,0,0,1)`` is
31-
which means 1 (in binary). When reversed: ``0,0,1,...`` and pushed
32-
to a tuple it will be ``(0,0,1,...)``
29+
For example: ``1,0,0,...`` is 4 (in binary) but will not be recognised
30+
because when pushed to the tuple it will be ``(...,0,0,1)``. To fix this
31+
the bits are reversed. For example: ``1,0,1,...``
32+
which means 3 (in binary). When reversed and pushed
33+
to a tuple it will be ``(1,0,1,...)`` preserving the meaning of the
34+
binary.
3335

3436
.. HINT::
3537
Tuple-binary values are always in reverse binary order,
@@ -46,7 +48,7 @@ with integer conversion.
4648

4749
There are `4`, `8` and `16` bit generators.
4850

49-
They take in a one `n-bit binary number` (where n < specified-bit).
51+
They take in a one `n-bit binary number` (where n < specified-bit).
5052

5153
Returns a tuple-binary of size `n`.
5254

@@ -76,7 +78,7 @@ Where the function does this:
7678
Call the function ``generateStreamBits`` and provide one 1-bit value.
7779

7880
.. code-block::
79-
81+
8082
generateStreamBits(1)
8183
Output: 65535 # decimal representation
8284
@@ -94,7 +96,7 @@ The argument supplied is the `tuple-binary`.
9496
The return value is an `integer`.
9597

9698
.. code-block::
97-
99+
98100
tupleToBinary((1,0))
99101
Output: 2 # decimal representation
100102

build/html/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
4646
<ul class="current">
4747
<li class="toctree-l1"><a class="reference internal" href="implspec.html">Implementation Specific (implspec.py)</a></li>
48-
<li class="toctree-l1"><a class="reference internal" href="units.html">Logic Units (units.py)</a></li>
48+
<li class="toctree-l1"><a class="reference internal" href="units.html">Units (units.py)</a></li>
4949
<li class="toctree-l1"><a class="reference internal" href="memory.html">Memory (memory.py)</a></li>
5050
<li class="toctree-l1"><a class="reference internal" href="processor.html">Processor (processor.py)</a></li>
5151
<li class="toctree-l1"><a class="reference internal" href="main.html">Main (main.py)</a></li>

build/html/implspec.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,12 @@ <h3>Push to Tuple<a class="headerlink" href="#push-to-tuple" title="Link to this
120120
<div class="admonition tip">
121121
<p class="admonition-title">Tip</p>
122122
<p>The bits are reversed to make trailing zeros important
123-
For example: <code class="docutils literal notranslate"><span class="pre">1,0,0,</span> <span class="pre">0...</span></code> is 4 (in binary) but will not be recognised
124-
because when pushed to the tuple it will be <code class="docutils literal notranslate"><span class="pre">(...,0,0,1)</span></code> is
125-
which means 1 (in binary). When reversed: <code class="docutils literal notranslate"><span class="pre">0,0,1,...</span></code> and pushed
126-
to a tuple it will be <code class="docutils literal notranslate"><span class="pre">(0,0,1,...)</span></code></p>
123+
For example: <code class="docutils literal notranslate"><span class="pre">1,0,0,...</span></code> is 4 (in binary) but will not be recognised
124+
because when pushed to the tuple it will be <code class="docutils literal notranslate"><span class="pre">(...,0,0,1)</span></code>. To fix this
125+
the bits are reversed. For example: <code class="docutils literal notranslate"><span class="pre">1,0,1,...</span></code>
126+
which means 3 (in binary). When reversed and pushed
127+
to a tuple it will be <code class="docutils literal notranslate"><span class="pre">(1,0,1,...)</span></code> preserving the meaning of the
128+
binary.</p>
127129
</div>
128130
<div class="admonition hint">
129131
<p class="admonition-title">Hint</p>

build/html/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/html/units.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<script src="_static/js/theme.js"></script>
2323
<link rel="index" title="Index" href="genindex.html" />
2424
<link rel="search" title="Search" href="search.html" />
25-
<link rel="next" title="tMemory (memory.py)" href="memory.html" />
25+
<link rel="next" title="Memory (memory.py)" href="memory.html" />
2626
<link rel="prev" title="Implementation Specific (implspec.py)" href="implspec.html" />
2727
</head>
2828

@@ -70,7 +70,7 @@
7070
<li class="toctree-l2"><a class="reference internal" href="#conditional-unit">Conditional Unit</a></li>
7171
</ul>
7272
</li>
73-
<li class="toctree-l1"><a class="reference internal" href="memory.html">tMemory (memory.py)</a></li>
73+
<li class="toctree-l1"><a class="reference internal" href="memory.html">Memory (memory.py)</a></li>
7474
<li class="toctree-l1"><a class="reference internal" href="processor.html">Processor (processor.py)</a></li>
7575
<li class="toctree-l1"><a class="reference internal" href="main.html">Main (main.py)</a></li>
7676
<li class="toctree-l1"><a class="reference internal" href="api.html">API Reference</a></li>
@@ -898,7 +898,7 @@ <h2>Arithmetic Unit<a class="headerlink" href="#arithmetic-unit" title="Link to
898898
</div>
899899
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
900900
<a href="implspec.html" class="btn btn-neutral float-left" title="Implementation Specific (implspec.py)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
901-
<a href="memory.html" class="btn btn-neutral float-right" title="tMemory (memory.py)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
901+
<a href="memory.html" class="btn btn-neutral float-right" title="Memory (memory.py)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
902902
</div>
903903

904904
<hr/>

source/implspec.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ creates a tuple of binary values **Tuple-binary**.
2626

2727
.. TIP::
2828
The bits are reversed to make trailing zeros important
29-
For example: ``1,0,0, 0...`` is 4 (in binary) but will not be recognised
30-
because when pushed to the tuple it will be ``(...,0,0,1)`` is
31-
which means 1 (in binary). When reversed: ``0,0,1,...`` and pushed
32-
to a tuple it will be ``(0,0,1,...)``
29+
For example: ``1,0,0,...`` is 4 (in binary) but will not be recognised
30+
because when pushed to the tuple it will be ``(...,0,0,1)``. To fix this
31+
the bits are reversed. For example: ``1,0,1,...``
32+
which means 3 (in binary). When reversed and pushed
33+
to a tuple it will be ``(1,0,1,...)`` preserving the meaning of the
34+
binary.
3335

3436
.. HINT::
3537
Tuple-binary values are always in reverse binary order,
@@ -46,7 +48,7 @@ with integer conversion.
4648

4749
There are `4`, `8` and `16` bit generators.
4850

49-
They take in a one `n-bit binary number` (where n < specified-bit).
51+
They take in a one `n-bit binary number` (where n < specified-bit).
5052

5153
Returns a tuple-binary of size `n`.
5254

@@ -76,7 +78,7 @@ Where the function does this:
7678
Call the function ``generateStreamBits`` and provide one 1-bit value.
7779

7880
.. code-block::
79-
81+
8082
generateStreamBits(1)
8183
Output: 65535 # decimal representation
8284
@@ -94,7 +96,7 @@ The argument supplied is the `tuple-binary`.
9496
The return value is an `integer`.
9597

9698
.. code-block::
97-
99+
98100
tupleToBinary((1,0))
99101
Output: 2 # decimal representation
100102

0 commit comments

Comments
 (0)