receiveOther method

void receiveOther(
  1. Interface<TagType> other,
  2. Iterable<TagType> tags
)

Makes this signals tagged with tags be driven by other.

Implementation

void receiveOther(Interface<TagType> other, Iterable<TagType> tags) {
  getPorts(tags).forEach((portName, thisPort) {
    thisPort <= other.port(portName);
  });
}