MaskedLaneResult constructor
Creates a packed masked-lane result.
Implementation
MaskedLaneResult({
required this.laneCount,
required this.laneWidth,
String name = 'masked_lane_result',
}) : super([
Logic(name: 'data', width: laneCount * laneWidth),
Logic(name: 'laneMask', width: laneCount),
], name: name) {
if (laneCount < 1 || laneWidth < 1) {
throw ArgumentError('Lane count and width must be positive.');
}
}