From: Florent Kermarrec Date: Tue, 18 Aug 2015 23:09:16 +0000 (+0200) Subject: migen/actorlib/packet: fix source.error in Depacketizer X-Git-Tag: 24jan2021_ls180~2099^2~24 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5253b0c06e3ac79a85d40044b31acda03ee4a9f9;p=litex.git migen/actorlib/packet: fix source.error in Depacketizer --- diff --git a/migen/actorlib/packet.py b/migen/actorlib/packet.py index 0cbe8bec..7af4a043 100644 --- a/migen/actorlib/packet.py +++ b/migen/actorlib/packet.py @@ -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),