mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-12 20:18:20 +00:00
respect hide_internal flag
This commit is contained in:
parent
169ffcd2fb
commit
990aee5531
|
@ -161,7 +161,7 @@ struct SimInstance
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shared->fst) {
|
if ((shared->fst) && !(shared->hide_internal && wire->name[0] == '$')) {
|
||||||
fstHandle id = shared->fst->getHandle(scope + "." + RTLIL::unescape_id(wire->name));
|
fstHandle id = shared->fst->getHandle(scope + "." + RTLIL::unescape_id(wire->name));
|
||||||
if (id==0 && wire->name.isPublic())
|
if (id==0 && wire->name.isPublic())
|
||||||
log_warning("Unable to found wire %s in input file.\n", (scope + "." + RTLIL::unescape_id(wire->name)).c_str());
|
log_warning("Unable to found wire %s in input file.\n", (scope + "." + RTLIL::unescape_id(wire->name)).c_str());
|
||||||
|
|
Loading…
Reference in a new issue