From c135d338975880db2abf4d8d0d38d9ca2aa69723 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 6 Jun 2020 06:00:38 +0100 Subject: [PATCH] whitespace / code-munge --- src/soc/scoreboard/issue_unit.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/soc/scoreboard/issue_unit.py b/src/soc/scoreboard/issue_unit.py index 44d76e89..27d6ff9d 100644 --- a/src/soc/scoreboard/issue_unit.py +++ b/src/soc/scoreboard/issue_unit.py @@ -1,6 +1,6 @@ from nmigen.compat.sim import run_simulation from nmigen.cli import verilog, rtlil -from nmigen import Module, Signal, Cat, Array, Const, Repl, Elaboratable +from nmigen import Module, Signal, Cat, Const, Repl, Elaboratable from nmigen.lib.coding import Decoder from nmutil.picker import PriorityPicker @@ -110,7 +110,8 @@ class IssueUnitGroup(Elaboratable): m.d.comb += self.busy_o.eq(~((~self.busy_i).bool())) # Picker only raises one signal, therefore it's also the fn_issue - m.d.comb += self.fn_issue_o.eq(pick.o & Repl(~self.busy_o, self.n_insns)) + busys = Repl(~self.busy_o, self.n_insns) + m.d.comb += self.fn_issue_o.eq(pick.o & busys) return m -- 2.30.2