diff options
author | whitequark <whitequark@whitequark.org> | 2021-07-16 08:33:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 08:33:30 +0000 |
commit | 10c3214e566d8c763a68b7b18317171b707caca4 (patch) | |
tree | 7fa68e74d99b7d1d91ba7dd41b780832e9251702 /backends/cxxrtl | |
parent | c17e385e3563e918e87a4f8bafbe290dd0911a8b (diff) | |
parent | 44a3d924ce30adfd3a09ffea40031a8d28445e25 (diff) | |
download | yosys-10c3214e566d8c763a68b7b18317171b707caca4.tar.gz yosys-10c3214e566d8c763a68b7b18317171b707caca4.tar.bz2 yosys-10c3214e566d8c763a68b7b18317171b707caca4.zip |
Merge pull request #2871 from whitequark/cxxrtl-fix-2540-2841
cxxrtl: don't mark buffered internal wires as UNUSED for debug
Diffstat (limited to 'backends/cxxrtl')
-rw-r--r-- | backends/cxxrtl/cxxrtl_backend.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cxxrtl/cxxrtl_backend.cc b/backends/cxxrtl/cxxrtl_backend.cc index 26c534bec..eea8103a7 100644 --- a/backends/cxxrtl/cxxrtl_backend.cc +++ b/backends/cxxrtl/cxxrtl_backend.cc @@ -2795,7 +2795,7 @@ struct CxxrtlWorker { const auto &wire_type = wire_types[wire]; auto &debug_wire_type = debug_wire_types[wire]; if (wire_type.type == WireType::UNUSED) continue; - if (!wire->name.isPublic()) continue; + if (!wire->name.isPublic() && !wire_type.is_buffered()) continue; if (!debug_info) continue; if (wire->port_input || wire_type.is_buffered()) |