HLSDataset:用于基于高级综合的机器学习辅助FPGA设计的开源数据集
HLSDataset: Open-Source Dataset for ML-Assisted FPGA Design using High Level Synthesis
AI总结:
本研究提出了面向机器学习辅助FPGA高级综合设计的开源数据集HLSDataset,基于多类基准测试和多种优化指令生成近9000个每FPGA类型的Verilog样本,经案例研究验证可用于功耗与资源估算,能为研究人员节省数据集构建时间。
摘要:
机器学习(ML)已被广泛应用于基于高级综合(HLS)的设计探索中,以便在FPGA设计的极早期阶段实现更优更快的性能、资源与功耗估算。要实现准确预测,需要高质量、大规模的数据集来训练ML模型。\n本文提出了一个用于基于HLS的ML辅助FPGA设计的数据集,名为HLSDataset。该数据集由广泛使用的HLS C基准测试生成,包括Polybench、Machsuite、CHStone和Rossetta。生成Verilog样本时采用了多种指令,包括循环展开、循环流水线和数组划分,以确保覆盖经过优化的真实设计。每种FPGA类型生成的Verilog样本总数接近9000个。\n为验证该数据集的有效性,我们开展了案例研究,使用在该数据集上训练的ML模型进行功耗估算和资源使用量估算。所有代码和数据集均已在GitHub仓库公开。我们认为HLSDataset能够避免研究人员运行工具、编写脚本和解析文件以生成数据集的繁琐过程,为他们节省宝贵时间,使其能够将更多精力投入到关键环节,即训练ML模型上。
英文摘要:
Machine Learning (ML) has been widely adopted in design exploration using high level synthesis (HLS) to give a better and faster performance, and resource and power estimation at very early stages for FPGA-based design. To perform prediction accurately, high-quality and large-volume datasets are required for training ML models.This paper presents a dataset for ML-assisted FPGA design using HLS, called HLSDataset. The dataset is generated from widely used HLS C benchmarks including Polybench, Machsuite, CHStone and Rossetta. The Verilog samples are generated with a variety of directives including loop unroll, loop pipeline and array partition to make sure optimized and realistic designs are covered. The total number of generated Verilog samples is nearly 9,000 per FPGA type. To demonstrate the effectiveness of our dataset, we undertake case studies to perform power estimation and resource usage estimation with ML models trained with our dataset. All the codes and dataset are public at the github repo.We believe that HLSDataset can save valuable time for researchers by avoiding the tedious process of running tools, scripting and parsing files to generate the dataset, and enable them to spend more time where it counts, that is, in training ML models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。