projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654722c
)
back.pysim: throw exceptions back at processes.
author
whitequark
<whitequark@whitequark.org>
Fri, 14 Dec 2018 13:43:25 +0000
(13:43 +0000)
committer
whitequark
<whitequark@whitequark.org>
Fri, 14 Dec 2018 13:43:25 +0000
(13:43 +0000)
nmigen/back/pysim.py
patch
|
blob
|
history
diff --git
a/nmigen/back/pysim.py
b/nmigen/back/pysim.py
index c7e3f0fa2fe95c9f7ef224a4124013dc2146784b..53cb91e27287596acba89124841c65d9af1e8321 100644
(file)
--- a/
nmigen/back/pysim.py
+++ b/
nmigen/back/pysim.py
@@
-489,6
+489,9
@@
class Simulator:
self._processes.remove(process)
self._passive.discard(process)
+ except Exception as e:
+ process.throw(e)
+
def step(self, run_passive=False):
deadline = None
if self._wait_deadline: