From: whitequark Date: Tue, 7 Jul 2020 01:59:25 +0000 (+0000) Subject: back.pysim: simplify. NFC. X-Git-Tag: 24jan2021_ls180~35 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f6eab0f6c38d9e0245033b88331562d19164483;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: