driveOther method

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

Makes this drive interface signals tagged with tags on other.

Implementation

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