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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bb2f708f75bbad7b72150ab6fbad9368d338d91;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):