From af52203c003cb1cf1aa67fc30c21466545fcd10c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 17 Nov 2019 11:57:14 +0100 Subject: [PATCH] soc/interconnect/packet/Depacketizer: cleanup "ALIGNED-DATA-COPY" state --- litex/soc/interconnect/packet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litex/soc/interconnect/packet.py b/litex/soc/interconnect/packet.py index 3b4d1aef5..89bd19554 100644 --- a/litex/soc/interconnect/packet.py +++ b/litex/soc/interconnect/packet.py @@ -355,10 +355,10 @@ class Depacketizer(Module): ) ) fsm.act("ALIGNED-DATA-COPY", - source.last.eq(sink.last | sink_d.last), - source.data.eq(sink.data), - sink.ready.eq(source.ready), source.valid.eq(sink.valid | sink_d.last), + source.last.eq(sink.last | sink_d.last), + sink.ready.eq(source.ready), + source.data.eq(sink.data), If(source.valid & source.ready, If(source.last, NextState("IDLE")