mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-05 06:45:46 +00:00
Fixups
This commit is contained in:
parent
0b8d951493
commit
0fd6e29e8e
6 changed files with 1 additions and 550 deletions
|
@ -228,7 +228,7 @@ bool is_blackbox(Netlist *nl)
|
|||
RTLIL::IdString VerificImporter::new_verific_id(Verific::DesignObj *obj)
|
||||
{
|
||||
std::string s = stringf("$%s", obj->Name());
|
||||
while (seen_ids.count(s) > 0) s = "$" + s;
|
||||
while (seen_ids.count(s)) s += stringf("$%d", autoidx++);
|
||||
seen_ids.insert(s);
|
||||
return s;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue