arXiv:2609.05982cs.ARSep 2026

Manuscript Offprint

arXiv:2609.05982

CMD: An Integrated CGRA Framework with Cluster-Based Distributed Memory Design

Shangkun Li, Cheng Tan, Zeyu Li, Jinming Ge, Jiawei Liang, Hao Yang, Linfeng Du, Jiang Xu, Wei Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Shangkun Li*, Cheng Tan†‡, Zeyu Li*, Jinming Ge*, Jiawei Liang*, Hao Yang§, Linfeng Du*, Jiang Xu¶, Wei Zhang*✉

*The Hong Kong University of Science and Technology, Hong Kong SAR, China

†Google, Mountain View, USA ‡Arizona State University, Tempe, USA

§The George Washington University, Washington, D.C., USA

¶The Hong Kong University of Science and Technology (Guangzhou), Guangzhou, China

{shangkun.li, zliki, jgeab, jliangbr, linfeng.du}@connect.ust.hk

chengtan@google.com, hao.yang@gwu.edu, jiang.xu@hkust-gz.edu.cn, wei.zhang@ust.hk

Abstract—Coarse-Grained Reconfigurable Arrays (CGRAs) are a promising solution for achieving high energy efficiency and reconfigurability across various application domains, but their performance is often crippled by rigid memory architectures that limit the number and location of tiles that can access data memory. This creates a significant bottleneck for kernels with intensive memory accesses. To address this, we propose CMD, an integrated CGRA framework featuring cluster-based distributed memory design with a co-designed compilation toolchain. The compiler includes a novel memory-aware mapper and a design space exploration (DSE) mechanism that identifies the optimal memory architecture design for specific kernels. Experimental results show that our post-DSE CMD CGRAS achieve an average speedup of 1.39×1.39\times over a conventional CGRA while simultaneously reducing the total area to an average of 0.912×0.912\times of the conventional CGRA.

Index Terms—CGRA, Memory Architecture, Mapping.

I. INTRODUCTION

Coarse-Grained Reconfigurable Arrays (CGRAs) are accelerators consisting of an array of computing tiles interconnected via a Network-on-Chip (NoC). They strike a balance between high flexibility and energy efficiency [1], making them prevalent for accelerating applications across domains from high-performance computing (HPC) [2] to machine learning (ML) [3]. To accelerate kernels (typically performance-critical loop nests in an application), the compiler first transforms them into Data Flow Graphs (DFGs) [4]–[6] and then maps these DFGs onto the CGRA. The primary goal of this mapping is to minimize the initiation interval (II) — the number of cycles between the start of successive loop iterations — as it directly impacts total execution latency.

However, the performance of CGRAS on kernels with memory access operations is often bottlenecked by the memory architecture. Most existing CGRAS use a global data memory adjacent to the tile array, allowing specific tiles to access memory each cycle. Two commonly used memory access methods are shown in Fig. 1: (1) The tile-based method [7], [8] restricts memory access to a few fixed tiles — typically those in the row or column closest to the data memory — forcing data needed by other tiles to be relayed across the

Figure

(a) Tile-based method

Figure

(b) HW arbitration-based method

Fig. 1. Memory access methods — (a) Tile-based method that enables the leftmost column to access the data memory. (b) HW arbitration-based method that enables one tile from each row to access the data memory in each cycle.

tile array. This creates severe routing pressure, which in turn inflates the II and degrades computation efficiency; (2) The HW/SW arbitration-based method [9], [10] either uses a hardware arbeiter to select one tile per row or column to access the memory each cycle, or relies on the compiler to statically schedule non-conflicting memory accesses. While this method allows more tiles to potentially access memory, it still limits the number of tiles that can access memory each cycle. Specifically, when multiple tiles in the same row or column contend for memory access in the same cycle, this conflict forces some memory requests to be deferred or rerouted, increasing latency and data movement overhead. Fundamentally limited by a centralized memory system, both methods struggle to provide the parallel, low-latency data access required by many applications. Overcoming this bottleneck necessitates a paradigm shift to a distributed architecture with a co-designed compilation framework to fully exploit it.

In this paper, we take a significant step toward addressing these challenges by proposing CMD — An Integrated CGRA Framework with Cluster-Based Distributed Memory Design. Our key contributions are summarized as follows:

  • A Cluster-Based Distributed Memory Architecture for CGRAS that alleviates memory access bottlenecks, featuring a lightweight controller to ensure coherence across distributed memory units. To the best of our knowledge, CMD is the first work to integrate distributed memory architecture design into a spatio-temporal CGRA;

✉ Corresponding author: Wei Zhang (wei.zhang@ust.hk).

  • A Memory-Aware Kernel Mapper that efficiently maps operations and variables of kernels onto the CMD CGRA;
  • A Memory Architecture DSE Mechanism that automatically finds an optimal memory architecture design for a set of kernels from a domain or an application.

References (32)