Repository logo
 

Automatic hardware pragma insertion in high-level synthesis: a non-linear programming approach

dc.contributor.authorPouget, Stéphane, author
dc.contributor.authorPouchet, Louis-Noël, author
dc.contributor.authorCong, Jason, author
dc.contributor.authorACM, publisher
dc.date.accessioned2025-03-13T18:31:29Z
dc.date.available2025-03-13T18:31:29Z
dc.date.issued2025-02-07
dc.description.abstractHigh-Level Synthesis enables the rapid prototyping of hardware accelerators, by combining a high-level description of the functional behavior of a kernel with a set of micro-architecture optimizations as inputs. Such optimizations can be described by inserting pragmas e.g., pipelining and replication of units, or even higher level transformations for HLS such as automatic data caching using the AMD/Xilinx Merlin compiler. Selecting the best combination of pragmas, even within a restricted set, remains particularly challenging and the typical state-of-practice uses design-space exploration to navigate this space. But due to the highly irregular performance distribution of pragma configurations, typical DSE approaches are either extremely time consuming, or operating on a severely restricted search space. This work proposes a framework to automatically insert HLS pragmas in regular loop-based programs, supporting pipelining, unit replication, and data caching. We develop an analytical performance and resource model as a function of the input program properties and pragmas inserted, using non-linear constraints and objectives. We prove this model provides a lower bound on the actual performance after HLS. We then encode this model as a Non-Linear Program, by making the pragma configuration unknowns of the system, which is computed optimally by solving this NLP. This approach can also be used during DSE, to quickly prune points with a (possibly partial) pragma configuration, driven by lower bounds on achievable latency. We extensively evaluate our end-to-end, fully implemented system, showing it can effectively manipulate spaces of billions of designs in seconds to minutes for the kernels evaluated.
dc.format.mediumborn digital
dc.format.mediumarticles
dc.identifier.bibliographicCitationStéphane Pouget, Louis-Noël Pouchet, and Jason Cong. 2025. Automatic Hardware Pragma Insertion in High-Level Synthesis:ANon-Linear Programming Approach. ACMTrans. Des. Autom. Electron. Syst. 30, 2, Article 26 (February 2025), 44 pages. https://doi.org/10.1145/3711847
dc.identifier.doihttps://doi.org/10.1145/3711847
dc.identifier.urihttps://hdl.handle.net/10217/240175
dc.languageEnglish
dc.language.isoeng
dc.publisherColorado State University. Libraries
dc.relation.ispartofPublications
dc.relation.ispartofACM DL Digital Library
dc.rights©Stéphane Pouget, et al. ACM 2025. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in ACM Transactions on Design Automation of Electronic Systems, Volume 30, Issue 2, Article No.: 26 (February 2025), https://dx.doi.org/10.1145/3711847.
dc.subjecthigh-level synthesis
dc.subjectfield-programmable gate array
dc.subjectnon-linear programming
dc.subjectprogram optimization
dc.subjectpragma insertion
dc.titleAutomatic hardware pragma insertion in high-level synthesis: a non-linear programming approach
dc.typeText

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
FACF_ACMOA_3711847.pdf
Size:
1.73 MB
Format:
Adobe Portable Document Format

Collections