VerilogReader: LLM-Aided Hardware Test Generation. Ma, R., Yang, Y., Liu, Z., Zhang, J., Li, M., Huang, J., & Luo, G. In 2024 IEEE LLM Aided Design Workshop (LAD), pages 1–5, June, 2024.
Paper doi abstract bibtex 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.
@inproceedings{ma_verilogreader_2024,
title = {{VerilogReader}: {LLM}-{Aided} {Hardware} {Test} {Generation}},
shorttitle = {{VerilogReader}},
url = {https://ieeexplore.ieee.org/document/10691801},
doi = {10.1109/LAD62341.2024.10691801},
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.},
urldate = {2025-06-10},
booktitle = {2024 {IEEE} {LLM} {Aided} {Design} {Workshop} ({LAD})},
author = {Ma, Ruiyang and Yang, Yuxin and Liu, Ziqian and Zhang, Jiaxi and Li, Min and Huang, Junhua and Luo, Guojie},
month = jun,
year = {2024},
keywords = {\#nosource, Automatic Test Generation, Benchmark testing, Codes, Conferences, Hardware, Hardware design languages, LLM, Large language models, Logic, Optimization, Prompt engineering, Test pattern generators, Verilog},
pages = {1--5},
}
Downloads: 0
{"_id":"ZNzsqSHEWiTZoE3Ap","bibbaseid":"ma-yang-liu-zhang-li-huang-luo-verilogreaderllmaidedhardwaretestgeneration-2024","author_short":["Ma, R.","Yang, Y.","Liu, Z.","Zhang, J.","Li, M.","Huang, J.","Luo, G."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"VerilogReader: LLM-Aided Hardware Test Generation","shorttitle":"VerilogReader","url":"https://ieeexplore.ieee.org/document/10691801","doi":"10.1109/LAD62341.2024.10691801","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.","urldate":"2025-06-10","booktitle":"2024 IEEE LLM Aided Design Workshop (LAD)","author":[{"propositions":[],"lastnames":["Ma"],"firstnames":["Ruiyang"],"suffixes":[]},{"propositions":[],"lastnames":["Yang"],"firstnames":["Yuxin"],"suffixes":[]},{"propositions":[],"lastnames":["Liu"],"firstnames":["Ziqian"],"suffixes":[]},{"propositions":[],"lastnames":["Zhang"],"firstnames":["Jiaxi"],"suffixes":[]},{"propositions":[],"lastnames":["Li"],"firstnames":["Min"],"suffixes":[]},{"propositions":[],"lastnames":["Huang"],"firstnames":["Junhua"],"suffixes":[]},{"propositions":[],"lastnames":["Luo"],"firstnames":["Guojie"],"suffixes":[]}],"month":"June","year":"2024","keywords":"#nosource, Automatic Test Generation, Benchmark testing, Codes, Conferences, Hardware, Hardware design languages, LLM, Large language models, Logic, Optimization, Prompt engineering, Test pattern generators, Verilog","pages":"1–5","bibtex":"@inproceedings{ma_verilogreader_2024,\n\ttitle = {{VerilogReader}: {LLM}-{Aided} {Hardware} {Test} {Generation}},\n\tshorttitle = {{VerilogReader}},\n\turl = {https://ieeexplore.ieee.org/document/10691801},\n\tdoi = {10.1109/LAD62341.2024.10691801},\n\tabstract = {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.},\n\turldate = {2025-06-10},\n\tbooktitle = {2024 {IEEE} {LLM} {Aided} {Design} {Workshop} ({LAD})},\n\tauthor = {Ma, Ruiyang and Yang, Yuxin and Liu, Ziqian and Zhang, Jiaxi and Li, Min and Huang, Junhua and Luo, Guojie},\n\tmonth = jun,\n\tyear = {2024},\n\tkeywords = {\\#nosource, Automatic Test Generation, Benchmark testing, Codes, Conferences, Hardware, Hardware design languages, LLM, Large language models, Logic, Optimization, Prompt engineering, Test pattern generators, Verilog},\n\tpages = {1--5},\n}\n\n\n\n","author_short":["Ma, R.","Yang, Y.","Liu, Z.","Zhang, J.","Li, M.","Huang, J.","Luo, G."],"key":"ma_verilogreader_2024","id":"ma_verilogreader_2024","bibbaseid":"ma-yang-liu-zhang-li-huang-luo-verilogreaderllmaidedhardwaretestgeneration-2024","role":"author","urls":{"Paper":"https://ieeexplore.ieee.org/document/10691801"},"keyword":["#nosource","Automatic Test Generation","Benchmark testing","Codes","Conferences","Hardware","Hardware design languages","LLM","Large language models","Logic","Optimization","Prompt engineering","Test pattern generators","Verilog"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/bxt101","dataSources":["Wsv2bQ4jPuc7qme8R"],"keywords":["#nosource","automatic test generation","benchmark testing","codes","conferences","hardware","hardware design languages","llm","large language models","logic","optimization","prompt engineering","test pattern generators","verilog"],"search_terms":["verilogreader","llm","aided","hardware","test","generation","ma","yang","liu","zhang","li","huang","luo"],"title":"VerilogReader: LLM-Aided Hardware Test Generation","year":2024}