sim: make sure replaced memory signals are always in VCD signal set
This commit is contained in:
parent
70e3280579
commit
e0899c1424
|
@ -237,6 +237,8 @@ class Simulator:
|
||||||
signals.add(cd.clk)
|
signals.add(cd.clk)
|
||||||
if cd.rst is not None:
|
if cd.rst is not None:
|
||||||
signals.add(cd.rst)
|
signals.add(cd.rst)
|
||||||
|
for memory_array in mta.replacements.values():
|
||||||
|
signals |= set(memory_array)
|
||||||
signals = sorted(signals, key=lambda x: x.duid)
|
signals = sorted(signals, key=lambda x: x.duid)
|
||||||
self.vcd = VCDWriter(vcd_name, signals)
|
self.vcd = VCDWriter(vcd_name, signals)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue