projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95ffd6
)
back.pysim: naming. NFC.
author
whitequark
<cz@m-labs.hk>
Tue, 18 Dec 2018 04:46:36 +0000
(
04:46
+0000)
committer
whitequark
<cz@m-labs.hk>
Tue, 18 Dec 2018 04:46:36 +0000
(
04:46
+0000)
nmigen/back/pysim.py
patch
|
blob
|
history
diff --git
a/nmigen/back/pysim.py
b/nmigen/back/pysim.py
index 5a6b5ade9656252970dd0978e33887f03af82b2a..3f9f4b1eb0de8cc886c62d2dad65c9d6fe200b1f 100644
(file)
--- a/
nmigen/back/pysim.py
+++ b/
nmigen/back/pysim.py
@@
-343,10
+343,10
@@
class Simulator:
result = None
while True:
self._process_loc[sync_process] = self._name_process(process)
-
result
= process.send(result)
- if
result
is None:
-
result
= Tick(domain)
- result = yield
result
+
cmd
= process.send(result)
+ if
cmd
is None:
+
cmd
= Tick(domain)
+ result = yield
cmd
except StopIteration:
pass
sync_process = sync_process()