From c5760a552880c7aa15daea73e4564a20a6de38ab Mon Sep 17 00:00:00 2001 From: morgan Date: Thu, 9 Jan 2025 15:57:04 +0800 Subject: [PATCH] pipeline GW: clean up buffer --- src/gateware/cxp_pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gateware/cxp_pipeline.py b/src/gateware/cxp_pipeline.py index 573cca9..59bff24 100644 --- a/src/gateware/cxp_pipeline.py +++ b/src/gateware/cxp_pipeline.py @@ -580,7 +580,7 @@ class Trigger_Ack_Checker(Module, AutoCSR): ) class Buffer(Module): - def __init__(self, layout, omits=None): + def __init__(self, layout): self.sink = stream.Endpoint(layout) self.source = stream.Endpoint(layout) @@ -588,7 +588,7 @@ class Buffer(Module): self.sync += [ If((~self.source.stb | self.source.ack), - self.sink.connect(self.source, omit={"ack"}.union(omits) if omits else {"ack"}), + self.sink.connect(self.source, omit={"ack"}), ), ] self.comb += [