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

Method getInstanceName

src/Design/ModuleInstance.cpp:292–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292std::string ModuleInstance::getInstanceName() const {
293 if (m_definition == nullptr) {
294 std::string name =
295 m_instName.substr(m_instName.find("&", 0, 1) + 1, m_instName.size());
296 return name;
297 } else {
298 return m_instName;
299 }
300}
301
302std::string_view ModuleInstance::getModuleName() const {
303 if (m_definition == nullptr) {

Callers 13

SLgetInstanceNameFunction · 0.80
createBindInstance_Method · 0.80
elaborateInstance_Method · 0.80
writeInstanceMethod · 0.80
elaborate_Method · 0.80
getInterfaceInstance_Method · 0.80
high_conn_Method · 0.80
elab_generates_Method · 0.80
elab_interfaces_Method · 0.80
findInstanceMethod · 0.80
findInstance_Method · 0.80
getChildByNameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected