whoops, readable/writable is inverted in fu picker vector
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 11 May 2019 07:18:26 +0000 (08:18 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 11 May 2019 07:18:26 +0000 (08:18 +0100)
src/scoreboard/fu_picker_vec.py

index fd44c45ff5a95db3e1a66cb6a5903f47704d0b01..7fe5d5a066c2accdde9844777d1712a53aa5de71 100644 (file)
@@ -15,7 +15,7 @@ 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.readable_o.eq(~self.rd_pend_i.bool())
+        m.d.comb += self.writable_o.eq(~self.wr_pend_i.bool())
         return m