slang::ast::NetSymbol class

Represents a net declaration.

Base classes

class ValueSymbol
A base class for symbols that represent a value (for example a variable or a parameter).

Public functions

void checkInitializer() const
If the net has an initializer, checks it for correctness and issues a diagnostic if there are problems.

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.