ExecutionWritebackEvent<LogicType extends Logic> constructor
Creates an execution writeback event.
Implementation
ExecutionWritebackEvent(
LogicType result, {
required this.destinationWidth,
required this.domainWidth,
String? name,
}) : super([
result,
Logic(name: 'destination', width: destinationWidth),
Logic(name: 'domain', width: domainWidth),
Logic(name: 'exception'),
Logic(name: 'replay'),
], name: name ?? '${result.name}_execution_writeback') {
if (destinationWidth < 1 || domainWidth < 1) {
throw ArgumentError('Destination and domain widths must be positive.');
}
}