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

Function SLgetModuleFileContent

src/API/SLAPI.cpp:507–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507FileContent* SLgetModuleFileContent(ModuleDefinition* module) {
508 if (!ModuleHasFirstFileContent(module)) return nullptr;
509 // TODO(alain): fix const cast.
510 return const_cast<FileContent*>(module->getFileContents()[0]);
511}
512
513RawNodeId SLgetModuleRootNode(ModuleDefinition* module) {
514 if (!module || module->getNodeIds().empty()) return InvalidNodeId;

Callers 3

slUserCallbackPerDesignFunction · 0.85
slUserCallbackPerDesignFunction · 0.85
slUserCallbackPerDesignFunction · 0.85

Calls 1

Tested by

no test coverage detected