readyValidPrefetchedBankedIndexPoolFunctor function
- SynchronousMemoryFunctor? memoryFunctor,
- MemoryConfiguration? memoryConfiguration,
- int memoryReadLatency = 1,
- int prefetchDepth = 2,
- int? releaseBufferDepth,
Creates an interleaved banked allocator with prefetched memory-backed banks.
Implementation
RestorableMultiIndexAllocatorFunctor readyValidPrefetchedBankedIndexPoolFunctor(
{SynchronousMemoryFunctor? memoryFunctor,
MemoryConfiguration? memoryConfiguration,
int memoryReadLatency = 1,
int prefetchDepth = 2,
int? releaseBufferDepth}) {
final bankImplementation = readyValidPrefetchedIndexPoolFunctor(
memoryFunctor: memoryFunctor,
memoryConfiguration: memoryConfiguration,
memoryReadLatency: memoryReadLatency,
prefetchDepth: prefetchDepth,
releaseBufferDepth: releaseBufferDepth);
return RestorableMultiIndexAllocatorFunctor(
'banked_${bankImplementation.identity}',
(
{required clk,
required reset,
required quiesce,
required allocations,
required releases,
required restore,
required capacity,
required initiallyAvailableIndices,
required name}) =>
ReadyValidBankedIndexPool(
clk: clk,
reset: reset,
quiesce: quiesce,
allocations: allocations,
releases: releases,
restore: restore,
capacity: capacity,
initiallyAvailableIndices: initiallyAvailableIndices,
bankImplementation: bankImplementation,
name: name));
}