C2HLSC: Can LLMs Bridge the Software-to-Hardware Design Gap?
Fuente:
arXiv
Salvato in:
| Autori principali: | , , |
|---|---|
| Natura: | Preprint |
| Pubblicazione: |
2024
|
| Soggetti: | |
| Accesso online: | |
| Tags: |
Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
|
| _version_ | 1866913790171283456 |
|---|---|
| author | Collini, Luca Garg, Siddharth Karri, Ramesh |
| author_facet | Collini, Luca Garg, Siddharth Karri, Ramesh |
| contents | 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. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2406_09233 |
| institution | arXiv |
| publishDate | 2024 |
| record_format | arxiv |
| spellingShingle | C2HLSC: Can LLMs Bridge the Software-to-Hardware Design Gap? Collini, Luca Garg, Siddharth Karri, Ramesh Hardware Architecture 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. |
| title | C2HLSC: Can LLMs Bridge the Software-to-Hardware Design Gap? |
| topic | Hardware Architecture |
| url | https://arxiv.org/abs/2406.09233 |