arXiv:2412.05311cs.ARcs.AI2024-12被引 20

用AI自动生成芯片设计规则检查代码,提速降本。

DRC-Coder: Automated DRC Checker Code Generation Using LLM Autonomous Agent

  • 构建多智能体框架,结合视觉与语言模型理解文本、图像和版图信息。
  • 在3纳米以下节点上生成代码F1得分达1.000,远超传统方法(0.631)。
  • 每条规则平均4分钟内完成生成,适合芯片设计团队快速迭代。

在先进制程节点中,集成设计规则检查器(DRC)常用于布局布线工具中,以实现功耗-性能-面积的快速优化。然而,为满足商用DRC工具标准而实现集成DRC检查器,需大量人工经验来解读代工厂规范、分析版图并迭代调试代码。这一劳动密集型流程随工艺节点更新反复进行,显著延长电路设计周期。本文提出DRC-Coder,一个具备视觉能力的多智能体框架,用于自动化DRC代码生成。通过融合视觉语言模型与大语言模型(LLM),DRC-Coder能有效处理文本、视觉及版图信息,由两个专用LLM完成规则解析与编码。我们还设计了自评估函数,使LLM可自主调试代码。实验结果表明,在面向先进标准单元布局工具的子3纳米技术节点上,DRC-Coder生成的DRC代码达到1.000的完美F1分数,显著优于标准提示方法(F1=0.631)。平均每个设计规则生成时间仅需四分钟,大幅加速技术演进并降低工程成本。

原文摘要 · Abstract (English)

In the advanced technology nodes, the integrated design rule checker (DRC) is often utilized in place and route tools for fast optimization loops for power-performance-area. Implementing integrated DRC checkers to meet the standard of commercial DRC tools demands extensive human expertise to interpret foundry specifications, analyze layouts, and debug code iteratively. However, this labor-intensive process, requiring to be repeated by every update of technology nodes, prolongs the turnaround time of designing circuits. In this paper, we present DRC-Coder, a multi-agent framework with vision capabilities for automated DRC code generation. By incorporating vision language models and large language models (LLM), DRC-Coder can effectively process textual, visual, and layout information to perform rule interpretation and coding by two specialized LLMs. We also design an auto-evaluation function for LLMs to enable DRC code debugging. Experimental results show that targeting on a sub-3nm technology node for a state-of-the-art standard cell layout tool, DRC-Coder achieves perfect F1 score 1.000 in generating DRC codes for meeting the standard of a commercial DRC tool, highly outperforming standard prompting techniques (F1=0.631). DRC-Coder can generate code for each design rule within four minutes on average, which significantly accelerates technology advancement and reduces engineering costs.

芯片设计AI生成自动化

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