中圖分類號:TP311.5 文獻(xiàn)標(biāo)志碼:A DOI: 10.16157/j.issn.0258-7998.257068 中文引用格式: 宋小敬,劉詩宇,蘇明月,等. 基于代碼審查的FPGA黑盒測試方法研究與實踐[J]. 電子技術(shù)應(yīng)用,2026,52(4):54-59. 英文引用格式: Song Xiaojing,Liu Shiyu,Su Mingyue,et al. Research and practice on black-box testing methodology for FPGA software based on code review[J]. Application of Electronic Technique,2026,52(4):54-59.
Research and practice on black-box testing methodology for FPGA software based on code review
Song Xiaojing,Liu Shiyu,Su Mingyue,Li Dongfang
Beijing Institute of Computer Technology and Application
Abstract: In recent years, Field-Programmable Gate Arrays (FPGAs) have been increasingly adopted in critical domains such as high-performance computing, aerospace, and communication systems, with their functionalities becoming ever more vital. As a result, the importance of FPGA software testing has grown significantly. However, insufficient testing of Intellectual Property (IP) cores remains a persistent challenge. This paper proposes a code review-based black-box testing approach that integrates static code analysis with black-box testing to enhance test adequacy. We begin by reviewing the current landscape of FPGA software testing, analyzing the limitations of both dynamic and static analysis techniques, and underscoring the essential role of black-box testing in IP core validation. A black-box testing framework based on code review is then constructed, featuring two core components: rule checking and configuration checking, which aim to identify and resolve potential design issues. Case studies on the missing reset signal in a PLL IP core and impedance mismatch in RS422 interface LVDS primitives demonstrate the practical effectiveness of this method in FPGA testing projects.
Key words : FPGA software testing;black-box testing;code review;IP core validation