Axi5WChannelInterface constructor
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();
}
}