MemoryStateAccess<Image extends Object> class abstract interface

Optional raw software state access, separate from hardware port exposure.

Image is family-specific: a CSR image may contain heterogeneous widths, while RAM may require uniform geometry. Addresses use the family's logical units, never implicit byte scaling. Invalid addresses and widths throw.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

load(Image image, {bool replace = false}) → void
Validates the complete image before changing state.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
peek(int address) → LogicValue?
Reads raw state; null means a valid but unpopulated sparse address.
peekBigInt(BigInt address) → LogicValue?
Reads raw state at an arbitrary-width logical address.
poke(int address, LogicValue value) → void
Replaces raw state without architectural writes, W1C effects, or pulses.
pokeBigInt(BigInt address, LogicValue value) → void
Replaces raw state at an arbitrary-width logical address.
snapshot() → Image
Captures detached state without allocating hardware signals.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited