• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2023, Vol. 45 ›› Issue (12): 2146-2154.

• Software Engineering • Previous Articles     Next Articles

A Verilog code verification method based on C program analysis and verification techniques

DENG Xi,FAN Guang-sheng,CHEN Li-qian,LI Tun,WANG Ji   

  1. (College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China) 
  • Received:2023-03-06 Revised:2023-06-05 Accepted:2023-12-25 Online:2023-12-25 Published:2023-12-14

Abstract: Traditional hardware verification methods synthesize RTL designs into gate-level netlists and use SAT solvers for verification, without effectively leveraging their word-level structure, resulting in the inability to verify some properties. In recent years, software analysis and verification techniques and SMT solving technology have made significant progress. To migrate the latest software analysis and verification techniques to hardware verification, a Verilog code verification method based on C program analysis and verification technology is proposed. First, a Verilog-to-C translation system based on integrated semantics is designed, and then typical techniques and tools in the current software analysis and verification field are used to analyze and verify the converted C program, in order to determine whether the original Verilog code satisfies the property assertion. Experimental results demonstrate the feasibility and effectiveness of migrating C program analysis and verification techniques to Verilog code verification.

Key words: software analysis and verification, hardware verification, synthesis semantics, program transformation