StandardPortReference constructor

StandardPortReference(
  1. BridgeModule module,
  2. String portName
)

Creates a StandardPortReference for the specified port.

The portName must be a simple identifier without any slicing or indexing syntax (e.g., "myPort", not "myPort3:0").

Implementation

StandardPortReference(super.module, super.portName) : super._() {
  if (!_isStandardAccess(portName)) {
    throw RohdBridgeException('Invalid standard access: $portName');
  }
}