From 5864fe759b8268e74e0c50f9d3f8f70a302610aa Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 17 May 2020 14:00:46 +0100 Subject: [PATCH] remove condition stopping wr_reset from firing on LD --- src/soc/experiment/compldst_multi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/experiment/compldst_multi.py b/src/soc/experiment/compldst_multi.py index ed3adc05..9b7ad716 100644 --- a/src/soc/experiment/compldst_multi.py +++ b/src/soc/experiment/compldst_multi.py @@ -451,7 +451,7 @@ class LDSTCompUnit(Elaboratable): # provide "done" signal: select req_rel for non-LD/ST, adr_rel for LD/ST comb += wr_any.eq(self.st.go | self.wr.go[0] | self.wr.go[1]) - comb += wr_reset.eq(rst_l.q & busy_o & self.shadown_i & wr_any & + comb += wr_reset.eq(rst_l.q & busy_o & self.shadown_i & ~(self.st.rel | self.wr.rel[0] | self.wr.rel[1]) & (lod_l.qn | op_is_st)) comb += self.done_o.eq(wr_reset) -- 2.30.2