closes #132 spef net missing escapes

Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
James Cherry
2024-12-22 17:11:21 -07:00
parent b3b4fc9bbf
commit 3cf999c344
+6 -1
View File
@@ -168,7 +168,12 @@ SpefReader::findInstanceRelative(const char *name)
Net *
SpefReader::findNetRelative(const char *name)
{
return network_->findNetRelative(instance_, name);
Net *net = network_->findNetRelative(instance_, name);
// Relax spef escaping requirement because some commercial tools
// don't follow the rules.
if (net == nullptr)
net = sdc_network_->findNetRelative(instance_, name);
return net;
}
Pin *