From a5f2aa7df4f43a1920248de851eb0c432b9bf452 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 22 May 2019 08:34:12 +0100 Subject: [PATCH] have to stop forward progress if issue is set --- src/scoreboard/dependence_cell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scoreboard/dependence_cell.py b/src/scoreboard/dependence_cell.py index a45c5839..f509010c 100644 --- a/src/scoreboard/dependence_cell.py +++ b/src/scoreboard/dependence_cell.py @@ -51,7 +51,7 @@ class DepCell(Elaboratable): m.d.comb += l.r.eq(self.go_i) # Function Unit "Forward Progress". - m.d.comb += self.fwd_o.eq((l.q) & self.hazard_i)# & ~self.issue_i) + m.d.comb += self.fwd_o.eq((l.q) & self.hazard_i & ~self.issue_i) # Register Select. Activated on go read/write and *current* latch set m.d.comb += self.rsel_o.eq((cq | l.q) & self.go_i) -- 2.30.2