MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / getChildByName

Method getChildByName

src/Design/ModuleInstance.cpp:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183ModuleInstance* ModuleInstance::getChildByName(std::string_view name) {
184 for (auto child : m_allSubInstances) {
185 if (child->getInstanceName() == name) return child;
186 }
187 return nullptr;
188}
189
190std::string ModuleInstance::decompile(char* valueName) {
191 ExprBuilder exprBuilder;

Callers

nothing calls this directly

Calls 1

getInstanceNameMethod · 0.80

Tested by

no test coverage detected