From 0e40dc0a2d336945dfe0669207fe160cafff50dc 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