compalu combinatorial loop detected
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 Aug 2020 09:57:58 +0000 (10:57 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 Aug 2020 09:58:01 +0000 (10:58 +0100)
src/soc/experiment/compalu_multi.py

index 595e551f5bff512e28ab717e03337b7b3cd98421..514dc3fadda61fab0e12dc6ef9ab51d55911b712 100644 (file)
@@ -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")