From 8f6eab0f6c38d9e0245033b88331562d19164483 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 7 Jul 2020 01:59:25 +0000 Subject: [PATCH] back.pysim: simplify. NFC. --- nmigen/back/pysim.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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: -- 2.30.2