selectRegisterFileArray<T extends Logic> method

MemoryArrayFunctor<T> selectRegisterFileArray<T extends Logic>()

Selects the corresponding typed, combinational-read array factory.

As with selectRegisterFileFunctor, synchronous SRAM is incompatible. Array consumers still validate their own port and collision requirements.

Implementation

MemoryArrayFunctor<T> selectRegisterFileArray<T extends Logic>() {
  selectRegisterFileFunctor();
  return backing == MemoryBacking.model
      ? registerFileModelArray<T>()
      : registerFileArray<T>();
}