mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-04 10:20:24 +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
|
@ -146,7 +146,7 @@ struct XAigerWriter
|
|||
|
||||
// promote public wires
|
||||
for (auto wire : module->wires())
|
||||
if (wire->name[0] == '\\')
|
||||
if (wire->name.isPublic())
|
||||
sigmap.add(wire);
|
||||
|
||||
// promote input wires
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue