AssociativeInvalidateMemoryModelDescription constructor
Creates immutable invalidate-by-key associative memory geometry.
Implementation
AssociativeInvalidateMemoryModelDescription({
required this.entryCount,
required this.keyWidth,
required this.indexWidth,
required this.writeCount,
required this.lookupCount,
required this.trackValidity,
}) {
if (entryCount < 1 ||
keyWidth < 1 ||
indexWidth < 1 ||
indexWidth < (entryCount - 1).bitLength ||
writeCount < 0 ||
lookupCount < 1) {
throw ArgumentError('Invalid invalidate associative geometry.');
}
}