output method
- String name
Accesses the Logic associated with this Modules output port
named name
.
Logic outside of this Module should consume this signal. It is okay to consume this within this Module as well.
Implementation
Logic output(String name) => _outputs.containsKey(name)
? _outputs[name]!
: throw PortDoesNotExistException(
'Output name "$name" not found as an output of this Module.');