C2HLSC: Can LLMs Bridge the Software-to-Hardware Design Gap?

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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.

Original languageEnglish (US)
Title of host publication2024 IEEE LLM Aided Design Workshop, LAD 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350376081
DOIs
StatePublished - 2024
Event2024 IEEE International LLM-Aided Design Workshop, LAD 2024 - San Jose, United States
Duration: Jun 28 2024Jun 29 2024

Publication series

Name2024 IEEE LLM Aided Design Workshop, LAD 2024

Conference

Conference2024 IEEE International LLM-Aided Design Workshop, LAD 2024
Country/TerritoryUnited States
CitySan Jose
Period6/28/246/29/24

Keywords

  • Catapult HLS
  • Chip Design
  • Cryptocores
  • LLM

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Graphics and Computer-Aided Design
  • Computer Science Applications
  • Software
  • Control and Optimization

Fingerprint

Dive into the research topics of 'C2HLSC: Can LLMs Bridge the Software-to-Hardware Design Gap?'. Together they form a unique fingerprint.

Cite this