From 25a0da60056af979b6dca95270f3ac19a5219a87 Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Sun, 16 Oct 2022 10:01:37 -0300 Subject: [PATCH] Reset src_l latch on issue_i When the input operand is masked, there will be no go_i pulse to reset the src_l latch, so we force it to reset on issue_i, as well. --- 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 3d1f7249..7eef2047 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -241,7 +241,7 @@ class MultiCompUnit(RegSpecALUAPI, Elaboratable): m.d.comb += reset.eq(req_done | self.go_die_i) m.d.comb += rst_r.eq(self.issue_i | self.go_die_i) m.d.comb += reset_w.eq(self.wr.go_i | Repl(self.go_die_i, self.n_dst)) - m.d.comb += reset_r.eq(self.rd.go_i | Repl(self.go_die_i, self.n_src)) + m.d.comb += reset_r.eq(self.rd.go_i | Repl(rst_r, self.n_src)) # read-done,wr-proceed latch rw_domain += rok_l.s.eq(self.issue_i) # set up when issue starts -- 2.30.2