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

一种面向FPGA仿真调试器工具的新型交互引导差分测试方法

A Novel Interactive-Guided Differential Testing Approach for FPGA Simulation Debugger Tools

Shikai Guo, Xiaoyu Wang, Xiaochen Li, Zhihao Xu, He Jiang

AI总结:

提出名为DB-Hunter的交互式差分测试方法,通过RTL设计和调试动作转换生成复杂测试用例,有效检测Vivado FPGA调试器工具中的错误,三个月内报告18个问题并获官方确认与修复。

摘要:

现场可编程门阵列(FPGA)开发工具链广泛应用于通信、汽车电子和航空航天等关键领域的FPGA设计、仿真和验证。商业FPGA工具链如Xilinx的Vivado通过强大的内置调试器帮助开发者快速识别和修复FPGA设计中的错误和问题,确保FPGA设计的正确性和开发效率。通过测试来强化此类FPGA芯片调试器工具至关重要,因为工程师可能会误读代码并引入错误的修复,从而导致安全风险。然而,FPGA芯片调试器工具具有测试挑战性,因为它们需要同时评估RTL设计和一系列调试动作,包括设置断点和单步执行代码。为了解决这个问题,我们提出了一种名为DB-Hunter的交互式差分测试方法,用于检测Vivado的FPGA芯片调试器工具中的错误。具体而言,DB-Hunter包含三个组件:RTL设计转换组件、调试动作转换组件和交互式差分测试组件。通过执行RTL设计和调试动作转换,DB-Hunter生成多样且复杂的RTL设计和调试动作,利用交互式差分测试彻底测试Vivado调试器以检测错误。在三个月内,DB-Hunter报告了18个问题,其中10个被Xilinx Support确认为错误,6个错误已在最新版本中被修复。

英文摘要:

Field-Programmable Gate Array (FPGA) development tool chains are widely used in FPGA design, simulation, and verification in critical areas like communications, automotive electronics, and aerospace. Commercial FPGA tool chains such as Xilinx' Vivado aids developers in swiftly identifying and rectifying bugs and issues in FPGA designs through a robust built-in debugger, ensuring the correctness and development efficiency of the FPGA design. Hardening such FPGA chip debugger tools by testing is crucial since engineers might misinterpret code and introduce incorrect fixes, leading to security risks. However, FPGA chip debugger tools are challenging to test as they require assessing both RTL designs and a series of debugging actions, including setting breakpoints and stepping through the code. To address this issue, we propose a interactive differential testing approach called DB-Hunter to detect bugs in Vivado's FPGA chip debugger tools. Specifically, DB-Hunter consists of three components: RTL design transformation component, debug action transformation component, and interactive differential testing component. By performing RTL design and debug action transformations, DB-Hunter generates diverse and complex RTL designs and debug actions, to thoroughly test the Vivado debugger using interactive differential testing to detect bugs. In three months, DB-Hunter reported 18 issues, including 10 confirmed as bugs by Xilinx Support, 6 bugs had been fixed in last version.

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

↑