Axi4WriteAgent constructor
- required Axi4SystemInterface sIntf,
- required Axi4Channel channel,
- required Component parent,
- String name = 'axiWriteAgent',
- int timeoutCycles = 500,
- int dropDelayCycles = 30,
Constructs a new Axi4WriteAgent.
Implementation
Axi4WriteAgent({
required this.sIntf,
required this.channel,
required Component parent,
String name = 'axiWriteAgent',
this.timeoutCycles = 500,
this.dropDelayCycles = 30,
}) : super(name, parent) {
if (!channel.hasWrite) {
throw RohdHclException('A write agent must be associated with a channel '
'that can send write requests.');
}
sequencer =
Sequencer<Axi4WriteRequestPacket>('${name}_axiRdSequencer', this);
driver = Axi4WriteMainDriver(
parent: this,
sIntf: sIntf,
wIntf: channel.wIntf!,
sequencer: sequencer,
timeoutCycles: timeoutCycles,
dropDelayCycles: dropDelayCycles,
name: '${name}_axiWrDriver',
);
monitor = Axi4WriteMonitor(
sIntf: sIntf,
wIntf: channel.wIntf!,
parent: parent,
name: '${name}_axiWrMonitor');
}