Skip to content

Commit

Permalink
cxxrtl: use debug attrs of alias not aliasee
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh authored and whitequark committed Nov 12, 2024
1 parent 915df16 commit 6d4f056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/cxxrtl/cxxrtl_backend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2497,7 +2497,7 @@ struct CxxrtlWorker {
// Alias of a member wire
const RTLIL::Wire *aliasee = debug_wire_type.sig_subst.as_wire();
f << indent << "items->add(path, " << escape_cxx_string(get_hdl_name(wire)) << ", ";
dump_debug_attrs(aliasee);
dump_debug_attrs(wire);
f << ", ";
// 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.
Expand Down

0 comments on commit 6d4f056

Please sign in to comment.