class
#include <slang/ast/symbols/PortSymbols.h>
MultiPortSymbol Represents a multi-port, which is a port symbol that externally appears as a single connection but internally connects to multiple names, potentially with varying directions.
Base classes
- class Symbol
- Base class for all symbols (logical code constructs) such as modules, types, functions, variables, etc.
Public functions
- auto hasInitializer() const -> bool
- Placeholder functions to enable generic code. Multi-ports never have initializers.
Public variables
- ArgumentDirection direction
- The direction of data flowing across the various ports.
- bool isNullPort
- Always set to false on multi-ports; included for parity for PortSymbols so that generic code can work on both types.
Variable documentation
ArgumentDirection slang:: ast:: MultiPortSymbol:: direction
The direction of data flowing across the various ports.
This is the most restrictive aggregated direction out of all the ports. You need to check each individual port to know how the data actually flows.