From: Luke Kenneth Casson Leighton Date: Thu, 16 May 2019 11:34:31 +0000 (+0100) Subject: add back in rd-flag qualification into fn unit X-Git-Tag: div_pipeline~2032 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c70be15616844d6c288d9dc9d936cbaa75ef0165;p=soc.git add back in rd-flag qualification into fn unit --- 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)