pokeBigInt method
- BigInt address,
- LogicValue value
override
Replaces raw state at an arbitrary-width logical address.
Implementation
@override
void pokeBigInt(BigInt address, LogicValue value) {
final register = _at(address);
if (value.width != register.config.width) {
throw ArgumentError('CSR value width does not match its register.');
}
register.value = normalizeStoredValue(value);
_driveRead();
_driveHardware([address]);
}