isInput method
- Logic signal
Returns true iff signal
is the same Logic as the input port of this
Module with the same name.
Implementation
bool isInput(Logic signal) =>
_inputs[signal.name] == signal ||
(signal.isArrayMember && isInput(signal.parentStructure!));