Skip to content

Commit 0fd6e29

Browse files
committed
Fixups
1 parent 0b8d951 commit 0fd6e29

File tree

6 files changed

+1
-550
lines changed

6 files changed

+1
-550
lines changed

frontends/verific/verific.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ bool is_blackbox(Netlist *nl)
228228
RTLIL::IdString VerificImporter::new_verific_id(Verific::DesignObj *obj)
229229
{
230230
std::string s = stringf("$%s", obj->Name());
231-
while (seen_ids.count(s) > 0) s = "$" + s;
231+
while (seen_ids.count(s)) s += stringf("$%d", autoidx++);
232232
seen_ids.insert(s);
233233
return s;
234234
}

tests/verific/case.gate.v

Lines changed: 0 additions & 115 deletions
This file was deleted.

tests/verific/case.gold.v

Lines changed: 0 additions & 56 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)