mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
cxxrtl: use debug attrs of alias not aliasee
This commit is contained in:
parent
915df16c84
commit
6d4f056a35
1 changed files with 1 additions and 1 deletions
|
@ -2497,7 +2497,7 @@ struct CxxrtlWorker {
|
||||||
// Alias of a member wire
|
// Alias of a member wire
|
||||||
const RTLIL::Wire *aliasee = debug_wire_type.sig_subst.as_wire();
|
const RTLIL::Wire *aliasee = debug_wire_type.sig_subst.as_wire();
|
||||||
f << indent << "items->add(path, " << escape_cxx_string(get_hdl_name(wire)) << ", ";
|
f << indent << "items->add(path, " << escape_cxx_string(get_hdl_name(wire)) << ", ";
|
||||||
dump_debug_attrs(aliasee);
|
dump_debug_attrs(wire);
|
||||||
f << ", ";
|
f << ", ";
|
||||||
// If the aliasee is an outline, then the alias must be an outline, too; otherwise downstream
|
// If the aliasee is an outline, then the alias must be an outline, too; otherwise downstream
|
||||||
// tooling has no way to find out about the outline.
|
// tooling has no way to find out about the outline.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue