slang::netlist::NetlistGraph class

Represent the netlist connectivity of an elaborated design.

Base classes

template<class NodeType, class EdgeType>
class DirectedGraph<NetlistNode, NetlistEdge>

Constructors, destructors, conversion operators

NetlistGraph()

Public functions

void finalize()
Finalize the netlist graph after construction is complete.
auto lookup(std::string_view name) const -> NetlistNode*

Function documentation

NetlistNode* slang::netlist::NetlistGraph::lookup(std::string_view name) const

Parameters
name The hierarchical name of the node.
Returns A pointer to the node if found, or nullptr if not found.

Lookup a node in the graph by its hierarchical name.