cxxrtl: don't mark buffered internal wires as UNUSED for debug.
authorwhitequark <whitequark@whitequark.org>
Fri, 16 Jul 2021 07:36:18 +0000 (07:36 +0000)
committerwhitequark <whitequark@whitequark.org>
Fri, 16 Jul 2021 07:54:49 +0000 (07:54 +0000)
commit44a3d924ce30adfd3a09ffea40031a8d28445e25
tree7fa68e74d99b7d1d91ba7dd41b780832e9251702
parentc17e385e3563e918e87a4f8bafbe290dd0911a8b
cxxrtl: don't mark buffered internal wires as UNUSED for debug.

Public wires may alias buffered internal wires, so keep BUFFERED
wires in debug information even if they are private. Debug items are
only created for public wires, so this does not otherwise affect how
debug information is emitted.

Fixes #2540.
Fixes #2841.
backends/cxxrtl/cxxrtl_backend.cc