remove condition stopping wr_reset from firing on LD
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 17 May 2020 13:00:46 +0000 (14:00 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 17 May 2020 13:00:46 +0000 (14:00 +0100)
src/soc/experiment/compldst_multi.py

index ed3adc0573d0e1076922abbede18b8df2da87d94..9b7ad716da94b2303a9ee47875753ad932ee76cb 100644 (file)
@@ -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)