Axi5BChannelInterface constructor

Axi5BChannelInterface({
  1. required Axi5BaseBChannelConfig config,
  2. bool useCrediting = false,
  3. bool sharedCredits = false,
  4. int numRp = 0,
  5. bool userMixInEnable = false,
  6. bool idMixInEnable = false,
  7. bool tagMixInEnable = false,
  8. bool debugMixInEnable = false,
})

Constructor.

Implementation

Axi5BChannelInterface({
  required Axi5BaseBChannelConfig config,
  super.useCrediting = false,
  super.sharedCredits = false,
  super.numRp = 0,
  this.userMixInEnable = false,
  this.idMixInEnable = false,
  this.tagMixInEnable = false,
  this.debugMixInEnable = false,
})  : idWidth = config.idWidth,
      userWidth = config.userWidth,
      useIdUnq = config.useIdUnq,
      useTag = config.useTag,
      tagDataWidth = config.tagDataWidth,
      useTagUpdate = config.useTagUpdate,
      useTagMatch = config.useTagMatch,
      tracePresent = config.tracePresent,
      loopWidth = config.loopWidth,
      respWidth = config.respWidth,
      useBusy = config.useBusy,
      super(prefix: 'B', main: false) {
  makeResponsePorts();
  if (userMixInEnable) {
    makeUserPorts();
  }
  if (idMixInEnable) {
    makeIdPorts();
  }
  if (tagMixInEnable) {
    makeRespDataTagPorts();
  }
  if (debugMixInEnable) {
    makeDebugPorts();
  }
}