mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Workaround for zero-delay loop simulation problem with Icarus Verilog. TODO: clarify and revert this commit.
This commit is contained in:
parent
0620e75cb8
commit
79e5f24a65
1 changed files with 2 additions and 1 deletions
|
@ -251,9 +251,10 @@ class Multiplexer:
|
||||||
)
|
)
|
||||||
fsm.act(fsm.REFRESH,
|
fsm.act(fsm.REFRESH,
|
||||||
steerer.sel[0].eq(STEER_REFRESH),
|
steerer.sel[0].eq(STEER_REFRESH),
|
||||||
self.refresher.ack.eq(1),
|
|
||||||
If(~self.refresher.req, fsm.next_state(fsm.READ))
|
If(~self.refresher.req, fsm.next_state(fsm.READ))
|
||||||
)
|
)
|
||||||
|
# FIXME: workaround for zero-delay loop simulation problem with Icarus Verilog
|
||||||
|
comb.append(self.refresher.ack.eq(fsm._state == fsm.REFRESH))
|
||||||
|
|
||||||
return Fragment(comb, sync) + \
|
return Fragment(comb, sync) + \
|
||||||
choose_cmd.get_fragment() + \
|
choose_cmd.get_fragment() + \
|
||||||
|
|
Loading…
Reference in a new issue