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

Method getSize

src/Design/ModuleDefinition.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66uint32_t ModuleDefinition::getSize() const {
67 uint32_t size = 0;
68 for (size_t i = 0; i < m_fileContents.size(); i++) {
69 NodeId end = m_nodeIds[i];
70 NodeId begin = m_fileContents[i]->Child(end);
71 size += (RawNodeId)(end - begin);
72 }
73 return size;
74}
75
76void ModuleDefinition::insertModPort(std::string_view modport,
77 const Signal& signal, NodeId nodeId) {

Callers 13

collectObjects_Method · 0.45
collectObjects_Method · 0.45
constantFromValueMethod · 0.45
compileTypeDefMethod · 0.45
compileMethod · 0.45
compileTypespecMethod · 0.45
lateBindingMethod · 0.45
getValueMethod · 0.45
compileExpressionMethod · 0.45
compileMT_Method · 0.45
registerFileMethod · 0.45

Calls 1

ChildMethod · 0.45

Tested by

no test coverage detected