forked from M-Labs/artiq-zynq
pipeline GW: clean up buffer
This commit is contained in:
parent
40647b46a2
commit
c5760a5528
@ -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 += [
|
||||
|
Loading…
Reference in New Issue
Block a user