arXiv:2508.18730cs.LGcs.AR2025-08被引 1

用结构图学习提升硬件设计质量预测准确率

Beyond Tokens: Enhancing RTL Quality Estimation via Structural Graph Learning

  • 基于控制数据流图构建结构感知的自监督学习框架
  • 在多个设计质量评估任务中达到新最优表现
  • 适合芯片设计自动化领域的研究人员与工程师

在电子设计自动化(EDA)流程中,估计寄存器传输级(RTL)设计的质量至关重要,可无需耗时的逻辑综合即获得面积、延迟等关键性能指标的即时反馈。尽管近期方法利用大语言模型(LLM)从RTL代码中提取嵌入并取得良好效果,但忽略了对准确评估至关重要的结构语义。相比之下,控制数据流图(CDFG)更明确地揭示了设计的结构特性,为表征学习提供更丰富的线索。本文提出StructRTL,一种面向RTL质量估计的结构感知图自监督学习框架。通过从CDFGs中学习结构感知的表示,StructRTL在多个质量评估任务中显著优于现有方法。为进一步提升性能,引入知识蒸馏策略,将映射后网表中的低层洞察传递至基于CDFG的预测器。实验表明,StructRTL达到新的最先进水平,验证了结构学习与跨阶段监督结合的有效性。

原文摘要 · Abstract (English)

Estimating the quality of register transfer level (RTL) designs is crucial in the electronic design automation (EDA) workflow, as it enables instant feedback on key performance metrics like area and delay without the need for time-consuming logic synthesis. While recent approaches have leveraged large language models (LLMs) to derive embeddings from RTL code and achieved promising results, they overlook the structural semantics essential for accurate quality estimation. In contrast, the control data flow graph (CDFG) view exposes the design's structural characteristics more explicitly, offering richer cues for representation learning. In this work, we introduce StructRTL, a novel structure-aware graph self-supervised learning framework for improved RTL design quality estimation. By learning structure-informed representations from CDFGs, StructRTL significantly outperforms prior art on various quality estimation tasks. To further boost performance, we incorporate a knowledge distillation strategy that transfers low-level insights from post-mapping netlists into the CDFG-based predictor. Experimental results demonstrate that StructRTL establishes new state-of-the-art results, highlighting the effectiveness of combining structural learning with cross-stage supervision.

硬件设计图神经网络自监督学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。