projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81bb0d6
)
pimem: reset on exception
author
Tobias Platen
<tplaten@posteo.de>
Thu, 25 Nov 2021 16:05:25 +0000
(17:05 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Thu, 25 Nov 2021 16:05:25 +0000
(17:05 +0100)
src/soc/experiment/pimem.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/pimem.py
b/src/soc/experiment/pimem.py
index 78d0a700b9b44d03b13e9dc52b742cf3a43b2ccd..bc1daee125871b18c5280863a440e1cf73c44e0e 100644
(file)
--- 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):