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:
parent
af29c09ac0
commit
d2ef10fc03
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue