input method
- String name
Accesses the Logic associated with this Modules input port
named name
.
Logic within this Module should consume this signal.
Implementation
@protected
Logic input(String name) => _inputs.containsKey(name)
? _inputs[name]!
: throw Exception(
'Input name "$name" not found as an input to this Module.');