mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
use the new isPublic() in a few places
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ struct statdata_t
|
||||
|
||||
for (auto wire : mod->selected_wires())
|
||||
{
|
||||
if (wire->name[0] == '\\') {
|
||||
if (wire->name.isPublic()) {
|
||||
num_pub_wires++;
|
||||
num_pub_wire_bits += wire->width;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user