计算机科学 > 硬件体系结构
[提交于 2024年6月13日]
标题:C2HLSC: Can LLMs Bridge the Software-to-Hardware Design Gap?
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:High Level Synthesis (HLS) tools offer rapid hardware design from C code, but their compatibility is limited by code constructs. This paper investigates Large Language Models (LLMs) for refactoring C code into HLS-compatible formats. We present several case studies by 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 user prompts, implementing functions like streaming data and hardware-specific signals. This evaluation demonstrates the LLM's potential to assist hardware design refactoring regular C code into HLS synthesizable C code.
提交历史
来自:Luca Collini[v1] 2024年6月13日 星期四 15:33:54 UTC