From 25ed3aa8b40c7f8a91f834abd6953d02d61928e4 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