slang::netlist::VariableTracker struct

Track netlist nodes that represent ranges of variables.

Public types

using VariableMap = IntervalMap<uint32_t, NetlistNode*>

Constructors, destructors, conversion operators

VariableTracker()

Public functions

auto insert(ast::Symbol const& symbol, DriverBitRange bounds, NetlistNode& node) -> auto
Insert a new symbol with a node that maps to the specified bounds.
auto lookup(ast::Symbol const& symbol, DriverBitRange bounds) const -> NetlistNode*
Lookup a symbol and return the node for the matching range.
auto lookup(ast::Symbol const& symbol) const -> std::vector<NetlistNode*>
Lookup a symbol and return the nodes for all mapped ranges.