GroupedCompletionStatus constructor

GroupedCompletionStatus({
  1. required int maxUops,
  2. String? name,
})

Creates grouped completion status.

Implementation

GroupedCompletionStatus({required this.maxUops, String? name})
    : super([
        Logic(name: 'completedMask', width: maxUops),
        Logic(name: 'exceptionMask', width: maxUops),
        Logic(name: 'flushMask', width: maxUops),
      ], name: name ?? 'grouped_completion_status') {
  if (maxUops < 1) {
    throw ArgumentError.value(maxUops, 'maxUops', 'Must be positive.');
  }
}