diff --git a/migen/sim/core.py b/migen/sim/core.py index d531ee90c..3329e8e39 100644 --- a/migen/sim/core.py +++ b/migen/sim/core.py @@ -237,6 +237,8 @@ class Simulator: signals.add(cd.clk) if cd.rst is not None: signals.add(cd.rst) + for memory_array in mta.replacements.values(): + signals |= set(memory_array) signals = sorted(signals, key=lambda x: x.duid) self.vcd = VCDWriter(vcd_name, signals)