arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.21570cs.ARcs.AIcs.SE
收藏

硬件设计中LLM驱动的功能覆盖率闭合的独立数据完整性验证

Independent Data-Integrity Verification for LLM-Driven Functional Coverage Closure in Hardware Design

Portland State University(波特兰州立大学)

Venkata Krishna Kumar Vedantam

AI总结:

本文提出一种独立数据完整性验证方法,将其应用于LLM驱动的硬件设计功能覆盖率闭合,在三种RTL设计上实现100%覆盖率,还发现了时钟域交叉漏洞,同时指出了证据的局限性。

摘要:

大语言模型(LLM)智能体可生成定向测试以实现功能覆盖率闭合,但覆盖率仅表明某一状态被触及,无法证明路径上的数据正确,这是验证领域的已知问题,本文不将其作为新贡献。本文描述了一种小型覆盖率闭合智能体,将其应用于LLM循环:覆盖率从仿真导出的报告(cocotb-coverage YAML)中读取,绝不取自模型的记录;数据完整性由独立于模型的记分板检查。在三种架构不同的RTL设计(异步FIFO、UART发送器、AHB2APB桥)上,该智能体在8次迭代预算内,每次记录的运行中均将覆盖率从91.7%、88.9%、67.4%提升至100%,使用的是一种与设计无关的智能体。附加在FIFO基础测试台上的反应式记分板监视器还在作者自身的激励代码中发现了一个时钟域交叉漏洞。该监视器尚未附加到LLM生成的测试,因此其数据完整性未被独立检查;针对单个FIFO测试的一次手动检查被作为初步结果报告。本文列出了该证据的局限性:仅三种设计、无基线、无消融实验、记录的运行来自多个智能体检查点。

英文摘要:

LLM agents can write directed tests that close functional coverage, but coverage only shows that a state was reached, not that the data on the way there was correct. This is a long-known point in verification and we do not claim it as new. We describe a small coverage-closure agent that applies it to an LLM loop: coverage is read from the report that the simulation itself exports (cocotb-coverage YAML) and never taken from the model's account, and data integrity is checked by scoreboards that are separate from the model. On three architecturally distinct RTL designs (an asynchronous FIFO, a UART transmitter and an AHB2APB bridge) the agent raised coverage from 91.7%, 88.9% and 67.4% to 100% within its 8-iteration budget in every logged run, using one design-agnostic agent. A reactive scoreboard monitor attached to the FIFO's base testbench also found a clock-domain-crossing bug in the author's own stimulus code. The monitor is not yet attached to the LLM-generated tests, so their data integrity is not independently checked; one manual check on a single FIFO test is reported as preliminary. We list the weaknesses of this evidence: three designs, no baseline, no ablation, and logged runs that come from several agent checkpoints.

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

↑