readyValidBankedCountedQueueFunctor<LogicType extends Logic> function

CountedWideQueueFunctor<LogicType> readyValidBankedCountedQueueFunctor<LogicType extends Logic>(
  1. CountedQueueBankingTopology topology
)

Creates counted queues backed by the conflict-free register banks in topology.

The topology must match each requested queue's capacity and lane count. Incompatible circular windows are rejected rather than serialized.

Implementation

CountedWideQueueFunctor<LogicType>
    readyValidBankedCountedQueueFunctor<LogicType extends Logic>(
            CountedQueueBankingTopology topology) =>
        CountedWideQueueFunctor(
          'registerBanks_${topology.identity}',
          ({
            required clk,
            required reset,
            required flush,
            required upstream,
            required downstream,
            required dequeueCount,
            required capacity,
            required almostFullThreshold,
            required almostEmptyThreshold,
            required name,
          }) =>
              ReadyValidCountedQueue<LogicType>(
            clk: clk,
            reset: reset,
            flush: flush,
            upstream: upstream,
            downstream: downstream,
            dequeueCount: dequeueCount,
            capacity: capacity,
            almostFullThreshold: almostFullThreshold,
            almostEmptyThreshold: almostEmptyThreshold,
            bankingTopology: topology,
            name: name,
          ),
        );