Banked Memories for Soft SIMT Processors

Martin Langhammer, George A. ConstantinidesFCCM 2025

Introduction

In the evolving landscape of high-performance computing, Field-Programmable Gate Arrays (FPGAs) have emerged as a compelling platform for "soft" General-Purpose Graphics Processing Units (GPGPUs). While modern FPGAs possess the arithmetic density—specifically in terms of DSP blocks—to rival dedicated GPUs, they are frequently hamstrung by a critical bottleneck: memory bandwidth. The ability to move data between processors and memory quickly enough to keep computational units saturated is the primary challenge in soft SIMT (Single Instruction, Multiple Thread) design.

This paper presents the architecture and evaluation of a high-speed banked memory system designed to overcome these limitations. By sustaining clock frequencies over 770 MHz, the proposed system provides a scalable roadmap for balancing hardware area and computational throughput on modern FPGA fabrics.

System Architecture

The researchers implemented a SIMT architecture featuring 16 parallel scalar processors (SPs). These processors are connected to a shared memory system that can be configured with 4, 8, or 16 banks. This design allows for high-concurrency access, which is essential for the parallel workloads typical of GPGPU applications.

High-level architecture of the soft SIMT processor with banked memory.

The architecture is designed to be area-efficient. Traditional multi-port memory approaches, while simple, require data replication that consumes excessive resources as datasets grow. In contrast, the banked memory approach used here is more akin to commercial GPU designs, offering better scaling for large-scale data processing.

Technical Innovations

Achieving high performance on FPGAs requires more than just a parallel architecture; it requires logic that can run at the hardware's physical limits. The authors introduced several key innovations:

  • Carry-Chain Based Arbitration: Resolving bank conflicts—where multiple processors attempt to access the same memory bank simultaneously—is a complex logic task that often limits the maximum clock frequency ($F_{max}$). The authors utilized the FPGA’s dedicated carry-chain logic to build a highly efficient arbiter. This hardware-specific optimization allows for rapid priority resolution and lane-to-bank mapping with minimal logic overhead.
  • Resource Depth Matching: To ensure the design could close timing at 771 MHz (the peak speed of the DSP blocks on Intel Agilex-7), the pipeline stages of the memory controllers were meticulously aligned with the physical structure of the FPGA.
  • Sector-Based Evaluation: Moving beyond simple Look-Up Table (LUT) counts, the authors used "sector equivalents" to measure the physical area occupied on the chip. This provides a more realistic assessment of the design's footprint in high-performance contexts.

Performance Evaluation

The system was rigorously tested using 51 benchmark combinations, primarily focusing on Matrix Transposition and Fast Fourier Transforms (FFT). These benchmarks were selected to stress-test raw bandwidth and evaluate the handling of complex memory access patterns.

The results were significant:

  • Clock Speed: The banked memory system successfully operated at 771 MHz, matching the peak hardware limits of the floating-point units.
  • Efficiency: In matrix transpose tasks, the 16-bank system achieved a read bank efficiency of 60.4%. When controller latency is accounted for, this represents nearly 100% efficiency at the shared memory level.
  • Area Density: A 448KB 16-bank memory system fits within a single FPGA sector (approximately 16,640 ALMs), demonstrating high storage density.

Key Insights: The Importance of Mapping

A central finding of the research is that for complex workloads like FFTs, the strategy used to map addresses to memory banks is critical. A simple mapping based on the lowest bits of an address often leads to "bank conflicts," where multiple lanes are serialized because they target the same bank.

Visualization of lane-to-bank mapping and potential bank conflicts.

By implementing an "Offset" mapping strategy—which shifts the index bits—the authors improved performance by approximately 10%. This optimization highlights that the efficiency of a banked system is as much about the logic of the controller as it is about the physical memory blocks.

Furthermore, the study revealed a "scaling wall" for multi-port memories. While multi-port designs are efficient for small datasets (under 64KB), the replication costs become prohibitive for larger datasets. At the 448KB scale used in this study, the banked system proved to be physically smaller and more efficient than its multi-port counterparts.

Conclusion

The development of a 771 MHz banked memory system demonstrates that soft SIMT processors can achieve efficiencies comparable to high-end commercial hardware. The authors found that their "vanilla" soft SIMT core achieved an FFT efficiency of 33%, matching the performance of an Nvidia A100 GPU on similar workloads. This research paves the way for FPGAs to become increasingly viable platforms for high-performance, memory-intensive computing.

Summary updated

BibTeX
@inproceedings{langhammer2025banked,
  author = {Martin Langhammer and George A. Constantinides},
  title = {{Banked Memories for Soft SIMT Processors}},
  booktitle = {FCCM},
  year = {2025},
  url = {https://openreview.net/forum?id=wXXezR9z8o},
}
Figure