peekBigInt method

  1. @override
LogicValue? peekBigInt(
  1. BigInt address
)
override

Reads raw state at an arbitrary-width logical address.

Implementation

@override
LogicValue? peekBigInt(BigInt address) {
  if (address.isNegative ||
      address >= BigInt.from(configuration.entryCount)) {
    throw RangeError('Address $address is outside associative storage.');
  }
  return peek(address.toInt());
}