当前位置:首页 > 报告详情

AssertLLM:通过多 LLM 从设计规范生成硬件验证断言.pdf

上传人: 芦苇 编号:651765 2025-05-01 25页 1.36MB

1、1AssertLLM:Generating Hardware Verification Assertions from Design Specifications via Multi-LLMs Zhiyuan Yan1*,Wenji Fang2*,Mengming Li2,Min Li3,Shang Liu2,Zhiyao Xie2,Hongce Zhang11Hong Kong University of Science and Technology(Guangzhou)2Hong Kong University of Science and Technology 3Huawei Techn

2、ologies Co.,Ltd Functional Verification Check if implementation complies with specification2RTL for hardware designassert property(ready=#3:5 valid#1 finish);SystemVerilog Assertion Implementation(RTL)Hardware description language(HDL)Specification(Assertion)Ad-hoc properties Security propertiesFunc

3、tional Verification Simulation30101101010111010101010011111Test vectorSimulationSimulation results10101101010111010101010011114Hardware Formal Verification RTL complies with predefined assertions?Behavioral Model(RTL)Property(e.g.,SystemVerilog Assertions)Model Checkingreq|-#1:4 respResult a counter

4、example,or a proofAssertion for Verification System Verilog Assertion(SVA)Need understanding of System Verilog syntax Verification techniques Hardware design5 Account for Completeness Coverageassert property(ready=#3:5 valid#1 finish);SystemVerilog AssertionAutomatic Assertion Generation Dynamic min

5、ing Simulation traces+design constraint analysis No golden reference,rely on RTL designs under verification(DUT)Static analysis of specifications Predefined templates Still need a few human efforts ML-based methods Traditional natural language processing(NLP)Large language model(LLM)6Previous ML-bas

6、ed Assertion Generation LLM-based1 Human-written specification sentences(from comments)No golden reference NLP-based2 Human-extracted specification sentences Hard to generalize across distinct grammar Waveform diagrams in specification are ignored Can we directly generate assertions from SPEC?71.Kan

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文介绍了一种名为AssertLLM的方法,该方法能够从硬件设计规范中生成硬件验证断言。该方法结合了三种大型语言模型(LLM):自然语言分析器、波形分析和系统Verilog生成器。首先,自然语言分析器从完整的规范文档中提取信号名称和描述。然后,波形分析器从波形图中提取描述。最后,系统Verilog生成器使用这些提取的信息生成系统Verilog断言。实验结果显示,AssertLLM生成的断言在语法和功能上大多数是正确的,并且覆盖了设计的关键部分。
"如何通过多LLM生成硬件验证断言?" " AssertLLM: 从完整设计规范生成断言的有效性如何?" "如何利用自然语言处理生成系统Verilog断言?"
客服
商务合作
小程序
服务号
折叠