StoreSetAssignment constructor
Creates a Store Set assignment.
Implementation
StoreSetAssignment({
required this.instructionWidth,
required this.setIdWidth,
String? name,
}) : super([
Logic(name: 'instruction', width: instructionWidth),
Logic(name: 'setId', width: setIdWidth),
Logic(name: 'invalidate'),
], name: name ?? 'store_set_assignment') {
if (instructionWidth < 1 || setIdWidth < 1) {
throw ArgumentError('Store Set identifier widths must be positive.');
}
}