Axi4BaseWChannelInterface constructor

Axi4BaseWChannelInterface({
  1. int idWidth = 4,
  2. int userWidth = 32,
  3. int dataWidth = 64,
  4. bool useLast = true,
})

Constructor.

Implementation

Axi4BaseWChannelInterface({
  super.idWidth = 4,
  super.userWidth = 32,
  super.dataWidth = 64,
  super.useLast = true,
})  : strbWidth = dataWidth ~/ 8,
      super(prefix: 'W', main: true) {
  setPorts([
    Logic.port('WSTRB', strbWidth),
  ], [
    PairDirection.fromProvider,
  ]);
}