From: Stuart Olsen Date: Tue, 7 Apr 2020 11:17:14 +0000 (-0700) Subject: back.pysim: Clear pending updates after they are effected X-Git-Tag: working_23jun2020~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e40dc0a2d336945dfe0669207fe160cafff50dc;p=nmigen.git back.pysim: Clear pending updates after they are effected --- 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):