Axi4ReadAgent constructor
- required Axi4SystemInterface sIntf,
- required Axi4Channel channel,
- required Component parent,
- String name = 'axiReadAgent',
- int timeoutCycles = 500,
- int dropDelayCycles = 30,
Constructs a new Axi4ReadAgent.
Implementation
Axi4ReadAgent({
required this.sIntf,
required this.channel,
required Component parent,
String name = 'axiReadAgent',
this.timeoutCycles = 500,
this.dropDelayCycles = 30,
}) : super(name, parent) {
if (!channel.hasRead) {
throw RohdHclException('A read agent must be associated with a channel '
'that can send read requests.');
}
sequencer =
Sequencer<Axi4ReadRequestPacket>('${name}_axiRdSequencer', this);
driver = Axi4ReadMainDriver(
parent: this,
sIntf: sIntf,
rIntf: channel.rIntf!,
sequencer: sequencer,
timeoutCycles: timeoutCycles,
dropDelayCycles: dropDelayCycles,
name: '${name}_axiRdDriver',
);
monitor = Axi4ReadMonitor(
sIntf: sIntf,
rIntf: channel.rIntf!,
parent: parent,
name: '${name}_axiRdMonitor');
}