makeIdPorts method

  1. @protected
void makeIdPorts()

Helper to instantiate ACE specific request ports.

Implementation

@protected
void makeIdPorts() {
  setPorts([
    if (idWidth > 0) Logic.port('${prefix}ID', idWidth),
    if (idWidth > 0 && useIdUnq) Logic.port('${prefix}IDUNQ'),
  ], [
    if (main) PairDirection.fromProvider else PairDirection.fromConsumer,
  ]);
}