MCPcopy Create free account
hub / github.com/PKU-IDEA/OpenPARF / getSubModule

Method getSubModule

openparf/routing/fpga-router/src/database/module.h:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 void setSubModuleNum(std::string subModuleName, int num) { subModuleNum[subModuleName] = num; }
35
36 std::shared_ptr<Module> getSubModule(std::string _name) {
37 if (submodules.find(_name) == submodules.end()) return nullptr;
38 return submodules[_name];
39 }
40 std::shared_ptr<Port> getPort(std::string portName) {
41 if (ports.find(portName) == ports.end()) return nullptr;
42 return ports[portName];

Callers 4

getPinIdxInGraphFunction · 0.80
getPinIdxInGraphMethod · 0.80
buildModuleFunction · 0.80
getPinsFromPortFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected