migen/actorlib/packet: fix source.error in Depacketizer

This commit is contained in:
Florent Kermarrec 2015-08-19 01:09:16 +02:00
parent 9210df9e9f
commit 5253b0c06e

View file

@ -284,7 +284,7 @@ class Depacketizer(Module):
) )
if hasattr(sink, "error"): if hasattr(sink, "error"):
self.comb += source_error.eq(sink.error) self.comb += source.error.eq(sink.error)
self.comb += [ self.comb += [
source.eop.eq(sink.eop | no_payload), source.eop.eq(sink.eop | no_payload),
source.data.eq(sink.data), source.data.eq(sink.data),