C2HLSC: Leveraging Large Language Models to Bridge the Software-to-Hardware Design Gap
ACM Transactions on Design Automation of Electronic Systems · 30.11.2025 · 30 (6) · 1-24
DOI: 10.1145/3734524 ↗Kurz gefasst
Fachartikel in der Zeitschrift ACM Transactions on Design Automation of Electronic Systems, online erschienen am 21.10.2025. Verfasst von Luca Collini und 2 weiteren Autor:innen. Die Arbeit wurde bisher 18-mal zitiert (Crossref) und nennt 24 Literaturangaben.
Abstract (Originalsprache)
High-Level Synthesis (HLS) tools offer rapid hardware design from C code, but their compatibility is limited by code constructs. This article investigates Large Language Models (LLMs) for automatically refactoring C code into HLS-compatible formats. We present a case study using an LLM to rewrite C code for NIST 800-22 randomness tests, a QuickSort algorithm, and AES-128 into HLS-synthesizable C. The LLM iteratively transforms the C code guided by the system prompt and tool’s feedback, implementing functions like streaming data and hardware-specific signals. With the hindsight obtained from the case study, we implement a fully automated framework to refactor C code into HLS-compatible formats using LLMs. To tackle complex designs, we implement a preprocessing step that breaks down the hierarchy in order to approach the problem in a divide-and-conquer bottom-up way. We validated our framework on three ciphers, one hash function, five NIST 800-22 randomness tests, and a QuickSort algorithm. Our results show a high success rate on benchmarks that are orders of magnitude more complex than what has been achieved generating Verilog with LLMs.
Zitieren
APA
Collini, L., Garg, S., & Karri, R. (2025). C2HLSC: Leveraging Large Language Models to Bridge the Software-to-Hardware Design Gap. ACM Transactions on Design Automation of Electronic Systems, 30(6), 1-24. https://doi.org/10.1145/3734524
Vancouver
Collini L, Garg S, Karri R. C2HLSC: Leveraging Large Language Models to Bridge the Software-to-Hardware Design Gap. ACM Transactions on Design Automation of Electronic Systems. 2025;30(6):1-24. doi:10.1145/3734524
BibTeX
@article{Collini2025,
author = {Collini, Luca and Garg, Siddharth and Karri, Ramesh},
title = {C2HLSC: Leveraging Large Language Models to Bridge the Software-to-Hardware Design Gap},
journal = {ACM Transactions on Design Automation of Electronic Systems},
year = {2025},
volume = {30},
number = {6},
pages = {1--24},
doi = {10.1145/3734524}
}
EUVIMED