ISAAC:借助LLM辅助的FPGA并行性实现智能、可扩展、敏捷且加速的CPU验证
ISAAC: Intelligent, Scalable, Agile, and Accelerated CPU Verification via LLM-aided FPGA Parallelism
AI总结:
ISAAC提出一个LLM辅助的全栈CPU验证框架,前端用多智能体激励引擎结合微架构知识生成高针对性测试,后端通过前向快照和解耦协同仿真实现单ISS并行驱动多DUT,在成熟CPU上验证取得最高17,536倍加速并发现多个未知缺陷。
摘要:
功能验证是集成电路开发中的关键瓶颈,其中CPU验证尤为耗时且耗费人力。工业实践依赖差分测试进行CPU验证,但在框架流水线的几乎每个阶段都面临瓶颈:前端激励生成缺乏微架构感知,产生低质量和冗余的测试,阻碍覆盖率收敛并遗漏边界情况。与此同时,后端仿真基础设施即使采用FPGA加速,也常常在长时间运行的测试上停滞不前,且可见性有限,延迟反馈并延长调试周期。在此,我们提出ISAAC,一个全栈式、由大语言模型(LLM)辅助并具备FPGA并行性的CPU验证框架,覆盖从缺陷分类、激励生成到仿真基础设施的完整流程。为此,我们在ISAAC的前端提出了一个多智能体激励引擎,注入微架构知识和历史缺陷模式,生成高度针对性的测试,从而快速达成覆盖率目标并捕获难以捉摸的边界情况。在ISAAC的后端,我们引入了一种轻量级前向快照机制以及指令集模拟器(ISS)与待测设计(DUT)之间的解耦协同仿真架构,使单个ISS能够并行驱动多个DUT。通过消除长尾测试瓶颈并利用FPGA并行性,仿真吞吐量得到显著提升。作为演示,我们使用ISAAC验证了一款已经历多次成功流片的成熟CPU。结果表明,相较于软件RTL仿真,最高实现了17,536倍的加速,同时检测到多个此前未知的缺陷,其中两个在本文中予以报告。
英文摘要:
Functional verification is a critical bottleneck in integrated circuit development, with CPU verification being especially time-intensive and labour-consuming. Industrial practice relies on differential testing for CPU verification, yet faces bottlenecks at nearly each stage of the framework pipeline: front-end stimulus generation lacks micro-architectural awareness, yielding low-quality and redundant tests that impede coverage closure and miss corner cases. Meanwhile, back-end simulation infrastructure, even with FPGA acceleration, often stalls on long-running tests and offers limited visibility, delaying feedback and prolonging the debugging cycle. Here, we present ISAAC, a full-stack, Large Language Model (LLM)-aided CPU verification framework with FPGA parallelism, from bug categorisation and stimulus generation to simulation infrastructure. To do so, we presented a multi-agent stimulus engine in ISAAC's front-end, infused with micro-architectural knowledge and historical bug patterns, generating highly targeted tests that rapidly achieve coverage goals and capture elusive corner cases. In ISAAC's back-end, we introduce a lightweight forward-snapshot mechanism and a decoupled co-simulation architecture between the Instruction Set Simulator (ISS) and the Design Under Test (DUT), enabling a single ISS to drive multiple DUTs in parallel. By eliminating long-tail test bottlenecks and exploiting FPGA parallelism, the simulation throughput is significantly improved. As a demonstration, we used ISAAC to verify a mature CPU that has undergone multiple successful tape-outs. Results show up to 17,536x speed-up over software RTL simulation, while detecting several previously unknown bugs, two of which are reported in this paper.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。