Axi4ResponseChannelInterface constructor

Axi4ResponseChannelInterface({
  1. required String prefix,
  2. int idWidth = 4,
  3. int userWidth = 16,
  4. int respWidth = 2,
})

Constructor.

Implementation

Axi4ResponseChannelInterface({
  required super.prefix,
  super.idWidth = 4,
  super.userWidth = 16,
  this.respWidth = 2,
}) : super(main: false) {
  setPorts([
    if (respWidth > 0) Logic.port('${prefix}RESP', respWidth),
  ], [
    PairDirection.fromConsumer,
  ]);
}