makeProtPorts method

  1. @protected
void makeProtPorts()

Helper to instantiate ACE specific request ports.

Implementation

@protected
void makeProtPorts() {
  setPorts([
    if (protWidth > 0) Logic.port('${prefix}PROT', protWidth),
    if (protWidth > 0 && rmeSupport) Logic.port('${prefix}NSE'),
    if (instPrivPresent) Logic.port('${prefix}PRIV'),
    if (instPrivPresent) Logic.port('${prefix}INST'),
    if (pasWidth > 0) Logic.port('${prefix}PAS', pasWidth),
  ], [
    if (main) PairDirection.fromProvider else PairDirection.fromConsumer,
  ]);
}