Axi5AcChannelInterface constructor

Axi5AcChannelInterface({
  1. bool debugMixInEnable = false,
  2. bool tracePresent = false,
  3. int addrWidth = 32,
})

Constructor.

Implementation

Axi5AcChannelInterface({
  this.debugMixInEnable = false,
  this.tracePresent = false,
  this.addrWidth = 32,
})  : loopWidth = 0,
      super(
        prefix: 'AC',
        main: false,
        useCrediting: false,
        sharedCredits: false,
        numRp: 0,
      ) {
  if (debugMixInEnable) {
    makeDebugPorts();
  }

  setPorts([
    Logic.port('${prefix}ADDR', addrWidth),
    Logic.port('${prefix}VMIDEXT', 4),
  ], [
    PairDirection.fromConsumer,
  ]);
}