diff options
author | whitequark <whitequark@whitequark.org> | 2020-06-10 16:09:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 16:09:27 +0000 |
commit | 072b14f1a945d096d6f72fc4ac621354aa636c70 (patch) | |
tree | dc90291aed57d5109bdf520da26e603015bf45bf /backends/cxxrtl/cxxrtl_backend.cc | |
parent | 8f1a32064639fa17d67bda508df941c8846a0664 (diff) | |
parent | 0955a603c889e3ce86ca65cf59ec3ca5650c6517 (diff) | |
download | yosys-072b14f1a945d096d6f72fc4ac621354aa636c70.tar.gz yosys-072b14f1a945d096d6f72fc4ac621354aa636c70.tar.bz2 yosys-072b14f1a945d096d6f72fc4ac621354aa636c70.zip |
Merge pull request #2140 from whitequark/cxxrtl-aliases
cxxrtl: disambiguate values/wires and their aliases in debug info
Diffstat (limited to 'backends/cxxrtl/cxxrtl_backend.cc')
-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 785625f17..be73c9079 100644 --- a/backends/cxxrtl/cxxrtl_backend.cc +++ b/backends/cxxrtl/cxxrtl_backend.cc @@ -1646,7 +1646,7 @@ struct CxxrtlWorker { } else if (debug_alias_wires.count(wire)) { // Alias of a member wire f << indent << "items.emplace(path + " << escape_cxx_string(get_hdl_name(wire)); - f << ", debug_item(" << mangle(debug_alias_wires[wire]) << "));\n"; + f << ", debug_item(debug_alias(), " << mangle(debug_alias_wires[wire]) << "));\n"; count_alias_wires++; } else if (!localized_wires.count(wire)) { // Member wire |