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

Method append

src/Design/DesignComponent.cpp:90–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void DesignComponent::append(DesignComponent* comp) {
91 for (auto file : comp->m_fileContents) m_fileContents.push_back(file);
92 for (auto nodeId : comp->m_nodeIds) m_nodeIds.push_back(nodeId);
93 for (auto& obj : comp->m_objects) {
94 for (auto& elem : obj.second) addObject(obj.first, elem);
95 }
96 for (auto& obj : comp->m_namedObjects) {
97 addNamedObject(obj.first, obj.second.first, obj.second.second);
98 }
99 for (const auto& dtype : comp->m_dataTypes)
100 insertDataType(dtype.first, dtype.second);
101}
102
103void DesignComponent::insertDataType(std::string_view dataTypeName,
104 DataType* dataType) {

Callers 15

compileTfPortListMethod · 0.45
compileTypeDefMethod · 0.45
decompileHelperMethod · 0.45
compileTfCallMethod · 0.45
bindSubRoutineCall_Method · 0.45
elaborateInstance_Method · 0.45
collectParams_Method · 0.45
bindTypeDef_Method · 0.45
compileMethod · 0.45
compile_class_method_Method · 0.45
compile_class_type_Method · 0.45
compileVariableMethod · 0.45

Calls

no outgoing calls

Tested by 1

bindSubRoutineCall_Method · 0.36