Skip to content

Commit 3b5f27f

Browse files
committed
Deploying to main from @ amaranth-lang/rfcs@527df0a 🚀
1 parent 400a524 commit 3b5f27f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

rfcs/0069-simulation-port.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ <h2 id="guide-level-explanation"><a class="header" href="#guide-level-explanatio
185185
return m
186186
</code></pre>
187187
<p>To simulate such a component, instantiate <code>lib.io.SimulationPort</code> objects for each of the ports, and use their <code>.o</code>, <code>.oe</code>, and <code>.i</code> signals to verify the functionality:</p>
188-
<pre><code class="language-python">sck_port = io.SimulationPort(1, direction=&quot;o&quot;)
189-
copi_port = io.SimulationPort(1, direction=&quot;o&quot;)
190-
cipo_port = io.SimulationPort(1, direction=&quot;i&quot;)
188+
<pre><code class="language-python">sck_port = io.SimulationPort(&quot;o&quot;, 1)
189+
copi_port = io.SimulationPort(&quot;o&quot;, 1)
190+
cipo_port = io.SimulationPort(&quot;i&quot;, 1)
191191

192192
dut = SPIController(sck_port, copi_port, cipo_port)
193193

rfcs/print.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -6155,9 +6155,9 @@ <h2 id="guide-level-explanation-38"><a class="header" href="#guide-level-explana
61556155
return m
61566156
</code></pre>
61576157
<p>To simulate such a component, instantiate <code>lib.io.SimulationPort</code> objects for each of the ports, and use their <code>.o</code>, <code>.oe</code>, and <code>.i</code> signals to verify the functionality:</p>
6158-
<pre><code class="language-python">sck_port = io.SimulationPort(1, direction=&quot;o&quot;)
6159-
copi_port = io.SimulationPort(1, direction=&quot;o&quot;)
6160-
cipo_port = io.SimulationPort(1, direction=&quot;i&quot;)
6158+
<pre><code class="language-python">sck_port = io.SimulationPort(&quot;o&quot;, 1)
6159+
copi_port = io.SimulationPort(&quot;o&quot;, 1)
6160+
cipo_port = io.SimulationPort(&quot;i&quot;, 1)
61616161

61626162
dut = SPIController(sck_port, copi_port, cipo_port)
61636163

rfcs/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rfcs/searchindex.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)