ByteMaskedWriteRequest constructor

ByteMaskedWriteRequest({
  1. required int dataWidth,
  2. int? addrWidth,
  3. String? name,
  4. @Deprecated('Use addrWidth instead.') int? addressWidth,
})

Creates a byte-masked request for a positive number of whole bytes.

addressWidth is the deprecated former name of addrWidth.

Implementation

ByteMaskedWriteRequest({
  required this.dataWidth,
  int? addrWidth,
  String? name,
  @Deprecated('Use addrWidth instead.') int? addressWidth,
})  : addrWidth = resolveAddrWidth(addrWidth, addressWidth),
      super(_fields(resolveAddrWidth(addrWidth, addressWidth), dataWidth),
          name: name ?? 'byte_masked_write_request');