actorlib/packet/Depacketizer: manage layouts without error signal
This commit is contained in:
parent
8d6aa82082
commit
5713ae381a
|
@ -282,10 +282,12 @@ class Depacketizer(Module):
|
|||
).Elif(source.stb & source.ack,
|
||||
source.sop.eq(0)
|
||||
)
|
||||
|
||||
if hasattr(sink, "error"):
|
||||
self.comb += source_error.eq(sink.error)
|
||||
self.comb += [
|
||||
source.eop.eq(sink.eop | no_payload),
|
||||
source.data.eq(sink.data),
|
||||
source.error.eq(sink.error),
|
||||
header.decode(self.header, source)
|
||||
]
|
||||
fsm.act("COPY",
|
||||
|
|
Loading…
Reference in New Issue