SynchronousMemoryBankTopology class

Resolves flat addresses into physical bank and row coordinates.

Constructors

SynchronousMemoryBankTopology({required int bankCount, required SynchronousMemoryBankMapping mapping})
Creates a validated bank topology.
const

Properties

bankCount → int
Number of physical banks.
final
hashCode → int
The hash code for this object.
no setterinherited
mapping → SynchronousMemoryBankMapping
Address-to-bank mapping.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

bankForAddress(int address) → int
Returns the physical bank selected by address.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rowForAddress(int address) → int
Returns the bank-local row for address.
toString() → String
A string representation of this object.
inherited

Operators

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