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

Method isInstance

src/Design/ModuleDefinition.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool ModuleDefinition::isInstance() const {
55 const VObjectType type = getType();
56 return ((type == VObjectType::paN_input_gate_instance) ||
57 (type == VObjectType::paModule_declaration) ||
58 (type == VObjectType::paUdp_declaration));
59}
60
61ModuleDefinition* ModuleDefinitionFactory::newModuleDefinition(
62 const FileContent* fileContent, NodeId nodeId, std::string_view name) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected