Axi4Channel constructor

Axi4Channel({
  1. int channelId = 0,
  2. Axi4ReadInterface? rIntf,
  3. Axi4WriteInterface? wIntf,
})

Constructor.

Implementation

Axi4Channel({
  this.channelId = 0,
  this.rIntf,
  this.wIntf,
})  : hasRead = rIntf != null,
      hasWrite = wIntf != null {
  if (rIntf == null && wIntf == null) {
    throw RohdHclException('A channel must support either'
        ' reads or writes (or both)');
  }
}