From 80c8ecf4776e9dea504c4061fba1d1ab8eeaf1ec Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 14 Aug 2019 08:59:41 +0200 Subject: [PATCH] core/multiplexer: rewrite arbiter comment --- litedram/core/multiplexer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litedram/core/multiplexer.py b/litedram/core/multiplexer.py index 6d1f773..39a37e2 100644 --- a/litedram/core/multiplexer.py +++ b/litedram/core/multiplexer.py @@ -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