From 1bbd90ae4d239d101dba727945b2d9c323c934fd Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 16 Nov 2021 18:50:04 +0100 Subject: [PATCH] phy/trionrgmii: Fix source.last. --- liteeth/phy/trionrgmii.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liteeth/phy/trionrgmii.py b/liteeth/phy/trionrgmii.py index a11b712..53bde4b 100644 --- a/liteeth/phy/trionrgmii.py +++ b/liteeth/phy/trionrgmii.py @@ -105,9 +105,9 @@ class LiteEthPHYRGMIIRX(Module): self.comb += last.eq(~pads.rx_ctl & rx_ctl_d) self.sync += [ source.valid.eq(rx_ctl_d), - source.data.eq(rx_data), - source.last.eq(last), + source.data.eq(rx_data) ] + self.comb += source.last.eq(last) class LiteEthPHYRGMIICRG(Module, AutoCSR): def __init__(self, platform, clock_pads, with_hw_init_reset, hw_reset_cycles=256):