arXiv:2610.01975cs.AROct 2026

Manuscript Offprint

arXiv:2610.01975

CONFERM: Recurrence-Aware Temporal Mapping for Multi-Cycle Multi-Context CGRAs

Jun Yin, Jannes Willemen, Stef Cuyckens, Chao Fang, Marian Verhelst

Jun Yin, Jannes Willemen, Stef Cuyckens, Chao Fang, Marian Verhelst

ESAT-MICAS KU Leuven

Abstract—Throughput in DSP and machine learning workloads is often limited by two temporal structures, i.e., loop-carried recurrences and long-latency, multi-cycle compute nodes. On spatio-temporal coarse-grained reconfigurable arrays (CGRAs), both bottlenecks can be addressed by overlapping iterations across the multi-context modulo configurations. Yet, existing CGRA mappers schedule a fixed dataflow graph (DFG) that treats recurrence-aware scheduling and operator-level pipelining separately, limiting inter-iteration overlap and inflating routing pressure. To tackle this, we present CONFERM, a recurrence-aware temporal mapper that uses the dominant temporal constraint to guide the DFG representation and expose opportunities for loop-carried pipelining. CONFERM identifies and prioritizes bottleneck regions during scheduling. The regular loop-carried offsets across interleaved iterations allow the emitted control sequence to repeat at a shorter cadence than the original initiation interval, thus delivering higher throughput with lower CGRA configuration overhead. Across ten benchmark kernels, CONFERM improves throughput by 2.18×2.18\times over state-of-the-art mappers. Its uniform iteration offsets shorten the emitted initiation interval by 46%. CONFERM's mapper pass also converges faster by 5.07×5.07\times on average with the same heuristic mapper backend.

Index Terms—coarse-grained reconfigurable array, recurrence dataflow, loop-carried dataflow, modulo scheduling, multi-context architecture

I. INTRODUCTION

Throughput in DSP and machine learning workloads [1]–[3] is often bounded not by the full loop body but by two recurring temporal structures. One is a loop-carried recurrence, where an operation in one iteration depends on a value produced by an earlier one, as in infinite impulse response (IIR) filters [1], whose kernel dataflow graph is shown in Fig. 1(a). The other is a long-latency, multi-cycle compute node, where a single operator can take several cycles to produce a result, as in the nonlinear activation layers of modern machine learning models [4]–[6]. In both cases, the throughput of the looped workload depends on whether the hardware executing it can keep multiple iterations in flight across time. Under modulo scheduling [7], the performance of a mapped loop is primarily measured by the initiation interval (II), the number of clock cycles between the launches of successive loop iterations. A lower II directly translates to higher throughput. The two temporal structures above are can prevent further reductions in

This project has been partly funded by the European Research Council (ERC) under grant agreement No. 101088865, the Flanders AI Research Program, and long-term structural Methusalem funding by the Flemish Government. Email: {jun.yin, jannes.willemen, stef.cuyckens, chao.fang, marian.verhelst}@kuleuven.be. Corresponding author: Chao Fang.

Figure

(a) Recurrence-bound IIR

(b) Ideal loop-carry pipeline

Figure

③ Resource Minimal II = 2 cycles (7 OPs @ 4 PEs)

Challenge: Best pipelining under HW Recur.-Res. Constraints?

versus Ideal: -57% throughput +1 cycle delay/iter.

(c) Scheduling challenges on real hardware (2x2 CGRA PEs)

Fig. 1. Overview of the background and challenges. (a) Recurrence-bound kernels (e.g. IIR [1]) limit the achievable throughput by enforcing the loop-carried feedback dependency in general modulo schedulers [7]; (b) The ideal throughput improvement can be achieved via loop-carried pipelining over independent data in the loop or over batches; (c) On real hardware, the limited routing ② and execution ③ resources delay operations and introduce pipeline bubbles, reducing throughput relative to the ideal schedule The real multi-context CGRA hardware constraints must therefore be considered when constructing a feasible interleaved schedule.

II. In the IIR kernel of Fig. 1(a), the feedback path alone sets a four-cycle bound on II. Although ideal loop-carry pipelines like Fig. 1(b) can be achieved by interleaving other batches, the achievable pattern is limited by available compute and routing resources.

Coarse-grained reconfigurable arrays (CGRAs) [6], [8]–[12] are compute architectures with highly flexible operator support that meet exactly this demand. Unlike a dedicated accelerator, CGRAs let compilers map a loop directly onto a grid of flexible processing elements (PEs), forming a tightly coupled data stream. Yet, as Fig. 1(c) shows, the seven operations of the loop body still set a separate two-cycle bound from resource demand on an array with only four PEs that can each start one operation per cycle. To overcome a mapping failure, multi-context spatio-temporal CGRAs [8], [13], [14] mitigate these constraints by allowing each PE to cycle through multiple configurations according to a modulo schedule (Fig. 1(c)).

Realizing such a pipelining schedule depends on how well the CGRA mapper can see and exploit these opportunities for

Figure

(a) CGRA SoC Architecture

(b) CGRA Core Architecture

Figure

(c) CGRA Core Pipeline Resources

Fig. 2. The target spatio-temporal multi-context CGRA architecture. (a) A 4×44 \times 4 mesh of compute tiles, drawn as CGRA cores, with border load/store units that stream operands. (b) Each core contains SIMD CUs, local and mesh FIFO arrays, crossbars, and instruction/constant buffers. The instruction buffers store the modulo schedule locally. (c) The three pipeline resources that form the temporal depth of a core, namely elastic ready/valid FIFOs, internally pipelined CUs, and read-only buffers with a cyclic schedule. CONFERM leverages these pipeline resources to map recurrences and critical feed-forward paths efficiently.

overlap. Existing recurrence-aware mappers [15]–[17] already attempt to minimize the recurrence path by prioritizing the scheduling of cyclic operations or by physically chaining PEs together. However, such approaches generally schedule a dataflow graph (DFG) representation fixed in advance, without jointly exposing other multi-context CGRA operator timing structures to the mapping process. As a result, the recurrence bound of Fig. 1(a) still limits the overall throughput. But as Fig. 1(c) demonstrates, a further pipelined multi-context CGRA allows successive loop iterations to overlap across different configuration contexts, hence launching workloads more frequently than the recurrence interval bound. Yet, the resulting schedule still gives up 57% of the ideal throughput than the ideal pipelining in Fig. 1(b) that fully exploits interleaving and operator pipelining over both the multi-cycle operators and recurrence feedback paths. Therefore, efficient mapping must jointly account for the recurrence path, the operator latency, the inter-tile routing delay, and other resource bounds are all accounted for.

These observations motivate a broader shift in CGRA mapping: the dominant temporal bottlenecks and hardware timing structures should both shape the DFG representation and the schedule explored by the mapper. Hence, we present CONFERM, a recurrence-aware temporal mapper for multi-cycle multi-context CGRAs, with the following contributions:

  1. Recurrence-aware loop-carried dependence analysis (Sec. III-B). Using hardware latency and loop-structure information, CONFERM identifies dataflow bottlenecks that limit either steady-state throughput or multi-cycle compute paths, including recurrences and long-latency feed-forward paths. Guided by these bottlenecks, it identifies subgraphs to prioritize during scheduling, rather than relying on scheduling over a DFG representation fixed in advance.

  2. Multi-cycle-aware pipeline modeling and modulo forecast (Sec. III-C). CONFERM unifies two temporal scales: 1) the operator-level pipeline schedule, defined by latency, launch interval, and pipeline occupancy, and 2) the CGRA-level modulo schedule, defined by initiation interval and inter-iteration overlap. Using a unified cycle-level architecture model, it forecasts the achievable initiation interval, temporal interleaving, and buffering demand for each loop-carried bottleneck before physical mapping.

  3. Bottleneck-first mapping with control-word folding (Sec. III-D). CONFERM gives priority to the forecasted bottlenecks during modulo scheduling on the target CGRA, while striving to maintain regular cycle offsets for hardware resource reservations across temporally interleaved iterations. This regularity enables control-word folding that lets the emitted CGRA control sequence repeat at a shorter cadence than the mapping-stage initiation interval.

References (22)