CountedQueueBankingTopology class

Physical banking geometry for a counted queue with one read and write port.

Every accepted operation accesses a circular window of consecutive logical slots. This topology computes the worst per-bank access multiplicity across every possible ring pointer, including logical wraparound. A compatible topology requires at most one read and one write in every bank, enabling an initiation interval of one without arbitration, replay, or serialization.

Ordinary modulo interleaving can conflict at logical wrap when capacity is not divisible by bankCount. Call requireCompatible before constructing hardware rather than assuming bankCount >= laneCount is sufficient.

Constructors

CountedQueueBankingTopology({required int capacity, required int laneCount, required int bankCount, MemoryBankingPolicy policy = MemoryBankingPolicy.interleaved})
Creates a counted-queue bank topology.

Properties

bankCount → int
Number of independently addressed physical banks.
final
capacity → int
Number of logical queue slots.
final
hashCode → int
The hash code for this object.
no setterinherited
identity → String
Stable identity suitable for parameterized module names.
no setter
incompatibilityReason → String?
Human-readable incompatibility, or null when conflict-free.
no setter
initiationInterval → int
Accepted-operation initiation interval when compatible.
no setter
isCompatible → bool
Whether every full-width circular window is conflict-free.
no setter
laneCount → int
Maximum number of lanes in one enqueue or dequeue operation.
final
layout → BankedMemoryLayout
Compile-time flat-to-bank mapping.
latefinal
maximumTransferCount → int
Maximum number of meaningful lanes in one operation.
no setter
policy → MemoryBankingPolicy
Flat-slot mapping policy.
final
readPortsPerBank → int
Independent combinational read ports provided by every bank.
no setter
requiredPortsPerBank → int
Worst number of simultaneous accesses to any one bank.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
writePortsPerBank → int
Independent edge-triggered write ports provided by every bank.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requireCompatible() → void
Throws when this topology would require arbitration or serialization.
toString() → String
A string representation of this object.
inherited

Operators

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