use FU-FU matrix, seems to be working, still have to resolve dependencies
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 18 May 2019 05:29:08 +0000 (06:29 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 18 May 2019 05:29:08 +0000 (06:29 +0100)
src/scoreboard/fu_picker_vec.py

index fd44c45ff5a95db3e1a66cb6a5903f47704d0b01..21ed7fc2ddf0d015b34956a806ec3d4e41b90cda 100644 (file)
@@ -16,6 +16,6 @@ class FU_Pick_Vec(Elaboratable):
     def elaborate(self, platform):
         m = Module()
         m.d.comb += self.readable_o.eq(self.rd_pend_i.bool())
-        m.d.comb += self.writable_o.eq(self.wr_pend_i.bool())
+        m.d.comb += self.writable_o.eq(~self.wr_pend_i.bool())
         return m