Out with LSQs: Custom Circuits for Memory Access Reordering in Dynamic HLS
This repository contains the source code, benchmarks, and experimental results associated with the paper "Out with LSQs: Custom Circuits for Memory Access Reordering in Dynamic HLS" by Rouzbeh Pirayadi (EPFL), Ayatallah Elakhras (EPFL), Mirjana Stojilović (EPFL), and Paolo Ienne (EPFL). The paper has been accepted for publication in the Proceedings of the 34th International Symposium on Field-Programmable Gate Arrays (ISFPGA 2026).
Abstract:
Circuits generated by dynamically scheduled high-level synthesis (HLS) outperform static counterparts when execution-dependent operation reordering is possible. A key opportunity are potential memory dependencies that static analysis cannot rule out: Statically scheduled circuits must assume a worst-case scenario, enforcing conservative in-order execution even when unnecessary. In contrast, dynamically scheduled circuits use load-store queues (LSQs) to detect access collisions at runtime and reorder accesses whenever possible. While effective, LSQs are costly in both area and timing due to their size and critical path. We argue that LSQs in application-specific circuits are overly generic, checking all ordering relationships instead of only the necessary ones. Instead of relying on LSQs, our approach generates dataflow circuits that enforce only essential dependencies, reducing resource usage while preserving execution time. We implemented our methodology in an open-source, state-of-the-art dynamic HLS compiler and compared it against optimized LSQs. Our solution exploits the same reordering opportunities to achieve consistently Pareto-optimal solutions in terms of wall-clock time and resources. On average, we obtain similar execution times (2% better) while reducing resources by 37%, offering a superior alternative for high-performance dataflow circuit synthesis.
École Polytechnique Fédérale de Lausanne
École Polytechnique Fédérale de Lausanne
École Polytechnique Fédérale de Lausanne
École Polytechnique Fédérale de Lausanne
2025-12-18
v1
CC BY
Code Repository URL
| Event name | Event acronym | Event place | Event date |
ISFPGA | Seaside, CA, USA | 2026-02-24 - 2026-02-24 | |
| Relation | Related work | URL/DOI |
Continues | From C/C plus plus Code to High-Performance Dataflow Circuits | |
IsVersionOf | ||