slang::ast::NetSymbol class

Represents a net declaration.

Base classes

class ValueSymbol

Public functions

void checkInitializer() const

Function documentation

void slang::ast::NetSymbol::checkInitializer() const

If the net has an initializer, checks it for correctness and issues a diagnostic if there are problems. Currently this only checks that the net isn't within a package, as initializers are disallowed there.