开源生成逻辑综合数据集,支持多种机器学习任务。
OpenLS-DGF: An Adaptive Open-Source Dataset Generation Framework for Machine Learning Tasks in Logic Synthesis
- 封装逻辑综合三步骤,自动产出Verilog与GraphML双格式数据。
- 生成46个电路、超96万布尔电路的OpenLS-D-v1数据集。
- 适合做逻辑综合相关机器学习研究的学者使用。
本文提出OpenLS-DGF,一种自适应的逻辑综合数据集生成框架,旨在提升机器学习在逻辑综合中的应用。此前的数据集生成流程多针对特定任务或缺乏集成机器学习能力。OpenLS-DGF通过封装逻辑综合的三大基础步骤——布尔表示、逻辑优化和工艺映射,支持多种机器学习任务,并保留Verilog与机器学习友好的GraphML两种格式的原始信息。Verilog文件具备半定制化能力,支持研究者插入新步骤并迭代优化数据集。此外,框架包含自适应电路引擎,用于最终数据集管理与下游任务。生成的OpenLS-D-v1数据集包含46个组合电路设计,来自经典基准,共涵盖超过96.6万布尔电路。该数据集支持新增特征集成,更具扩展性。本文通过四类下游任务验证其适用性:电路分类、电路排序、质量结果(QoR)预测与概率预测,覆盖逻辑综合关键环节。实验表明,该数据集具有显著多样性与实用性。代码与数据集已公开于https://github.com/Logic-Factory/ACE/blob/master/OpenLS-DGF/readme.md。
原文摘要 · Abstract (English)
This paper introduces OpenLS-DGF, an adaptive logic synthesis dataset generation framework, to enhance machine learning~(ML) applications within the logic synthesis process. Previous dataset generation flows were tailored for specific tasks or lacked integrated machine learning capabilities. While OpenLS-DGF supports various machine learning tasks by encapsulating the three fundamental steps of logic synthesis: Boolean representation, logic optimization, and technology mapping. It preserves the original information in both Verilog and machine-learning-friendly GraphML formats. The verilog files offer semi-customizable capabilities, enabling researchers to insert additional steps and incrementally refine the generated dataset. Furthermore, OpenLS-DGF includes an adaptive circuit engine that facilitates the final dataset management and downstream tasks. The generated OpenLS-D-v1 dataset comprises 46 combinational designs from established benchmarks, totaling over 966,000 Boolean circuits. OpenLS-D-v1 supports integrating new data features, making it more versatile for new challenges. This paper demonstrates the versatility of OpenLS-D-v1 through four distinct downstream tasks: circuit classification, circuit ranking, quality of results (QoR) prediction, and probability prediction. Each task is chosen to represent essential steps of logic synthesis, and the experimental results show the generated dataset from OpenLS-DGF achieves prominent diversity and applicability. The source code and datasets are available at https://github.com/Logic-Factory/ACE/blob/master/OpenLS-DGF/readme.md.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。