mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
gemini feedback
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
This commit is contained in:
@@ -160,9 +160,9 @@ SpefReader::findInstanceRelative(std::string_view name)
|
||||
// both cases need.
|
||||
Instance *inst = sdc_network_->findInstanceRelative(instance_, name);
|
||||
if (inst == nullptr)
|
||||
inst = network_->findInstance(name);
|
||||
inst = network_->findChild(instance_, name);
|
||||
if (inst == nullptr && name.find('\\') != std::string_view::npos)
|
||||
inst = network_->findInstance(stripped(name));
|
||||
inst = network_->findChild(instance_, stripped(name));
|
||||
debugPrint(debug_, "spef_lookup", 1, "findInstance '{}' -> {}", name,
|
||||
inst ? "found" : "miss");
|
||||
return inst;
|
||||
|
||||
Reference in New Issue
Block a user