cxxrtl: track aliases in VCD writer.
authorwhitequark <whitequark@whitequark.org>
Mon, 8 Jun 2020 16:36:26 +0000 (16:36 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 8 Jun 2020 17:10:45 +0000 (17:10 +0000)
commitd5c07e5b6f5c91666867751233f5c537068a7136
tree4528ec4bdca26e99a172b30974102f104a5b29ca
parent9b39c6f7442a525c8dbfd94f1af65a0b606e648b
cxxrtl: track aliases in VCD writer.

This commit changes the VCD writer such that for all signals that
share `debug_item.curr`, it would only emit a single VCD identifier,
and sample the value once.

Commit 9b39c6f7 added redundancy to debug information by including
alias wires, and increased the size of VCD files proportionally; this
commit eliminates the redundancy from VCD files so that their size
is the same as before.
backends/cxxrtl/cxxrtl_vcd.h