From bf68cc02aa2dcbb99d40208c125b9969fa972d1a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 9 Aug 2020 10:57:58 +0100 Subject: [PATCH] compalu combinatorial loop detected --- src/soc/experiment/compalu_multi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/experiment/compalu_multi.py b/src/soc/experiment/compalu_multi.py index 595e551f..514dc3fa 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -253,7 +253,7 @@ class MultiCompUnit(RegSpecALUAPI, Elaboratable): # dest operand latch (not using issue_i) m.d.comb += req_l.s.eq(alu_pulsem & self.wrmask) - m.d.comb += req_l.r.eq(reset_w | prev_wr_go) + m.d.sync += req_l.r.eq(reset_w | prev_wr_go) # create a latch/register for the operand oper_r = self.opsubsetkls(name="oper_r") -- 2.30.2