projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23758e3
)
back.pysim: simplify. NFC.
author
whitequark
<whitequark@whitequark.org>
Tue, 7 Jul 2020 01:59:25 +0000
(
01:59
+0000)
committer
whitequark
<whitequark@whitequark.org>
Tue, 7 Jul 2020 03:38:39 +0000
(
03:38
+0000)
nmigen/back/pysim.py
patch
|
blob
|
history
diff --git
a/nmigen/back/pysim.py
b/nmigen/back/pysim.py
index c27ee00d8b90912bbda9ca2111a4d59b3b0bb5bf..89945eb88bd7e054909cd2c18c3dec5e6a03d20e 100644
(file)
--- a/
nmigen/back/pysim.py
+++ b/
nmigen/back/pysim.py
@@
-187,10
+187,7
@@
class _SignalState:
self.signal = signal
self.pending = pending
self.waiters = dict()
- self.reset()
-
- def reset(self):
- self.curr = self.next = self.signal.reset
+ self.curr = self.next = signal.reset
def set(self, value):
if self.next == value: