From: Tobias Platen Date: Thu, 25 Nov 2021 16:05:25 +0000 (+0100) Subject: pimem: reset on exception X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bfc3da77c4752cee5e1d5b0432c775d0a1127620;p=soc.git pimem: reset on exception --- diff --git a/src/soc/experiment/pimem.py b/src/soc/experiment/pimem.py index 78d0a700..bc1daee1 100644 --- a/src/soc/experiment/pimem.py +++ b/src/soc/experiment/pimem.py @@ -312,6 +312,7 @@ class PortInterfaceBase(Elaboratable): # monitor for an exception, clear busy immediately with m.If(self.pi.exc_o.happened): comb += busy_l.r.eq(1) + comb += reset_l.s.eq(1) # also reset whole unit # however ST needs one cycle before busy is reset #with m.If(self.pi.st.ok | self.pi.ld.ok):