back.pysim: only extract signal names if VCD is requested.
authorwhitequark <whitequark@whitequark.org>
Wed, 8 Jul 2020 08:29:20 +0000 (08:29 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 8 Jul 2020 08:33:45 +0000 (08:33 +0000)
commit6d417568ad68565fc7e01e7611ce8cf0b8fdb603
tree6fd124da94f2a85d2e3f4ee1ac09179c46bc3112
parent3c3cfd48fbc11fe94b87af613069fcb2dbf53cbd
back.pysim: only extract signal names if VCD is requested.

This commit also fixes an issue introduced in 2606ee33 that regressed
simulator startup time and bloated VCD files. (It's actually about
10% faster now than *before* the regression was introduced.)
nmigen/back/pysim.py