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
1 changed files with 1 additions and 1 deletions

View File

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