isInOut method

bool isInOut(
  1. Logic signal
)

Returns true iff signal is the same Logic as the inOut port of this Module with the same name.

Implementation

bool isInOut(Logic signal) =>
    _inOuts[signal.name] == signal ||
    (signal.isArrayMember && isInOut(signal.parentStructure!));