From: Luke Kenneth Casson Leighton Date: Sun, 17 May 2020 13:00:46 +0000 (+0100) Subject: remove condition stopping wr_reset from firing on LD X-Git-Tag: div_pipeline~1114 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5864fe759b8268e74e0c50f9d3f8f70a302610aa;p=soc.git remove condition stopping wr_reset from firing on LD --- 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)