The bibliographic entry was discovered and compiled by a machine, and published without a person checking it against the publication. The publication itself is the authors' own work — this badge says nothing about it.
Structural Mutation Based Differential Testing for FPGA Logic Synthesis Compilers
Field Programmable Gate Arrays (FPGAs) play a crucial role in Electronic Design Automation (EDA) applications, which have been widely used in safety-critical environments, including aerospace, chip manufacturing, and medical devices. A critical stage in FPGA development is logic synthesis, which enables developers to translate their software designs into hardware net lists. Logic synthesis compilers can facilitate the physical implementation of the chip and ensure the software designs efficiently mapped onto standard FPGA primitives. However, bugs in FPGA logic synthesis compilers may lead to unexpected behaviors in target hardware net lists, which may cause potential security risks. Therefore, it is critical to detect and repair such bugs in FPGA logic synthesis compilers. Existing methods mainly focus on automatic fuzz testing for FPGA logic synthesis compilers. But they are limited by the redundancy and uniformity of generated test case which caused the low efficiency in FPGA logic synthesis compiler testing. To address this challenge, we propose a mutation-based method integrate with the Bayesian optimization to detect bugs in FPGA logic synthesis compilers. The method called SmootHDL, consists with three key components, the Test-program Generation Component (TPG), the Bayesian Diversity Selection Component (BDS), and the Equivalent Test Check Component (ETC). SmootHDL imitates from a set of test cases which are called original test cases. To diversify the logic of original test cases, the TPG use a control-flow mutation strategy to generate new test cases which is functional equivalent with the original test cases. Furthermore, for removing the redundancy of generated test cases, the BDS combine the Bayesian optimizer to construct a selector based on the control-flow diversity. Finally, the ETC compares the original test cases and generated test cases. Theoretically, functional equivalent test case should have same output. If there are any disagree, SmootHDL will report and reproduce it. We evaluated our method on the mainstream FPGA logic synthesis compilers. Experiments show that SmootHDL can generate more diverse test cases and detect more bugs compared with the latest testing methods for FPGA logic synthesis compilers. Over three months, SmootHDL found 16 bugs, 12 of which were confirmed by official technical support, and 6 have already been fixed.
A copy is held
pdf, 1.4 MB. Not published — it may be under
copyright. The facts and links here are.
@misc{xu2025structural,
title = {Structural Mutation Based Differential Testing for FPGA Logic Synthesis Compilers},
author = {Zhihao Xu and Shikai Guo and Guilin Zhao and Siwen Wang and Qian Ma and Hui Li and Furui Zhan},
year = {2025},
}