core/arp: Simplify IDLE state.

This commit is contained in:
Florent Kermarrec 2021-09-22 18:35:48 +02:00
parent 4cadf912f2
commit 33322ad80f
1 changed files with 0 additions and 2 deletions

View File

@ -44,10 +44,8 @@ class LiteEthARPTX(Module):
self.submodules.fsm = fsm = FSM(reset_state="IDLE") self.submodules.fsm = fsm = FSM(reset_state="IDLE")
fsm.act("IDLE", fsm.act("IDLE",
sink.ready.eq(1),
NextValue(counter, 0), NextValue(counter, 0),
If(sink.valid, If(sink.valid,
sink.ready.eq(0),
NextState("SEND") NextState("SEND")
) )
) )