arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.00352cs.SEcs.AIcs.ET
收藏

一种面向SVRF代码合成的AST引导大语言模型方法

An AST-guided LLM Approach for SVRF Code Synthesis

Calibre Yield Enhancement Services(Calibre 良率增强服务);Siemens EDA(西门子 EDA);Calibre Research & Development(Calibre 研究与开发);Calibre Product Management(Calibre 产品管理)

Abanoub E. Abdelmalak, Mohamed A. Elsayed, David Abercrombie, Ilhami Torunoglu

AI总结:

本文提出一种结合AST嵌入与RAG的SVRF代码合成方法,通过结构验证和领域知识增强,在740个DRC规则基准上将代码生成准确率提升最高40%。

摘要:

标准验证规则格式(SVRF)对于设计规则检查(DRC)、版图与原理图一致性检查(LVS)以及光学邻近效应校正(OPC)等半导体应用至关重要。随着先进工艺节点产生日益复杂的设计规则,传统SVRF开发方式变得低效,并暴露出明显的专业知识缺口。本文提出一种新颖的方法,将抽象语法树(AST)嵌入与检索增强生成(RAG)相结合,以增强SVRF代码合成能力,通过结合领域特定知识进行结构验证,确保语义准确性并最小化错误,从而实现精确的代码生成。我们评估了不同的基于T5的模型,并提出了一种创新的SVRF专用评分框架,该框架对BLEU和ROUGE-L等标准指标形成补充。在我们的方法中,AST提供严格的结构验证,而RAG注入相关领域知识,从而有效增强代码生成工作流。在包含740个DRC规则实现的综合基准上进行的测试表明,与基础的基于文本的微调过程相比,我们的方法在代码生成准确率上实现了最高40%的提升。这种行业专业知识与先进编码策略的融合,不仅在有限数据集约束下优化了SVRF开发,还创造了更直观、更高效的编码环境。因此,用户可以快速迭代设计周期,减少手动纠错,并显著提高整体生产力。

英文摘要:

Standard Verification Rule Format (SVRF) is essential for semiconductor applications like Design Rule Check (DRC), Layout Versus Schematic (LVS), and Optical Proximity Correction (OPC) and it faces challenges as advancing nodes create complex design rules that renders traditional SVRF development ineffective and highlight an expertise gap. This paper introduces a novel methodology integrating Abstract Syntax Tree (AST) embedding and Retrieval-Augmented Generation (RAG) for enhanced SVRF code synthesis, ensuring semantic accuracy and error minimization through structural validation with domain-specific insights for precise code generation. We evaluate different T5-based models and propose an innovative SVRF-specific scoring framework that complements standard metrics like BLEU and ROUGE-L. In our approach, AST provides rigorous structural validation, while RAG infuses relevant domain knowledge, effectively enhancing the code generation workflow. Testing on a comprehensive benchmark of 740 DRC rule implementations, our methodology demonstrates up to a 40\% improvement in code generation accuracy compared to basic text-based fine-tuning process. This fusion of industry expertise with advanced coding strategies not only optimizes SVRF development under limited dataset constraints but also creates a more intuitive and efficient coding environment. Consequently, users can rapidly iterate through design cycles, reduce manual error correction, and significantly improve overall productivity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑