diff options
author | N. Engelhardt <nak@symbioticeda.com> | 2020-09-14 12:43:18 +0200 |
---|---|---|
committer | N. Engelhardt <nak@symbioticeda.com> | 2020-09-14 12:43:18 +0200 |
commit | 32381907972e16d5f72705eaf5350b731a9d71c8 (patch) | |
tree | 73c08e35387cb9df6d69cf0d9129b03e115fd69c /passes/cmds/stat.cc | |
parent | 4af04be0b7bb493a86a35a60f3b18d88df6b8ea9 (diff) | |
download | yosys-32381907972e16d5f72705eaf5350b731a9d71c8.tar.gz yosys-32381907972e16d5f72705eaf5350b731a9d71c8.tar.bz2 yosys-32381907972e16d5f72705eaf5350b731a9d71c8.zip |
use the new isPublic() in a few places
Diffstat (limited to 'passes/cmds/stat.cc')
-rw-r--r-- | passes/cmds/stat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/stat.cc b/passes/cmds/stat.cc index ed51fdc24..0d84c73db 100644 --- a/passes/cmds/stat.cc +++ b/passes/cmds/stat.cc @@ -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; } |