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

Method getModuleDefinition

src/Design/Design.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104ModuleDefinition* Design::getModuleDefinition(
105 std::string_view moduleName) const {
106 ModuleNameModuleDefinitionMap::const_iterator itr =
107 m_moduleDefinitions.find(moduleName);
108 if (itr != m_moduleDefinitions.end()) {
109 return (*itr).second;
110 }
111 return nullptr;
112}
113
114std::string Design::reportInstanceTree() const {
115 std::string tree;

Callers 4

createBindInstance_Method · 0.45
bindPortType_Method · 0.45
collectObjects_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected