From c70be15616844d6c288d9dc9d936cbaa75ef0165 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 16 May 2019 12:34:31 +0100 Subject: [PATCH] add back in rd-flag qualification into fn unit --- src/scoreboard/fn_unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scoreboard/fn_unit.py b/src/scoreboard/fn_unit.py index c8fc8d76..fc05a9af 100644 --- a/src/scoreboard/fn_unit.py +++ b/src/scoreboard/fn_unit.py @@ -165,7 +165,7 @@ class FnUnit(Elaboratable): ro = Signal(reset_less=True) m.d.comb += g_rd.eq(self.g_wr_pend_i & self.rd_pend_o) m.d.comb += ro.eq(~g_rd.bool()) - m.d.comb += self.readable_o.eq(ro) + m.d.comb += self.readable_o.eq(ro & rd_l.q) # writable output signal g_wr_v = Signal(self.reg_width, reset_less=True) -- 2.30.2