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

Method getLibrary

src/Library/LibrarySet.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51Library* LibrarySet::getLibrary(std::string_view libName) {
52 for (auto& library : m_libraries) {
53 if (library.getName() == libName) return &library;
54 }
55 return nullptr;
56}
57
58Library* LibrarySet::getLibrary(PathId fileId) {
59 Library* lib = nullptr;

Callers 15

getCacheFileIdMethod · 0.45
restoreMethod · 0.45
getCacheFileIdMethod · 0.45
restoreDesignElementsMethod · 0.45
restoreMethod · 0.45
getCacheFileIdMethod · 0.45
TESTFunction · 0.45
compileInstantiationMethod · 0.45
compileMethod · 0.45
identifyTopModules_Method · 0.45
elaborateModule_Method · 0.45
createBindInstance_Method · 0.45

Calls 3

isMemberMethod · 0.80
addFileIdMethod · 0.80
getNameMethod · 0.45

Tested by 1

TESTFunction · 0.36