gemini feedback

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
This commit is contained in:
dsengupta0628 2026-04-30 01:14:22 +00:00
parent 7598f9a4e7
commit 1e6e43bb48
1 changed files with 2 additions and 2 deletions

View File

@ -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;