Axi4SubordinateDataChannelAgent constructor

Axi4SubordinateDataChannelAgent({
  1. required Axi4SystemInterface sIntf,
  2. required Axi4DataChannelInterface rIntf,
  3. required Component parent,
  4. String name = 'axi4SubordinateDataChannelAgent',
  5. int timeoutCycles = 500,
  6. int dropDelayCycles = 30,
  7. 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,
    );
  }
}