make global pending sync-delayed
[soc.git] / src / experiment / compalu.py
index 3c97c19af99c9938c86a056477492864244ca948..2edf65875541588562bb6efcdf9bcdc9ce4ffa8b 100644 (file)
@@ -54,7 +54,7 @@ class ComputationUnitNoDelay(Elaboratable):
         m.d.comb += self.busy_o.eq(opc_l.q) # busy out
 
         with m.If(self.go_rd_i):
-            m.d.sync += self.counter.eq(2)
+            m.d.sync += self.counter.eq(1)
         with m.If(self.counter > 0):
             m.d.sync += self.counter.eq(self.counter - 1)
         with m.If(self.counter == 1):