slang::netlist::NetlistBuilder class

A class that manages construction of the netlist graph.

Constructors, destructors, conversion operators

NetlistBuilder(ast::Compilation& compilation, analysis::AnalysisManager& analysisManager, NetlistGraph& graph)

Public functions

void finalize()
Finalize the netlist graph after construction is complete.
void handle(ast::PortSymbol const& symbol)
void handle(ast::VariableSymbol const& symbol)
void handle(ast::InstanceSymbol const& symbol)
void handle(ast::ProceduralBlockSymbol const& symbol)
void handle(ast::ContinuousAssignSymbol const& symbol)
void handle(ast::GenerateBlockSymbol const& symbol)
auto getDrivers(ast::ValueSymbol const& symbol, DriverBitRange bounds) const -> DriverList

Function documentation

DriverList slang::netlist::NetlistBuilder::getDrivers(ast::ValueSymbol const& symbol, DriverBitRange bounds) const

Get a list of all the drivers for the given symbol and bit range. If there are no drivers, the returned list will be empty.