Skip to content

Commit

Permalink
RFC #69: fix another editing error.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Jul 19, 2024
1 parent 527df0a commit ba991f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/0069-simulation-port.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ The `amaranth.lib.io.Buffer` component is changed to accept `SimulationPort`s an

```python
m.d.comb += [
buffer.i.eq(Cat(Mux(port.oe, o, i) for o, i in zip(port.o, port.i))),
buffer.i.eq(Cat(Mux(oe, o, i) for oe, o, i in zip(port.oe, port.o, port.i))),
port.o.eq(buffer.o),
port.oe.eq(buffer.oe.replicate(len(port))),
]
Expand All @@ -111,7 +111,7 @@ The `amaranth.lib.io.FFBuffer` component is changed to accept `SimulationPort`s

```python
m.d[buffer.i_domain] += [
buffer.i.eq(Cat(Mux(port.oe, o, i) for o, i in zip(port.o, port.i))),
buffer.i.eq(Cat(Mux(oe, o, i) for oe, o, i in zip(port.oe, port.o, port.i))),
]
m.d[buffer.o_domain] += [
port.o.eq(buffer.o),
Expand Down

0 comments on commit ba991f4

Please sign in to comment.