arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.17732cs.ARcs.AIcs.SE
收藏

FuzzWiz -- 用于高效硬件覆盖的模糊测试框架

FuzzWiz -- Fuzzing Framework for Efficient Hardware Coverage

1 Infineon Technologies Dresden GmbH \& Co. KG, Germany 2 Infineon Technologies AG, Germany

Deepak Narayan Gadde, Aman Kumar, Djones Lettnin, Sebastian Simon

AI总结:

FuzzWiz通过自动化模糊测试框架提高硬件验证效率,实现快速覆盖目标。

摘要:

随着系统级芯片(SoC)设计复杂性不断增加,验证挑战显著加剧。与软件不同,硬件设计中的错误是顽固且永恒的,一旦硬件制造完成,无法通过任何补丁进行修复。尽管模糊测试是验证中的一种强大技术,但在预硅设计阶段,动态随机方法无法为复杂的寄存器传输级(RTL)设计提供信心。特别是,实现覆盖目标并暴露错误是一项具有挑战性的任务,尤其是在使用随机模拟时。在本文中,我们利用软件世界中已有的测试解决方案——模糊测试,并将其应用于硬件验证,以快速实现覆盖目标。我们使用元模型和Python创建了一个自动化硬件模糊测试框架FuzzWiz,以更快地实现覆盖目标。它包括解析RTL设计模块,将其转换为C/C++模型,创建带有断言的通用测试平台,特定于模糊测试的编译、链接和模糊测试。此外,它具有可配置性,并在模糊测试过程中检测到任何崩溃时提供调试流程。所提出的框架应用于Google OpenTitan芯片的四个IP块,并使用各种模糊测试引擎进行测试,以展示其可扩展性和兼容性。我们的基准测试结果表明,我们能够以传统模拟回归方法的速度加快10倍,实现约90%的覆盖。

英文摘要:

Ever-increasing design complexity of System-on-Chips (SoCs) led to significant verification challenges. Unlike software, bugs in hardware design are vigorous and eternal i.e., once the hardware is fabricated, it cannot be repaired with any patch. Despite being one of the powerful techniques used in verification, the dynamic random approach cannot give confidence to complex Register Transfer Leve (RTL) designs during the pre-silicon design phase. In particular, achieving coverage targets and exposing bugs is a complicated task with random simulations. In this paper, we leverage an existing testing solution available in the software world known as fuzzing and apply it to hardware verification in order to achieve coverage targets in quick time. We created an automated hardware fuzzing framework FuzzWiz using metamodeling and Python to achieve coverage goals faster. It includes parsing the RTL design module, converting it into C/C++ models, creating generic testbench with assertions, fuzzer-specific compilation, linking, and fuzzing. Furthermore, it is configurable and provides the debug flow if any crash is detected during the fuzzing process. The proposed framework is applied on four IP blocks from Google's OpenTitan chip with various fuzzing engines to show its scalability and compatibility. Our benchmarking results show that we could achieve around 90% of the coverage 10 times faster than traditional simulation regression based approach.

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

↑