inOut method

Logic inOut(
  1. String name
)

Accesses the Logic associated with this Modules inOut port named name.

Only logic within this Module should consume this signal.

Implementation

Logic inOut(String name) => _inOuts.containsKey(name)
    ? _inOuts[name]!
    : throw PortDoesNotExistException(
        'InOut name "$name" not found as an in/out of this Module.');