intpick request-release bug
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 17 Apr 2020 16:29:46 +0000 (17:29 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 17 Apr 2020 16:29:49 +0000 (17:29 +0100)
src/soc/experiment/score6600_multi.py

index ee9586306505d845de3b418fa405518e18a65a3a..c27847c8b6069c2cb04ca56439ccd705a7216b84 100644 (file)
@@ -671,12 +671,13 @@ class Scoreboard(Elaboratable):
         # ---------
         int_rd_o = intfus.readable_o
         rrel_o = cu.rd_rel_o
+        rqrl_o = cu.req_rel_o
         for i in range(fu_n_src):
             comb += ipick1.rd_rel_i[i][0:n_intfus].eq(rrel_o[i][0:n_intfus])
             comb += ipick1.readable_i[i][0:n_intfus].eq(int_rd_o[0:n_intfus])
         int_wr_o = intfus.writable_o
         for i in range(fu_n_dst):
-            comb += ipick1.req_rel_i[i][0:n_intfus].eq(cu.done_o[0:n_intfus])
+            comb += ipick1.req_rel_i[i][0:n_intfus].eq(rqrl_o[i][0:n_intfus])
             comb += ipick1.writable_i[i][0:n_intfus].eq(int_wr_o[0:n_intfus])
 
         # ---------