From: whitequark Date: Tue, 7 Jul 2020 01:59:25 +0000 (+0000) Subject: back.pysim: simplify. NFC. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25ed3aa8b40c7f8a91f834abd6953d02d61928e4;p=nmigen.git back.pysim: simplify. NFC. --- diff --git a/nmigen/back/pysim.py b/nmigen/back/pysim.py index c27ee00..89945eb 100644 --- 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: