pokeBigInt method

  1. @override
void pokeBigInt(
  1. BigInt address,
  2. LogicValue value
)
override

Replaces raw state at an arbitrary-width logical address.

Implementation

@override
void pokeBigInt(BigInt address, LogicValue value) {
  if (address.isNegative ||
      address >= BigInt.from(configuration.entryCount)) {
    throw RangeError('Address $address is outside associative storage.');
  }
  poke(address.toInt(), value);
}