From: Jean THOMAS Date: Thu, 11 Jun 2020 10:12:20 +0000 (+0200) Subject: Remove old commented code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4424fd21ee6aee66d58b10ebc36a9997f812ae9;p=gram.git Remove old commented code --- diff --git a/gram/core/multiplexer.py b/gram/core/multiplexer.py index d53177a..90c5668 100644 --- a/gram/core/multiplexer.py +++ b/gram/core/multiplexer.py @@ -91,10 +91,8 @@ class _CommandChooser(Elaboratable): m.d.comb += getattr(self.cmd, name).eq(choices[arbiter.grant]) for i, request in enumerate(self._requests): - # with m.If(self.cmd.valid & self.cmd.ready & (arbiter.grant == i)): - # m.d.comb += request.ready.eq(1) # TODO: this shouldn't be commented - self.ready[i].eq(self.cmd.valid & self.cmd.ready & - (arbiter.grant == i)) + with m.If(self.cmd.valid & self.cmd.ready & (arbiter.grant == i)): + m.d.comb += self.ready[i].eq(1) # 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.