mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
core/multiplexer: rewrite arbiter comment
This commit is contained in:
parent
37db41648e
commit
80c8ecf477
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ class _CommandChooser(Module):
|
|||
If(cmd.valid & cmd.ready & (arbiter.grant == i),
|
||||
request.ready.eq(1)
|
||||
)
|
||||
# Arbitrate if we're accepting commands, *or* if we are not but the current selection is not valid
|
||||
# This is to ensure that a valid command is selected when cmd.ready goes high
|
||||
# Arbitrate if a command is being accepted or if the command is not valid to ensure a valid
|
||||
# command is selected when cmd.ready goes high.
|
||||
self.comb += arbiter.ce.eq(cmd.ready | ~cmd.valid)
|
||||
|
||||
# helpers
|
||||
|
|
Loading…
Reference in a new issue