mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-31 10:04:55 +02:00
read_saif ref missing instance resolves #406
Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
+3
-1
@@ -139,7 +139,9 @@ SaifReader::instancePush(const char *instance_name)
|
||||
else {
|
||||
// Inside annotation scope.
|
||||
Instance *parent = path_.empty() ? sdc_network_->topInstance() : path_.back();
|
||||
Instance *child = sdc_network_->findChild(parent, instance_name);
|
||||
Instance *child = parent
|
||||
? sdc_network_->findChild(parent, instance_name)
|
||||
: nullptr;
|
||||
path_.push_back(child);
|
||||
}
|
||||
stringDelete(instance_name);
|
||||
|
||||
Reference in New Issue
Block a user