makeMmuPorts method

  1. @protected
void makeMmuPorts()

Helper to instantiate ACE specific request ports.

Implementation

@protected
void makeMmuPorts() {
  setPorts([
    if (untranslatedTransVersion >= 3) Logic.port('${prefix}MMUVALID'),
    if (secSidWidth > 0) Logic.port('${prefix}MMUSECSID', secSidWidth),
    if (sidWidth > 0) Logic.port('${prefix}MMUSID', sidWidth),
    if (ssidWidth > 0) Logic.port('${prefix}MMUSSIDV'),
    if (ssidWidth > 0) Logic.port('${prefix}MMUSSID', ssidWidth),
    if (untranslatedTransVersion == 1 && useFlow)
      Logic.port('${prefix}MMUATST'),
    if (untranslatedTransVersion > 1 && useFlow)
      Logic.port('${prefix}MMUFLOW', 2),
    if (untranslatedTransVersion == 4 && supportRmeAndPasMmu)
      Logic.port('${prefix}MMUPASUNKNOWN'),
    if (untranslatedTransVersion == 4 && supportGdi)
      Logic.port('${prefix}MMUPM'),
  ], [
    PairDirection.fromProvider,
  ]);
}