ProducerDependencyEntry constructor
Creates a dependency-row load payload.
Implementation
ProducerDependencyEntry({
required this.slotWidth,
required this.producerCount,
String name = 'producer_dependency_entry',
}) : super([
Logic(name: 'slot', width: slotWidth),
Logic(name: 'dependencies', width: producerCount),
], name: name) {
if (slotWidth < 1 || producerCount < 1) {
throw ArgumentError('Slot width and producer count must be positive.');
}
}