From 6cbdbe4cd6f5834c784b201b7bb9a0ca71fd8675 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 13 Aug 2020 16:49:07 +0100 Subject: [PATCH] another sync to cut latency --- 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 8db244a1..864dc048 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -233,7 +233,7 @@ class MultiCompUnit(RegSpecALUAPI, Elaboratable): m.d.comb += reset_r.eq(self.rd.go_i | Repl(self.go_die_i, self.n_src)) # read-done,wr-proceed latch - m.d.comb += rok_l.s.eq(self.issue_i) # set up when issue starts + m.d.sync += rok_l.s.eq(self.issue_i) # set up when issue starts m.d.sync += rok_l.r.eq(self.alu.n.valid_o & self.busy_o) # ALU done # wr-done, back-to-start latch -- 2.30.2