only want a single-bit transition
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 23 May 2019 13:27:10 +0000 (14:27 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 23 May 2019 13:27:10 +0000 (14:27 +0100)
src/experiment/score6600.py

index b265bf976c1e6d7fc184df6865959000f7857c2d..d4dcf4f11fed1113b272061acdc4581319b5f37a 100644 (file)
@@ -329,8 +329,7 @@ class Scoreboard(Elaboratable):
         m.d.comb += shadows.s_good_i[0:n_int_fus].eq(go_wr_o[0:n_int_fus])
 
         # work out the current-activated busy unit (by recording the old one)
-        with m.If(self.issue_o): # only update busy_prev if instruction issued
-            m.d.sync += busy_prev.eq(cu.busy_o)
+        m.d.sync += busy_prev.eq(cu.busy_o)
         m.d.comb += busy_curr.eq(~busy_prev & cu.busy_o)
 
         #---------