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

Method getModuleName

src/Design/ModuleInstance.cpp:302–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302std::string_view ModuleInstance::getModuleName() const {
303 if (m_definition == nullptr) {
304 return std::string_view(m_instName).substr(0, m_instName.find("&", 0, 1));
305 } else {
306 return m_definition->getName();
307 }
308}
309
310void ModuleInstance::overrideParentChild(ModuleInstance* parent,
311 ModuleInstance* interm,

Callers 11

SLgetInstanceModuleNameFunction · 0.80
elaborateInstance_Method · 0.80
reduceUnnamedBlocks_Method · 0.80
writeInstanceMethod · 0.80
writeMethod · 0.80
decompileFunction · 0.80
elaborate_Method · 0.80
elab_interfaces_Method · 0.80
reportInstanceTreeMethod · 0.80

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected