core/refresher: set cmd.valid to 0 when sequencer done

This commit is contained in:
Florent Kermarrec 2019-08-30 08:55:38 +02:00
parent 12ddc135be
commit a23b9e7877
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ class Refresher(Module):
# Wait Sequencer and advertise Controller when done
cmd.valid.eq(1),
If(sequencer.done,
cmd.valid.eq(0),
cmd.last.eq(1),
NextState("IDLE")
)