mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 11:41:23 +00:00
use the new isPublic() in a few places
This commit is contained in:
parent
4af04be0b7
commit
3238190797
13 changed files with 25 additions and 25 deletions
|
@ -114,25 +114,25 @@ struct EquivMakeWorker
|
|||
Module *gate_clone = gate_mod->clone();
|
||||
|
||||
for (auto it : gold_clone->wires().to_vector()) {
|
||||
if ((it->name[0] == '\\' || inames) && blacklist_names.count(it->name) == 0)
|
||||
if ((it->name.isPublic() || inames) && blacklist_names.count(it->name) == 0)
|
||||
wire_names.insert(it->name);
|
||||
gold_clone->rename(it, it->name.str() + "_gold");
|
||||
}
|
||||
|
||||
for (auto it : gold_clone->cells().to_vector()) {
|
||||
if ((it->name[0] == '\\' || inames) && blacklist_names.count(it->name) == 0)
|
||||
if ((it->name.isPublic() || inames) && blacklist_names.count(it->name) == 0)
|
||||
cell_names.insert(it->name);
|
||||
gold_clone->rename(it, it->name.str() + "_gold");
|
||||
}
|
||||
|
||||
for (auto it : gate_clone->wires().to_vector()) {
|
||||
if ((it->name[0] == '\\' || inames) && blacklist_names.count(it->name) == 0)
|
||||
if ((it->name.isPublic() || inames) && blacklist_names.count(it->name) == 0)
|
||||
wire_names.insert(it->name);
|
||||
gate_clone->rename(it, it->name.str() + "_gate");
|
||||
}
|
||||
|
||||
for (auto it : gate_clone->cells().to_vector()) {
|
||||
if ((it->name[0] == '\\' || inames) && blacklist_names.count(it->name) == 0)
|
||||
if ((it->name.isPublic() || inames) && blacklist_names.count(it->name) == 0)
|
||||
cell_names.insert(it->name);
|
||||
gate_clone->rename(it, it->name.str() + "_gate");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue