slang::netlist::ReportDrivers class

Visitor for printing symbol information in a human-readable format.

Constructors, destructors, conversion operators

ReportDrivers(ast::Compilation& compilation, analysis::AnalysisManager& analysisManager) explicit

Public functions

void report(FormatBuffer& buffer)
Renders the collected driver information to the given format buffer.
void handle(ast::ValueSymbol const& symbol)

Function documentation

void slang::netlist::ReportDrivers::handle(ast::ValueSymbol const& symbol)

Slang's AnalysisManager::getDrivers API returns all known drivers for static lvalue symbols (via the ValueSymbol type). Create a ValueInfo entry for each symbol and populate it with the driver information.