ForgeHLS: A Large-Scale, Open-Source Dataset for High-Level Synthesis

Zedong Peng, Zeju Li, Mingzhe Gao, Qiang Xu, Chen Zhang +1 more
7/4/2025
cs.ARcs.AI

Official code: zedong-peng/ForgeHLS (8 stars, MIT, last commit 2025-10-16).

Abstract

High-Level Synthesis (HLS) plays a crucial role in modern hardware design by transforming high-level code into optimized hardware implementations. However, progress in applying machine learning (ML) to HLS optimization has been hindered by a shortage of sufficiently large and diverse datasets. To bridge this gap, we introduce ForgeHLS, a large-scale, open-source dataset explicitly designed for ML-driven HLS research. ForgeHLS comprises over 400k diverse designs generated from 846 kernels covering a broad range of application domains, consuming over 200k CPU hours during dataset construction. Each kernel includes systematically automated pragma insertions (loop unrolling, pipelining, array partitioning), combined with extensive design space exploration using Bayesian optimization. Compared to existing datasets, ForgeHLS significantly enhances scale, diversity, and design coverage. We further define and evaluate representative downstream tasks in Quality of Result (QoR) prediction and automated pragma exploration, clearly demonstrating ForgeHLS utility for developing and improving ML-based HLS optimization methodologies. The dataset and code are public at https://github.com/zedong-peng/ForgeHLS.

View on arXivView PDF

Code Implementations(1)

MIT

A Large-Scale, Open-Source Dataset for High-Level Synthesis

80Shell, PythonAug 4, 20251 years agoMIT

Similar Papers

Cite this paper

@article{peng2025forgehls,
  title  = {ForgeHLS: A Large-Scale, Open-Source Dataset for High-Level Synthesis},
  author = {Zedong Peng and Zeju Li and Mingzhe Gao and Qiang Xu and Chen Zhang and Jieru Zhao},
  year   = {2025},
  eprint = {2507.03255},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.03255v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.03255.svg)](https://codeofpaper.com/paper/2507.03255)

Discussion