CacheModelBackingStoreImage constructor
- required int dataWidth,
- required int metadataWidth,
- required Map<
BigInt, CacheModelBlock> entries, - int? addrWidth,
- @Deprecated('Use addrWidth instead.') int? addressWidth,
Creates an immutable image.
addressWidth is the deprecated former name of addrWidth.
Implementation
CacheModelBackingStoreImage({
required this.dataWidth,
required this.metadataWidth,
required Map<BigInt, CacheModelBlock> entries,
int? addrWidth,
@Deprecated('Use addrWidth instead.') int? addressWidth,
}) : addrWidth = resolveAddrWidth(addrWidth, addressWidth),
entries = Map.unmodifiable(entries);