compldst_multi.py: fix reset on dcbz
authorTobias Platen <tplaten@posteo.de>
Sat, 30 Oct 2021 11:12:54 +0000 (13:12 +0200)
committerTobias Platen <tplaten@posteo.de>
Sat, 30 Oct 2021 11:12:54 +0000 (13:12 +0200)
src/soc/experiment/compldst_multi.py

index f6a0abd54da230aa76926803755834a58bdb7457..f94252f41e4c19ae58ab3c8c08c44c8fd7eaa618 100644 (file)
@@ -499,7 +499,7 @@ class LDSTCompUnit(RegSpecAPI, Elaboratable):
         comb += wr_reset.eq(rst_l.q & busy_o & cancel &
                             ~(self.st.rel_o | self.wr.rel_o[0] |
                               self.wr.rel_o[1]) &
-                            (lod_l.qn | op_is_st)
+                            (lod_l.qn | op_is_st_or_dcbz)
                             )
         comb += self.done_o.eq(wr_reset & (~self.pi.busy_o | op_is_ld))