C2HLSC
Models rewrite ten C programs for hardware synthesis. The tests check program output and whether the synthesis tool accepts the implementation.
AgRefactor tested seven of the ten programs with GPT-5-mini in a larger refactoring comparison. The original authors measured success with separate area and latency targets.
- Made by
- New York University
- Released
- November 2024
- Kind
- Electronics
- Level
- University
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Single turn
- Refresh
- One fixed set
- Run by
- Anyone
- Strongest model tested
- Claude 3.5 Sonnet #159 on the capability index
- Last model added
- June 2024
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
In the authors’ words
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 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.
Claude 3.5 Sonnet leads with 74% Claude 3.5 Sonnet leads with 74%
Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. The repository reports each program separately, so this is the mean success rate across ten programs. Where a model ran on its own with several settings, we keep its best. Agents other companies built around a model get a pale shade of that model's lab color. Gray marks blends and entries not in our model list, such as fine-tunes and older models. None of these count toward leaders. Agents built around a model, such as C2HLSC adaptive (GPT-4o mini + GPT-4o (snapshot unspecified)), are their own entries. We don't count them as the model's score. This view shows only models we track, each at its best.
- 1 Claude 3.5 Sonnet Latency target 74%
- 2 C2HLSC adaptive (GPT-4o mini + GPT-4o (snapshot unspecified)) Area target 56%
Source: Official C2HLSC leaderboard
Source: Official C2HLSC leaderboard
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | Claude 3.5 Sonnet | 74% | Latency target, C2HLSC | Jun 2024 | Official leaderboard |
| 2 | C2HLSC adaptive (GPT-4o mini + GPT-4o (snapshot unspecified)) | 56% | Area target | Jul 2024 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | Claude 3.5 Sonnet | 74% | Latency target, C2HLSC | Jun 2024 | Official leaderboard |
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official C2HLSC leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Engineering and CAD
- EEBench In use 13 electrical-engineering circuit and PCB design tasks graded by deterministic build checks, simulation and BOM constraints. No LLM judge.
Gemini 4 Carbon 83.9%
- 3DCodeBench In use Agentic procedural 3D modeling via code: author engine-ready 3D assets through software APIs. Graded for executability and shape fidelity.
LongCat-2.5 55.4%
- CADGenBench Only in system cards Agents construct CAD models from design prompts. The generation split is graded for executability and geometric correctness. Claude Fable 5 45.1%
- CADmium Fusion 360 Reconstruction Only in system cards Models reconstruct CAD parts from text descriptions of Fusion 360 designs. The authors measure shape distance and count invalid outputs. CADmium-3B 191.9
- PartBench Only in system cards Parametric mechanical part design and CAD-style generation, graded for geometric and manufacturing fidelity. Grok 4.6 58.5%
- Razavi-Bench Not in model cards Models explain what happens in analog circuits and why. A language model awards up to four points per answer against a reference and a rubric.
Gemini 4 Carbon 98.3%
Data audit
8 of 9 checks pass, 1 warning. Look first at the Newest score check. The newest came 2 years ago, in June 2024, for Claude 3.5 Sonnet. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 2 pass 2 notes
- Pass Independent runs Scores from the official leaderboard (2 entries).
- Note Models scored Only 1 model we track, plus 1 other entry on its leaderboard.
- Warning Newest score The newest came 2 years ago, in June 2024, for Claude 3.5 Sonnet.
- Note Frontier models None of the top 10 has a score. The strongest tested is Claude 3.5 Sonnet (#159).
- Pass Headroom The best is 74%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on github.com: 4 rows for models we track at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.