From d2ef10fc034f60151e04002d7316b0c4a73fe3ab Mon Sep 17 00:00:00 2001 From: Leon Schuermann Date: Fri, 7 May 2021 09:36:24 +0200 Subject: [PATCH] mac/sram/timestamping: Fix stat_fifo refactoring typo. Fixes: 392414eef8991d ("mac: Review Timestamping, simplify and...") Signed-off-by: Leon Schuermann --- liteeth/mac/sram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteeth/mac/sram.py b/liteeth/mac/sram.py index 61ceed1..78a54cd 100644 --- a/liteeth/mac/sram.py +++ b/liteeth/mac/sram.py @@ -263,7 +263,7 @@ class LiteEthMACSRAMReader(Module, AutoCSR): if timestamp is not None: # Latch Timestamp on start of outgoing packet. - self.sync == If(start, stat_fifo.sink.timestamp.eq(timestamp)) + self.sync += If(start, stat_fifo.sink.timestamp.eq(timestamp)) self.comb += stat_fifo.sink.valid.eq(fsm.ongoing("END")), self.comb += stat_fifo.sink.slot.eq(cmd_fifo.source.slot) # Trigger event when Status FIFO has contents.