From ba2b93dd274f436b659b1923a12ef54f3e9b8cc0 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 30 Nov 2021 16:12:31 +0000 Subject: [PATCH] use latched readflag (recspec_decode_read "ok") instead of global one --- src/soc/simple/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2