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

Function SLgetModuleFile

src/API/SLAPI.cpp:491–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489}
490
491std::string SLgetModuleFile(ModuleDefinition* module) {
492 if (!ModuleHasFirstFileContent(module)) return "";
493 return std::string(FileSystem::getInstance()->toPath(
494 module->getFileContents()[0]->getFileId(module->getNodeIds()[0])));
495}
496
497uint32_t SLgetModuleLine(ModuleDefinition* module) {
498 if (!ModuleHasFirstFileContent(module)) return 0;

Callers 3

slUserCallbackPerDesignFunction · 0.85
slUserCallbackPerDesignFunction · 0.85
slUserCallbackPerDesignFunction · 0.85

Calls 3

toPathMethod · 0.80
getFileIdMethod · 0.45

Tested by

no test coverage detected