Back to Search
Start Over
VerilogReader: LLM-Aided Hardware Test Generation
- Publication Year :
- 2024
-
Abstract
- Test generation has been a critical and labor-intensive process in hardware design verification. Recently, the emergence of Large Language Model (LLM) with their advanced understanding and inference capabilities, has introduced a novel approach. In this work, we investigate the integration of LLM into the Coverage Directed Test Generation (CDG) process, where the LLM functions as a Verilog Reader. It accurately grasps the code logic, thereby generating stimuli that can reach unexplored code branches. We compare our framework with random testing, using our self-designed Verilog benchmark suite. Experiments demonstrate that our framework outperforms random testing on designs within the LLM's comprehension scope. Our work also proposes prompt engineering optimizations to augment LLM's understanding scope and accuracy.
Details
- Database :
- arXiv
- Publication Type :
- Report
- Accession number :
- edsarx.2406.04373
- Document Type :
- Working Paper