An LLVM-Based HW/SW Co-Design Framework for Overlapped Chunked Execution of Single-Buffer FPGA Accelerators
Gihyeon Jeon, Daejin Park
Key points
From the paper's conclusion- On a Zybo Z7-20 board with a CORDIC–GEMM chain, the transformed program reduces the total execution time by 30.2–31.3% relative to sequential execution for 201 K–4.8 M input words, and all 1040 measured runs, which also include single-stage loops and a loop with a shorter final chunk, reproduce a bit-exact software reference.
Abstract
Edge AI accelerators frequently adopt a single-buffer structure to minimize on-chip memory, but such accelerators cannot accept the next block of input while the current block is still being processed, which serializes data transfer, computation, and result retrieval. This paper presents a hardware/software co-design framework that restores system-level overlap for chains of single-buffer accelerators connected through AXI DMA. On the hardware side, a Hardware Performance Manager (HPM) monitors the AXI4-Stream handshakes between the DMA and the accelerator and coordinates the output handshake while a new input packet is starting. On the software side, an LLVM Pass analyzes a sequential chunked offload loop with scalar-evolution (SCEV) expressions, verifies that consecutive accelerator stages form a producer–consumer chain, and replaces the loop with a call to a pipelined runtime. The Pass additionally moves whole-buffer cache maintenance in front of and behind the loop into per-chunk operations that the runtime performs while the accelerators are busy. On a Zybo Z7-20 board with a CORDIC–GEMM chain, the transformed program reduces the total execution time by 30.2–31.3% relative to sequential execution for 201 K–4.8 M input words, and all 1040 measured runs, which also include single-stage loops and a loop with a shorter final chunk, reproduce a bit-exact software reference. An exhaustive chunk-size sweep shows that the default chunk size lies within 0.44% of the best fixed chunk size for every workload size.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SPMW: A Grid-Based Programming Model for Scalable Accelerator DesignarXiv · 2026
- Offloading Boundaries in a Heterogeneous Embedded SoC: Characterization on CPU-FPGASemiconductors and Heterogeneous Integration · 2026
- SkipLane: Write-Once, Conflict-Free Accumulation for Zero-Skipping CNN Engines on FPGAsarXiv · 2026
- Efficient Reconfigurable Architectures for Deep LearningarXiv · 2026
- Heuristic-Driven Resource Optimization for Decoupled Memory Channels on FPGAsarXiv · 2026
- Bottom-Up FPGA Reconfigurable Accelerator Overlay GenerationarXiv · 2026