From: Luke Kenneth Casson Leighton Date: Tue, 30 Nov 2021 16:12:31 +0000 (+0000) Subject: use latched readflag (recspec_decode_read "ok") instead of global one X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba2b93dd274f436b659b1923a12ef54f3e9b8cc0;p=soc.git use latched readflag (recspec_decode_read "ok") instead of global one --- diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index c00298ec..825c7d4d 100644 --- a/src/soc/simple/core.py +++ b/src/soc/simple/core.py @@ -586,7 +586,7 @@ class NonProductionCore(ControlBase): wvchk_en = Signal(len(wvchk), name="wv_chk_addr_en_"+name) issue_active = Signal(name="rd_iactive_"+name) # XXX combinatorial loop here - comb += issue_active.eq(fu_active & rf) + comb += issue_active.eq(fu_active & rdflag) with m.If(issue_active): if rfile.unary: comb += wvchk_en.eq(read)