MemoryStorageState class

Raw state adapter for existing storage without changing its legacy API.

Addresses are storage words. This bypasses address-alignment and invalid transaction callbacks; absent entries remain absent, distinct from stored X. It does not provide RAM timing or a behavioral SystemC memory engine.

Implemented types

Constructors

MemoryStorageState(MemoryStorage storage, {bool preserveHighImpedance = false})
Wraps storage without constructing or modifying hardware.

Properties

hashCode → int
The hash code for this object.
no setterinherited
preserveHighImpedance → bool
Whether raw state writes pass high-impedance bits through to storage.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storage → MemoryStorage
Existing storage whose state is accessed.
final

Methods

load(MemoryStorageImage image, {bool replace = false}) → void
Validates the complete image before changing state.
override
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.
override
peekBigInt(BigInt address) → LogicValue?
Reads raw state at an arbitrary-width logical address.
override
poke(int address, LogicValue value) → void
Replaces raw state without architectural writes, W1C effects, or pulses.
override
pokeBigInt(BigInt address, LogicValue value) → void
Replaces raw state at an arbitrary-width logical address.
override
snapshot() → MemoryStorageImage
Captures detached state without allocating hardware signals.
override
toString() → String
A string representation of this object.
inherited

Operators

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