mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 12:11: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
|
@ -368,7 +368,7 @@ struct ShowWorker
|
|||
const char *shape = "diamond";
|
||||
if (wire->port_input || wire->port_output)
|
||||
shape = "octagon";
|
||||
if (wire->name[0] == '\\') {
|
||||
if (wire->name.isPublic()) {
|
||||
fprintf(f, "n%d [ shape=%s, label=\"%s\", %s, fontcolor=\"black\" ];\n",
|
||||
id2num(wire->name), shape, findLabel(wire->name.str()),
|
||||
nextColor(RTLIL::SigSpec(wire), "color=\"black\"").c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue