Axi4Channel constructor
- int channelId = 0,
- Axi4ReadInterface? rIntf,
- 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)');
}
}