Skip to content

Commit adec85f

Browse files
committed
Deploying to main from @ amaranth-lang/rfcs@ba991f4 🚀
1 parent 3b5f27f commit adec85f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

rfcs/0069-simulation-port.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,14 @@ <h2 id="reference-level-explanation"><a class="header" href="#reference-level-ex
226226
<p>Since this is a third <code>PortLike</code> with a compatible <code>__add__</code> implementation, and it is weird to have slicing but not concatenation, the <code>__add__</code> method is added to the <code>PortLike</code> signature, with a deprecation warning in 0.5.1 and a hard requirement in 0.6.0.</p>
227227
<p>The <code>amaranth.lib.io.Buffer</code> component is changed to accept <code>SimulationPort</code>s and performs the following connections (with the direction checks omitted for clarity):</p>
228228
<pre><code class="language-python">m.d.comb += [
229-
buffer.i.eq(Cat(Mux(port.oe, o, i) for o, i in zip(port.o, port.i))),
229+
buffer.i.eq(Cat(Mux(oe, o, i) for oe, o, i in zip(port.oe, port.o, port.i))),
230230
port.o.eq(buffer.o),
231231
port.oe.eq(buffer.oe.replicate(len(port))),
232232
]
233233
</code></pre>
234234
<p>The <code>amaranth.lib.io.FFBuffer</code> component is changed to accept <code>SimulationPort</code>s and performs the following connections (with the direction checks omitted for clarity):</p>
235235
<pre><code class="language-python">m.d[buffer.i_domain] += [
236-
buffer.i.eq(Cat(Mux(port.oe, o, i) for o, i in zip(port.o, port.i))),
236+
buffer.i.eq(Cat(Mux(oe, o, i) for oe, o, i in zip(port.oe, port.o, port.i))),
237237
]
238238
m.d[buffer.o_domain] += [
239239
port.o.eq(buffer.o),

rfcs/print.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6196,14 +6196,14 @@ <h2 id="reference-level-explanation-38"><a class="header" href="#reference-level
61966196
<p>Since this is a third <code>PortLike</code> with a compatible <code>__add__</code> implementation, and it is weird to have slicing but not concatenation, the <code>__add__</code> method is added to the <code>PortLike</code> signature, with a deprecation warning in 0.5.1 and a hard requirement in 0.6.0.</p>
61976197
<p>The <code>amaranth.lib.io.Buffer</code> component is changed to accept <code>SimulationPort</code>s and performs the following connections (with the direction checks omitted for clarity):</p>
61986198
<pre><code class="language-python">m.d.comb += [
6199-
buffer.i.eq(Cat(Mux(port.oe, o, i) for o, i in zip(port.o, port.i))),
6199+
buffer.i.eq(Cat(Mux(oe, o, i) for oe, o, i in zip(port.oe, port.o, port.i))),
62006200
port.o.eq(buffer.o),
62016201
port.oe.eq(buffer.oe.replicate(len(port))),
62026202
]
62036203
</code></pre>
62046204
<p>The <code>amaranth.lib.io.FFBuffer</code> component is changed to accept <code>SimulationPort</code>s and performs the following connections (with the direction checks omitted for clarity):</p>
62056205
<pre><code class="language-python">m.d[buffer.i_domain] += [
6206-
buffer.i.eq(Cat(Mux(port.oe, o, i) for o, i in zip(port.o, port.i))),
6206+
buffer.i.eq(Cat(Mux(oe, o, i) for oe, o, i in zip(port.oe, port.o, port.i))),
62076207
]
62086208
m.d[buffer.o_domain] += [
62096209
port.o.eq(buffer.o),

rfcs/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.

rfcs/searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)