Ace4CrChannelInterface constructor

Ace4CrChannelInterface({
  1. int idWidth = 4,
  2. int userWidth = 32,
  3. int respWidth = 2,
  4. bool useLast = true,
})

Constructor.

Implementation

Ace4CrChannelInterface({
  super.idWidth = 4,
  super.userWidth = 32,
  super.respWidth = 2,
  this.useLast = true,
}) : super(
        prefix: 'CR',
      ) {
  setPorts([
    if (useLast) Logic.port('${prefix}LAST'),
  ], [
    PairDirection.fromConsumer,
  ]);
}