From: Luke Kenneth Casson Leighton Date: Wed, 29 May 2019 21:35:34 +0000 (+0100) Subject: wire up FU-FU matrix using inverted row/col X-Git-Tag: div_pipeline~1928 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d82aea2ddc957f5135227bb2439e702a961f4d4c;p=soc.git wire up FU-FU matrix using inverted row/col --- diff --git a/src/scoreboard/fu_dep_cell.py b/src/scoreboard/fu_dep_cell.py index 9e97a747..94dc948b 100644 --- a/src/scoreboard/fu_dep_cell.py +++ b/src/scoreboard/fu_dep_cell.py @@ -1,6 +1,6 @@ from nmigen.compat.sim import run_simulation from nmigen.cli import verilog, rtlil -from nmigen import Module, Signal, Elaboratable +from nmigen import Module, Signal, Const, Elaboratable from nmutil.latch import SRLatch @@ -45,8 +45,9 @@ class DepCell(Elaboratable): class FUDependenceCell(Elaboratable): """ implements 11.4.7 mitch alsup dependence cell, p27 """ - def __init__(self, n_fu=1): + def __init__(self, dummy, n_fu=1): self.n_fu = n_fu + self.dummy = Const(~(1<