From 5253b0c06e3ac79a85d40044b31acda03ee4a9f9 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 19 Aug 2015 01:09:16 +0200 Subject: [PATCH] migen/actorlib/packet: fix source.error in Depacketizer --- migen/actorlib/packet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/actorlib/packet.py b/migen/actorlib/packet.py index 0cbe8becf..7af4a0439 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),