AssertionBench
收藏资源简介:
AssertionBench数据集由伊利诺伊大学芝加哥分校的研究团队创建,包含100个精心挑选的Verilog硬件设计,每个设计都附有通过GOLDMINE和HARM生成的正式验证的断言。数据集大小适中,涵盖了多种硬件设计类型,如UART协议的接收器和发送器、编码器、解码器及浮点运算单元中的算术操作等。创建过程中,研究团队利用了深度学习模型和大型语言模型进行断言生成,并通过正式验证确保断言的准确性。该数据集主要应用于硬件设计的验证领域,旨在通过量化评估大型语言模型在断言生成任务中的表现,推动硬件设计验证技术的发展。
The AssertionBench dataset was created by a research team from the University of Illinois at Chicago, containing 100 meticulously selected Verilog hardware designs, each accompanied by formal assertions generated through the GOLDMINE and HARM tools. The dataset is of moderate size and covers a variety of hardware design types, such as UART protocol receivers and transmitters, encoders, decoders, and arithmetic operations within floating-point units. During its creation, the research team utilized deep learning models and large language models for assertion generation, ensuring the accuracy of the assertions through formal verification. This dataset is primarily applied in the field of hardware design verification, aiming to quantify the performance of large language models in the assertion generation task, and to promote the development of hardware design verification technology.
AssertionBench 数据集概述
数据集描述
- 目的:评估大型语言模型(LLM)在硬件设计断言生成中的有效性和适用性。
- 内容:包含100个来自OpenCores的Verilog硬件设计,每个设计均配有由GOLD MINE和HARM生成的正式验证断言。
- 应用:用于比较GPT-3.5、GPT-4o、CodeLLaMa 2和LLaMa3-70B等LLM在生成功能正确断言方面的表现。
数据集组成
- 硬件设计:100个Verilog设计文件。
- 断言来源:GOLD MINE和HARM工具生成的正式验证断言。
- 模型响应:包含GPT-3.5、GPT-4、LLaMA3-70B和CodeLLaMa2-70B的1-shot和5-shot学习响应,以JSON格式保存。
软件工具
- IVerilog:用于编译和运行Verilog HDL设计的编译器。
- GOLD MINE:用于从Verilog HDL设计中挖掘断言的工具。
- HARM:基于提示的断言挖掘工具,用于从.vcd文件中生成断言。
- JasperGold:用于正式功能验证的软件,验证生成的断言。
评估框架
- 评估方法:使用1-shot和5-shot学习比较不同LLM的表现。
- 参数设置:
max_new_tokens = 1024; temperature = 1.0; seed = 50;。 - 错误修正:使用GPT-3.5修正语法错误。
相关出版物
- 标题:AssertionBench: A Benchmark to Evaluate Large-Language Models for Assertion Generation
- 作者:Vaishnavi Pulavarthi, Deeksha Nandal, Soham Dan, Debjit Pal
- 状态:已被NAACL 2025接受。
- 链接:https://arxiv.org/pdf/2406.18627

- 1AssertionBench: A Benchmark to Evaluate Large-Language Models for Assertion Generation伊利诺伊大学芝加哥分校 · 2024年



