From 4bb2f708f75bbad7b72150ab6fbad9368d338d91 Mon Sep 17 00:00:00 2001 From: Stuart Olsen Date: Tue, 7 Apr 2020 04:17:14 -0700 Subject: [PATCH] back.pysim: Clear pending updates after they are effected --- nmigen/back/pysim.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nmigen/back/pysim.py b/nmigen/back/pysim.py index dfe2ab5..1ea631c 100644 --- a/nmigen/back/pysim.py +++ b/nmigen/back/pysim.py @@ -251,6 +251,7 @@ class _SimulatorState: if self.waveform_writer is not None: self.waveform_writer.update(self.timestamp, signal_state.signal, signal_state.curr) + self.pending.clear() return awoken_any def advance(self): -- 2.30.2