makeRespDataTagPorts method

  1. @protected
void makeRespDataTagPorts()

Helper to instantiate ACE specific request ports.

Implementation

@protected
void makeRespDataTagPorts() {
  if (main) {
    setPorts([
      if (useTag) Logic.port('${prefix}TAG', (tagDataWidth / 128).ceil() * 4),
      if (useTagUpdate)
        Logic.port('${prefix}TAGUPDATE', (tagDataWidth / 128).ceil()),
    ], [
      PairDirection.fromProvider,
    ]);
  } else {
    setPorts([
      if (useTag) Logic.port('${prefix}TAG', (tagDataWidth / 128).ceil() * 4),
      if (useTagMatch) Logic.port('${prefix}TAGMATCH', 2),
      if (useTagMatch) Logic.port('${prefix}COMP'),
      if (useTagMatch) Logic.port('${prefix}PERSIST'),
    ], [
      PairDirection.fromConsumer,
    ]);
  }
}