Axi5WChannelInterface constructor

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

Constructor.

Implementation

Axi5WChannelInterface({
  required Axi5BaseWChannelConfig config,
  super.useCrediting = false,
  super.sharedCredits = false,
  super.numRp = 0,
  this.dataMixInEnable = false,
  this.tagMixInEnable = false,
  this.debugMixInEnable = false,
  this.userMixInEnable = false,
})  : dataWidth = config.dataWidth,
      useLast = config.useLast,
      tagDataWidth = config.tagDataWidth,
      useTag = config.useTag,
      useTagUpdate = config.useTagUpdate,
      useTagMatch = config.useTagMatch,
      tracePresent = config.tracePresent,
      loopWidth = config.loopWidth,
      strbWidth = config.strbWidth,
      userWidth = config.userWidth,
      usePoison = config.usePoison,
      super(prefix: 'W', main: true) {
  makeDataPorts();
  if (tagMixInEnable) {
    makeRespDataTagPorts();
  }
  if (debugMixInEnable) {
    makeDebugPorts();
  }
  if (userMixInEnable) {
    makeUserPorts();
  }
}