arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.13686cs.AR
收藏

Lyra:一种带有生成模型的RISC-V验证框架

Lyra: A Hardware-Accelerated RISC-V Verification Framework with Generative Model-Based Processor Fuzzing

SKLP, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Southern University of Science and Technology(南方科技大学);Shenzhen University of Advanced Technology(深圳先进技术研究院)

Juncheng Huo, Yunfan Gao, Xinxin Liu, Sa Wang, Yungang Bao, Xitong Gao, Kan Shi

AI总结:

Lyra通过结合硬件加速验证与生成模型,提升RISC-V验证的覆盖率和效率,显著降低验证成本和收敛难度。

摘要:

随着处理器设计日益复杂,验证仍然受到缓慢的软件模拟和低质量的随机测试刺激的瓶颈限制。最近的研究将软件模糊器应用于硬件验证,但这些方法依赖于语义盲目的随机突变,可能生成浅层、低质量的刺激,无法探索复杂行为。这些限制导致覆盖收敛缓慢且验证成本极高。在本文中,我们提出了Lyra,一种异构的RISC-V验证框架,通过将硬件加速的验证与指令集架构(ISA)感知的生成模型相结合,同时解决这两个挑战。Lyra在FPGA SoC上同时执行被测设备(DUT)和参考模型,实现高吞吐量的差分检查和硬件级别的覆盖收集。与随机创建验证刺激或通过简单突变不同,我们训练了一个领域专用的生成模型LyraGen,具有内在的语义意识,以生成高质量、语义丰富的指令序列。实验结果表明,Lyra的覆盖度提高了高达1.27倍,比最先进的软件模糊器加速端到端验证高达107倍至3343倍,同时始终显示出较低的收敛难度。

英文摘要:

As processor designs grow more complex, verification remains bottlenecked by slow software simulation and low-quality random test stimuli. Recent research has applied software fuzzers to hardware verification, but these rely on semantically blind random mutations that may generate shallow, low-quality stimuli unable to explore complex behaviors. These limitations result in slow coverage convergence and prohibitively high verification costs. In this paper, we present Lyra, a heterogeneous RISC-V verification framework that addresses both challenges by pairing hardware-accelerated verification with an ISA-aware generative model. Lyra executes the DUT and reference model concurrently on an FPGA SoC, enabling high-throughput differential checking and hardware-level coverage collection. Instead of creating verification stimuli randomly or through simple mutations, we train a domain-specialized generative model, LyraGen, with inherent semantic awareness to generate high-quality, semantically rich instruction sequences. Empirical results show Lyra achieves up to $1.27\times$ higher coverage and accelerates end-to-end verification by up to $107\times$ to $3343\times$ compared to state-of-the-art software fuzzers, while consistently demonstrating lower convergence difficulty.

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

↑