makeDataPorts method

  1. @protected
void makeDataPorts()

Helper to instantiate ACE specific request ports.

Implementation

@protected
void makeDataPorts() {
  setPorts([
    Logic.port('${prefix}DATA', dataWidth),
    if (useLast) Logic.port('${prefix}LAST'),
    if (strbWidth > 0) Logic.port('${prefix}STRB', strbWidth),
    if (usePoison) Logic.port('${prefix}POISON', (dataWidth / 64).ceil())
  ], [
    if (main) PairDirection.fromProvider else PairDirection.fromConsumer,
  ]);
}