AutoBench: Automatic Testbench Generation and Evaluation Using LLMs for HDL Design. Qiu, R., Zhang, G. L., Drechsler, R., Schlichtmann, U., & Li, B. In Proceedings of the 2024 ACM/IEEE International Symposium on Machine Learning for CAD, of MLCAD '24, pages 1–10, New York, NY, USA, September, 2024. Association for Computing Machinery.
AutoBench: Automatic Testbench Generation and Evaluation Using LLMs for HDL Design [link]Paper  doi  abstract   bibtex   
In digital circuit design, testbenches (TBs) constitute the cornerstone of simulation-based hardware verification. Traditional methodologies for testbench generation during simulation-based hardware verification still remain partially manual, resulting in inefficiencies in te sting various sc enarios an d re quiring expensive time from designers. Large Language Models (LLMs) have demonstrated their potential in automating the circuit design flow. However, directly applying LLMs to generate testbenches suffers from a low pass rate. To address this challenge, we introduce Auto-Bench, the first LLM-based testbench generator for digital circuit design, which requires only the description of the design under test (DUT) to automatically generate comprehensive testbenches. In AutoBench, a hybrid testbench structure and a self-checking system are realized using LLMs. To validate the generated test-benches, we also introduce an automated testbench evaluation framework to evaluate the quality of generated testbenches from multiple perspectives. Experimental results demonstrate that Auto-Bench achieves a 57% improvement in the testbench pass@l ratio compared with the baseline that directly generates testbenches using LLMs. For 75 sequential circuits, AutoBench successfully has a 3.36 times testbench pass@l ratio compared with the baseline. The source codes and experimental results are open-sourced at this link: https://github.com/AutoBench/AutoBench. Artifact DOI: 10.5281/zenodo.13325723.
@inproceedings{qiu_autobench_2024,
	address = {New York, NY, USA},
	series = {{MLCAD} '24},
	title = {{AutoBench}: {Automatic} {Testbench} {Generation} and {Evaluation} {Using} {LLMs} for {HDL} {Design}},
	isbn = {979-8-4007-0699-8},
	shorttitle = {{AutoBench}},
	url = {https://dl.acm.org/doi/10.1145/3670474.3685956},
	doi = {10.1145/3670474.3685956},
	abstract = {In digital circuit design, testbenches (TBs) constitute the cornerstone of simulation-based hardware verification. Traditional methodologies for testbench generation during simulation-based hardware verification still remain partially manual, resulting in inefficiencies in te sting various sc enarios an d re quiring expensive time from designers. Large Language Models (LLMs) have demonstrated their potential in automating the circuit design flow. However, directly applying LLMs to generate testbenches suffers from a low pass rate. To address this challenge, we introduce Auto-Bench, the first LLM-based testbench generator for digital circuit design, which requires only the description of the design under test (DUT) to automatically generate comprehensive testbenches. In AutoBench, a hybrid testbench structure and a self-checking system are realized using LLMs. To validate the generated test-benches, we also introduce an automated testbench evaluation framework to evaluate the quality of generated testbenches from multiple perspectives. Experimental results demonstrate that Auto-Bench achieves a 57\% improvement in the testbench pass@l ratio compared with the baseline that directly generates testbenches using LLMs. For 75 sequential circuits, AutoBench successfully has a 3.36 times testbench pass@l ratio compared with the baseline. The source codes and experimental results are open-sourced at this link: https://github.com/AutoBench/AutoBench. Artifact DOI: 10.5281/zenodo.13325723.},
	urldate = {2025-03-14},
	booktitle = {Proceedings of the 2024 {ACM}/{IEEE} {International} {Symposium} on {Machine} {Learning} for {CAD}},
	publisher = {Association for Computing Machinery},
	author = {Qiu, Ruidi and Zhang, Grace Li and Drechsler, Rolf and Schlichtmann, Ulf and Li, Bing},
	month = sep,
	year = {2024},
	keywords = {\#nosource},
	pages = {1--10},
}

Downloads: 0