Axi4MainDataChannelAgent constructor
- required Axi4SystemInterface sIntf,
- required Axi4DataChannelInterface rIntf,
- required Component parent,
- String name = 'axi4MainDataChannelAgent',
- int timeoutCycles = 500,
- int dropDelayCycles = 30,
- num readyFrequency = 1.0,
Constructs a new Axi4MainDataChannelAgent.
Implementation
Axi4MainDataChannelAgent({
required this.sIntf,
required this.rIntf,
required Component parent,
String name = 'axi4MainDataChannelAgent',
this.timeoutCycles = 500,
this.dropDelayCycles = 30,
this.readyFrequency = 1.0,
}) : super(name, parent) {
if (rIntf is Axi4BaseWChannelInterface) {
sequencer =
Sequencer<Axi4DataPacket>('axi4MainDataChannelSequencer', this);
driver = Axi4DataChannelDriver(
parent: this,
sIntf: sIntf,
rIntf: rIntf,
sequencer: sequencer!,
timeoutCycles: timeoutCycles,
dropDelayCycles: dropDelayCycles,
);
} else if (rIntf is Axi4BaseRChannelInterface) {
readyDriver = Axi4ReadyDriver(
parent: this,
sys: sIntf,
chan: rIntf,
readyFrequency: readyFrequency);
monitor =
Axi4DataChannelMonitor(sIntf: sIntf, rIntf: rIntf, parent: parent);
}
}