input method

Logic input(
  1. String name
)

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

Only logic within this Module should consume this signal.

Implementation

Logic input(String name) => _inputs.containsKey(name)
    ? _inputs[name]!
    : throw PortDoesNotExistException(
        'Input name "$name" not found as an input to this Module.');