port method

Logic port(
  1. String name
)

Accesses a port named name.

This name is not a uniquified name, it is the original port name.

Implementation

Logic port(String name) => _ports.containsKey(name)
    ? _ports[name]!
    : throw Exception('Port name "$name" not found on this interface.');