arrow
Return

A Novel HDL Code Generator for Effectively Testing FPGA Logic Synthesis Compilers

delete2025-04-29
delete0
PRE
AI
Z
Zhihao Xu
S
Shikai Guo
G
Guilin Zhao
P
Peiyu Zou
X
Xiaochen Li
H
He Jiang
DOI:10.1109/TCAD.2025.3565488delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Field programmable gate array (FPGA) logic synthesis compilers (e.g., Vivado, Iverilog, Yosys, and Quartus) are widely applied in electronic design automation (EDA), such as the development of FPGA programs. However, defects (e.g., incorrect synthesis) in logic synthesis compilers may lead to unexpected behaviors in target applications, posing security risks. Therefore, it is crucial to thoroughly test logic synthesis compilers to eliminate such defects. Despite several hardware design language (HDL) code generators (e.g., Verismith) having been proposed to find defects in logic synthesis compilers, the effectiveness of these generators is still limited by the simple code generation strategy and the monogeneity of the generated HDL code. This article proposes EvoHDL, a novel method to generate syntax-valid HDL code for comprehensively testing FPGA logic synthesis compilers. EvoHDL can generate more complex and diverse defect-triggering HDL code (e.g., Verilog, VHDL, and SystemVerilog) by leveraging the guidance of abstract syntax tree and the extensive function block libraries of cyber-physical systems. Extensive experiments show that the diversity and defect-triggering capability of HDL code generated by EvoHDL are significantly better than the state-of-the-art method (i.e., Verismith). In three months, EvoHDL has reported 20 new defects-many of which are deep and important; 16 of them have been confirmed.
Keywords:
Defects detection
field programmable gate array (FPGA)
logic synthesis compiler

Journal

I
IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
IF:
2.9
Papers:
586
Citations:
9.6K

Organization

D
Dalian Maritime University
Scholars:
1.2W
Papers: 7.8K
Citations: 6.3K
D
Dalian University of Technology
Scholars:
5.9W
Papers: 4.4W
Citations: 5.5W