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.