frontend/bist: remove wrong comment and don't increment ticks when waiting.
This commit is contained in:
parent
4dbb5b1cbb
commit
7c5e1e79da
|
@ -167,15 +167,14 @@ class _LiteDRAMBISTGenerator(Module):
|
|||
fsm.act("IDLE",
|
||||
If(self.start,
|
||||
NextValue(cmd_counter, 0),
|
||||
NextState("RUN") # always send first data on `start` even without `run` signal
|
||||
NextState("RUN")
|
||||
),
|
||||
NextValue(self.ticks, 0)
|
||||
)
|
||||
fsm.act("WAIT",
|
||||
If(self.run,
|
||||
NextState("RUN")
|
||||
),
|
||||
NextValue(self.ticks, self.ticks + 1)
|
||||
)
|
||||
)
|
||||
fsm.act("RUN",
|
||||
dma.sink.valid.eq(1),
|
||||
|
@ -247,8 +246,7 @@ class _LiteDRAMPatternGenerator(Module):
|
|||
fsm.act("WAIT",
|
||||
If(self.run,
|
||||
NextState("RUN")
|
||||
),
|
||||
NextValue(self.ticks, self.ticks + 1)
|
||||
)
|
||||
)
|
||||
fsm.act("RUN",
|
||||
dma.sink.valid.eq(1),
|
||||
|
|
Loading…
Reference in New Issue