From ba991f40ede816d07c62aac4b1fcdf9e40fa3b31 Mon Sep 17 00:00:00 2001 From: Catherine Date: Fri, 19 Jul 2024 02:17:18 +0000 Subject: [PATCH] RFC #69: fix another editing error. --- text/0069-simulation-port.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/0069-simulation-port.md b/text/0069-simulation-port.md index 7f2e06f..e5fca0c 100644 --- a/text/0069-simulation-port.md +++ b/text/0069-simulation-port.md @@ -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))), ] @@ -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),