mac/sram/timestamping: Fix stat_fifo refactoring typo.

Fixes: 392414eef8 ("mac: Review Timestamping, simplify and...")
Signed-off-by: Leon Schuermann <leon@is.currently.online>
This commit is contained in:
Leon Schuermann 2021-05-07 09:36:24 +02:00 committed by Florent Kermarrec
parent af29c09ac0
commit d2ef10fc03
1 changed files with 1 additions and 1 deletions

View File

@ -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.