Shared-capacity queues with stable, concurrently visible heads.
The parallel heads are non-consuming peeks. dequeueRequest selects at most one queue to commit per cycle, leaving arbitration policy outside storage. This shape supports virtual channels, virtual output queues, QoS classes, DMA channels, memory-controller bank queues, descriptor schedulers, and partitioned issue or retry queues.
A set bit in headAvailableQueues guarantees that an in-range valid dequeueRequest selecting that queue is accepted in the same cycle. An implementation with a pending refill or another temporary hazard must clear the corresponding availability bit rather than expose a head it cannot commit. This invariant allows schedulers to treat an accepted use of a visible head as the dequeue event without adding another reservation stage.
- Implemented types
- Implementers
Properties
- availableCount → Logic
-
Number of physical slots available for enqueue.
no setter
- capacity → int
-
Total number of items this component can retain.
no setterinherited
- dequeueAcceptedQueues → Logic
-
One bit per accepted selected-head removal.
no setter
-
dequeueRequest
→ ReadyValidInterface<
Logic> -
Stream committing removal of one selected visible head.
no setter
- empty → Logic
-
High when no item is retained.
no setterinherited
-
enqueue
→ ReadyValidInterface<
PoolRequest< LogicType> > -
Pool-tagged stream adding items to logical queues.
no setter
- full → Logic
-
High when every retained-storage slot is occupied.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headAvailableQueues → Logic
-
One bit per logical queue whose cached head is available.
no setter
- headRefillPendingQueues → Logic
-
One bit per logical queue waiting for a head refill.
no setter
- invalidEnqueueQueue → Logic
-
High when a valid enqueue names a queue outside queueCount.
no setter
- nonEmptyQueues → Logic
-
One bit per non-empty logical queue.
no setter
- occupancy → Logic
-
Number of currently retained items.
no setterinherited
- queueCount → int
-
Number of independently ordered logical queues.
no setter
-
queueHeads
→ List<
LogicType> -
Cached head payload for every logical queue.
no setter
- queueIndexWidth → int
-
Width required to identify every logical queue.
no setter
-
queueOccupancies
→ List<
Logic> -
Number of retained items in each logical queue.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited