slang::ast::ModportPortSymbol class

Represents a single port specifier in a modport declaration.

Base classes

class ValueSymbol

Public variables

ArgumentDirection direction
The direction of data flowing across the port.
const Symbol* internalSymbol
const Expression* explicitConnection

Variable documentation

const Symbol* slang::ast::ModportPortSymbol::internalSymbol

An instance-internal symbol that this port connects to, if any. Ports that do not connect directly to an internal symbol will have this set to nullptr.

const Expression* slang::ast::ModportPortSymbol::explicitConnection

An optional explicit expression that defines how the port connects to members internal to the instance.