From e0899c1424ccc04ad161fbe9b7107c7d6373d98f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 5 Oct 2015 12:24:32 +0800 Subject: [PATCH] sim: make sure replaced memory signals are always in VCD signal set --- migen/sim/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migen/sim/core.py b/migen/sim/core.py index d531ee90..3329e8e3 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) -- 2.30.2