quietlyMergeSubsetTo method

  1. @internal
void quietlyMergeSubsetTo(
  1. LogicNet other, {
  2. int start = 0,
})

Connects the underlying _Wires of other to this, starting at start. The start index of this up through start + other.width will be connected. This operation is "quiet", in that it merges wires without building any real traceable connection and is intended only for simulation behavior.

Implementation

@internal
void quietlyMergeSubsetTo(LogicNet other, {int start = 0}) {
  _blastWire();
  other._blastWire();

  (_wire as _WireNetBlasted)
      ._adoptSubset(other._wire as _WireNetBlasted, start: start);

  (_wire as _WireNet)._evaluateNewValue(signalName: name);
  (other._wire as _WireNet)._evaluateNewValue(signalName: other.name);
}