Merge pull request #2871 from whitequark/cxxrtl-fix-2540-2841

cxxrtl: don't mark buffered internal wires as UNUSED for debug
This commit is contained in:
whitequark 2021-07-16 08:33:30 +00:00 committed by GitHub
commit 10c3214e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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())