projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd35c0
)
back.pysim: simplify. NFC.
author
whitequark
<whitequark@whitequark.org>
Tue, 7 Jul 2020 01:59:25 +0000
(
01:59
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 31 Dec 2021 14:46:55 +0000
(14:46 +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: