cxxrtl: emit debug information for constant wires.
authorwhitequark <whitequark@whitequark.org>
Mon, 8 Jun 2020 17:29:08 +0000 (17:29 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 8 Jun 2020 17:29:08 +0000 (17:29 +0000)
commitf2d7a18756088f4167b91c5ec4735bb694f36567
treec06ce266bf04244616d1aa7c9abd1b39e7cf1d86
parentd5c07e5b6f5c91666867751233f5c537068a7136
cxxrtl: emit debug information for constant wires.

Constant wires can represent a significant chunk of the design in
generic designs or after optimization. Emitting them in VCD files
significantly improves usability because gtkwave removes all traces
that are not present in the VCD file after reload, and iterative
development suffers if switching a varying signal to a constant
disrupts the workflow.
backends/cxxrtl/cxxrtl.h
backends/cxxrtl/cxxrtl_backend.cc
backends/cxxrtl/cxxrtl_capi.h