mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-03 13:07:58 +00:00
Fix AbcModuleState::remap_name() to avoid calling IdString::c_str()
This commit is contained in:
parent
609da65bb4
commit
cd47727c8b
1 changed files with 1 additions and 1 deletions
|
|
@ -614,7 +614,7 @@ std::string AbcModuleState::remap_name(RTLIL::IdString abc_name, RTLIL::Wire **o
|
|||
}
|
||||
}
|
||||
}
|
||||
return stringf("$abc$%d$%s", map_autoidx, abc_name.c_str()+1);
|
||||
return stringf("$abc$%d$%s", map_autoidx, abc_name.substr(1));
|
||||
}
|
||||
|
||||
void AbcModuleState::dump_loop_graph(FILE *f, int &nr, dict<int, pool<int>> &edges, pool<int> &workpool, std::vector<int> &in_counts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue