From 32381907972e16d5f72705eaf5350b731a9d71c8 Mon Sep 17 00:00:00 2001 From: "N. Engelhardt" Date: Mon, 14 Sep 2020 12:43:18 +0200 Subject: use the new isPublic() in a few places --- passes/cmds/stat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'passes/cmds/stat.cc') 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; } -- cgit v1.2.3