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