From 91e440e2263ca77af86f938c57b07b194c06fc1d Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 8 Jul 2020 07:12:00 +0000 Subject: [PATCH] back.pysim: reset timeline as well. This is a bug that was introduced in 94faf497b. --- nmigen/back/pysim.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nmigen/back/pysim.py b/nmigen/back/pysim.py index 71b1b95..155a649 100644 --- a/nmigen/back/pysim.py +++ b/nmigen/back/pysim.py @@ -221,6 +221,7 @@ class _SimulatorState: self.pending = set() def reset(self): + self.timeline.reset() for signal, index in self.signals.items(): self.slots[index].curr = self.slots[index].next = signal.reset self.pending.clear() -- 2.30.2