{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T21:22:51Z","timestamp":1792185771457,"version":"4.4.0"},"reference-count":55,"publisher":"Association for Computing Machinery (ACM)","issue":"6","funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["92473115 and 92373102"],"award-info":[{"award-number":["92473115 and 92373102"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Des. Autom. Electron. Syst."],"published-print":{"date-parts":[[2025,11,30]]},"abstract":"<jats:p>With the rise of Large Language Models (LLMs), researchers have become increasingly interested in their applications in EDA flows, particularly in specific subdomains such as serving as knowledge assistants and generating RTL code. In this study, we present a Retrieval-Augmented Generation (RAG) framework tailored to EDA task processing, named EDA-Adaptive RAG. This framework addresses the implicit semantics of EDA data and facilitates efficient knowledge acquisition through classification and enhanced retrieval, significantly enhancing LLMs ability to acquire EDA knowledge. Furthermore, we aim to integrate RAG into the design process as an EDA assistant application. Using RTL code generation as a case study, we demonstrate that the performance of RTL code generation can be enhanced through highly relevant retrievals provided by our RAG. The experimental analysis involves EDA Q&amp;A tasks and RTL code generation evaluation. It is shown that our method outperforms the latest works in terms of both answer stability and code quality.<\/jats:p>","DOI":"10.1145\/3715326","type":"journal-article","created":{"date-parts":[[2025,1,27]],"date-time":"2025-01-27T06:52:31Z","timestamp":1737960751000},"page":"1-24","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":11,"title":["EDA-Copilot: A RAG-Powered Intelligent Assistant for EDA Tools"],"prefix":"10.1145","volume":"30","author":[{"ORCID":"https:\/\/orcid.org\/0009-0002-1957-7478","authenticated-orcid":false,"given":"Zhe","family":"Xiao","sequence":"first","affiliation":[{"name":"Hunan University","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3516-3171","authenticated-orcid":false,"given":"Xu","family":"He","sequence":"additional","affiliation":[{"name":"Information science and Engineering, Hunan University","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-8276-2942","authenticated-orcid":false,"given":"Haoying","family":"Wu","sequence":"additional","affiliation":[{"name":"Wuhan University of Technology","place":["Wuhan, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6406-4810","authenticated-orcid":false,"given":"Bei","family":"Yu","sequence":"additional","affiliation":[{"name":"The Chinese University of Hong Kong","place":["Hong Kong, Hong Kong"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9050-0866","authenticated-orcid":false,"given":"Yang","family":"Guo","sequence":"additional","affiliation":[{"name":"National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,10,18]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"Akari Asai Zeqiu Wu Yizhong Wang Avirup Sil and Hannaneh Hajishirzi. 2024. Self-RAG: Learning to retrieve generate and critique through self-reflection. In The 12th International Conference on Learning Representations."},{"key":"e_1_3_1_3_2","unstructured":"Jason Wei Yi Tay Rishi Bommasani Colin Raffel Barret Zoph Sebastian Borgeaud Dani Yogatama Maarten Bosma Denny Zhou Donald Metzler et\u00a0al. 2022. Emergent abilities of large language models. arXiv preprint arXiv:2206.07682 (2022)."},{"key":"e_1_3_1_4_2","unstructured":"Tom Brown Benjamin Mann Nick Ryder Melanie Subbiah Jared D. Kaplan Prafulla Dhariwal Arvind Neelakantan Pranav Shyam Girish Sastry Amanda Askell et\u00a0al. 2020. Language models are few-shot learners. Advances in Neural Information Processing Systems 33 (2020) 1877\u20131901."},{"key":"e_1_3_1_5_2","doi-asserted-by":"crossref","unstructured":"Jianlyu Chen Shitao Xiao Peitian Zhang Kun Luo Defu Lian and Zheng Liu. 2024. M3-Embedding: Multi-Linguality Multi-Functionality Multi-Granularity text embeddings through self-knowledge distillation. In Findings of the Association for Computational Linguistics: ACL 2024. Association for Computational Linguistics 2318\u20132335.","DOI":"10.18653\/v1\/2024.findings-acl.137"},{"key":"e_1_3_1_6_2","unstructured":"Daya Guo Qihao Zhu Dejian Yang Zhenda Xie Kai Dong Wentao Zhang Guanting Chen Xiao Bi Yu Wu Y. K. Li et\u00a0al. 2024. DeepSeek-Coder: When the Large Language Model Meets Programming - The Rise of Code Intelligence. ArXiv abs\/2401.14196 (2024)."},{"key":"e_1_3_1_7_2","unstructured":"Edward J. Hu Yelong Shen Phillip Wallis Zeyuan Allen-Zhu Yuanzhi Li Shean Wang Lu Wang and Weizhu Chen. 2022. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations."},{"key":"e_1_3_1_8_2","unstructured":"Timothy R. Edwards. 2024. Magic VLSI layout tool. Retrieved from https:\/\/github.com\/RTimothyEdwards\/magic"},{"key":"e_1_3_1_9_2","unstructured":"Timothy R. Edwards. 2024. Qflow: Full end-to-end digital synthesis flow for ASIC designs. Retrieved from https:\/\/github.com\/RTimothyEdwards\/qflow"},{"key":"e_1_3_1_10_2","unstructured":"Enrique Dehaerne Bappaditya Dey Sandip Halder and Stefan De Gendt. 2023. A Deep Learning Framework for Verilog Autocompletion Towards Design and Verification Automation. arxiv:2304.13840."},{"key":"e_1_3_1_11_2","first-page":"1","volume-title":"Asian Hardware Oriented Security and Trust Symposium (AsianHOST\u201923)","year":"2023","unstructured":"Weimin Fu, Kaichen Yang, Raj Gautam Dutta, Xiaolong Guo, and Gang Qu. 2023. LLM4SecHW: Leveraging domain-specific large language model for hardware debugging. In Asian Hardware Oriented Security and Trust Symposium (AsianHOST\u201923). 1\u20136."},{"key":"e_1_3_1_12_2","doi-asserted-by":"crossref","unstructured":"Luyu Gao Xueguang Ma Jimmy Lin and Jamie Callan. 2023. Precise zero-shot dense retrieval without relevance labels. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics 1762\u20131777.","DOI":"10.18653\/v1\/2023.acl-long.99"},{"key":"e_1_3_1_13_2","unstructured":"Kelvin Guu Kenton Lee Zora Tung Panupong Pasupat and Ming-Wei Chang. 2020. REALM: Retrieval-augmented language model pre-training. In Proceedings of the 37th International Conference on Machine Learning. Article 368 10 pages."},{"key":"e_1_3_1_14_2","unstructured":"Yukun Huang Yanda Chen Zhou Yu and Kathleen McKeown. 2022. In-context Learning Distillation: Transferring Few-shot Learning Ability of Pre-trained Language Models. ArXiv abs\/2212.10670 (2022)."},{"key":"e_1_3_1_15_2","unstructured":"Aviral Kaintura Palaniappan R Shui Song Luar and Indira Iyer Almeida. 2024. ORAssistant: A Custom RAG-based Conversational Assistant for OpenROAD. arXiv preprint arXiv:2410.03845 (2024)."},{"key":"e_1_3_1_16_2","doi-asserted-by":"crossref","unstructured":"Woosuk Kwon Zhuohan Li Siyuan Zhuang Ying Sheng Lianmin Zheng Cody Hao Yu Joseph Gonzalez Hao Zhang and Ion Stoica. 2023. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles. 611\u2013626.","DOI":"10.1145\/3600006.3613165"},{"key":"e_1_3_1_17_2","unstructured":"Patrick Lewis Ethan Perez Aleksandra Piktus Fabio Petroni Vladimir Karpukhin Naman Goyal Heinrich Kuttler Mike Lewis Wen-tau Yih Tim Rocktaschel et\u00a0al. 2020. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Proceedings of the 34th International Conference on Neural Information Processing Systems. 16 pages."},{"key":"e_1_3_1_18_2","unstructured":"Patrick Lewis Ethan Perez Aleksandra Piktus Fabio Petroni Vladimir Karpukhin Naman Goyal Heinrich Kuttler Mike Lewis Wen-tau Yih Tim Rocktaschel et\u00a0al. 2020. Retrieval-augmented generation for knowledge-intensive NLP tasks. Advances in Neural Information Processing Systems 33 (2020) 9459\u20139474."},{"key":"e_1_3_1_19_2","unstructured":"Chaofan Li Zheng Liu Shitao Xiao and Yingxia Shao. 2023. Making large language models a better foundation for dense retrieval. arxiv:cs.CL\/2312.15503"},{"key":"e_1_3_1_20_2","unstructured":"Yunxiang Li Zihan Li Kai Zhang Ruilong Dan Steve Jiang and You Zhang. 2023. ChatDoctor: A medical chat model fine-tuned on a large language model Meta-AI (LLaMA) using medical domain knowledge. Cureus 15 6 (2023) 40895."},{"key":"e_1_3_1_21_2","unstructured":"Mingjie Liu Teodor-Dumitru Ene Robert Kirby Chris Cheng Nathaniel Pinckney Rongjian Liang Jonah Alben Himyanshu Anand Sanmitra Banerjee Ismet Bayraktaroglu et\u00a0al. 2023. ChipNeMo: Domain-Adapted LLMs for Chip Design. ArXiv abs\/2311.00176 (2023)."},{"key":"e_1_3_1_22_2","doi-asserted-by":"crossref","unstructured":"Shang Liu Wenji Fang Yao Lu Qijun Zhang Hongce Zhang and Zhiyao Xie. 2024. RTLCoder: Outperforming GPT-3.5 in design RTL generation with our open-source dataset and lightweight solution. In IEEE LLM Aided Design Workshop (LAD). 1\u20135.","DOI":"10.1109\/LAD62341.2024.10691788"},{"key":"e_1_3_1_23_2","doi-asserted-by":"crossref","unstructured":"Yao Lu Shang Liu Qijun Zhang and Zhiyao Xie. 2024. RTLLM: An open-source benchmark for design RTL generation with large language model. In Proceedings of the 29th Asia and South Pacific Design Automation Conference (ASPDAC). IEEE Press 722\u2013727.","DOI":"10.1109\/ASP-DAC58780.2024.10473904"},{"key":"e_1_3_1_24_2","unstructured":"Xinbei Ma Yeyun Gong Pengcheng He Hai Zhao and Nan Duan. 2023. Query rewriting in retrieval-augmented large language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics 5303\u20135315."},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/307418.307477"},{"key":"e_1_3_1_26_2","unstructured":"Matthew DeLorenzo Animesh Basak Chowdhury Vasudev Gohil Shailja Thakur Ramesh Karri Siddharth Garg and Jeyavijayan Rajendran. 2024. Make Every Move Count: LLM-based High-Quality RTL Code Generation Using MCTS. arXiv preprintarxiv:2402.03289 (2024)."},{"key":"e_1_3_1_27_2","doi-asserted-by":"crossref","unstructured":"Bonan Min Hayley Ross Elior Sulem Amir Pouran Ben Veyseh Thien Huu Nguyen Oscar Sainz Eneko Agirre Ilana Heintz and Dan Roth. 2023. Recent advances in natural language processing via large pre-trained language models: A survey. ACM Comput. Surv. 56 2 Article 30 (2023) 40 pages.","DOI":"10.1145\/3605943"},{"key":"e_1_3_1_28_2","unstructured":"Noam Shazeer Azalia Mirhoseini Krzysztof Maziarz Andy Davis Quoc Le Geoffrey Hinton and Jeff Dean. 2017. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In International Conference on Learning Representations."},{"key":"e_1_3_1_29_2","unstructured":"Long Ouyang Jeff Wu Xu Jiang Diogo Almeida Carroll L. Wainwright Pamela Mishkin Chong Zhang Sandhini Agarwal Katarina Slama Alex Ray et\u00a0al. 2022. Training language models to follow instructions with human feedback. In Proceedings of the 36th International Conference on Neural Information Processing Systems (NIPS). Curran Associates Inc. Article 2011 15 pages."},{"key":"e_1_3_1_30_2","doi-asserted-by":"crossref","unstructured":"Hammond Pearce Benjamin Tan and Ramesh Karri. 2020. DAVE: Deriving automatically verilog from english. In Proceedings of the 2020 ACM\/IEEE Workshop on Machine Learning for CAD. 27\u201332.","DOI":"10.1145\/3380446.3430634"},{"key":"e_1_3_1_31_2","unstructured":"Amaranth Project. 2024. Amaranth: A modern hardware definition language and toolchain based on Python. Retrieved from https:\/\/github.com\/amaranth-lang\/amaranth"},{"key":"e_1_3_1_32_2","unstructured":"Symbiotic Project. 2024. SymbiYosys: Front-end for Yosys-based formal verification flows. Retrieved from https:\/\/github.com\/YosysHQ\/sby"},{"key":"e_1_3_1_33_2","unstructured":"Verilator Project. 2024. Verilator: Open-source SystemVerilog simulator and lint system. Retrieved from https:\/\/github.com\/verilator\/verilator"},{"key":"e_1_3_1_34_2","unstructured":"KLayout Project. 2024. KLayout main sources. Retrieved from https:\/\/github.com\/KLayout\/klayout"},{"key":"e_1_3_1_35_2","unstructured":"OpenROAD Project. 2024. OpenROAD\u2019s unified application implementing an RTL-to-GDS flow. Retrieved from https:\/\/github.com\/The-OpenROAD-Project\/OpenROAD"},{"key":"e_1_3_1_36_2","unstructured":"Yosys Project. 2024. Yosys Open SYnthesis Suite. Retrieved from https:\/\/github.com\/YosysHQ\/yosys"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1561\/1500000019"},{"key":"e_1_3_1_38_2","unstructured":"Parth Sarthi Salman Abdullah Aditi Tuli Shubh Khanna Anna Goldie and Christopher D. Manning. 2024. RAPTOR: Recursive abstractive processing for tree-organized retrieval. In The 12th International Conference on Learning Representations."},{"key":"e_1_3_1_39_2","doi-asserted-by":"crossref","unstructured":"Utsav Sharma Bing-Yue Wu Sai Rahul Dhanvi Kankipati Vidya A. Chhabria and Austin Rovinski. 2024. OpenROAD-Assistant: An open-source large language model for physical design tasks. In Proceedings of the 2024 ACM\/IEEE International Symposium on Machine Learning for CAD. Article 22 7 pages.","DOI":"10.1145\/3670474.3685960"},{"key":"e_1_3_1_40_2","unstructured":"Shuting Wang Jiongnan Liu Jiehan Cheng Yuqi Fu Peidong Guo Kun Fang Yutao Zhu and Zhicheng Dou. 2024. DomainRAG: A Chinese Benchmark for Evaluating Domain-specific Retrieval-Augmented Generation. arxiv:2406.05654."},{"key":"e_1_3_1_41_2","doi-asserted-by":"crossref","unstructured":"Shamane Siriwardhana Rivindu Weerasekera Elliott Wen Tharindu Kaluarachchi Rajib Rana and Suranga Nanayakkara. 2023. Improving the domain adaptation of retrieval augmented generation (RAG) models for open domain question answering. Transactions of the Association for Computational Linguistics 11 (2023) 1\u201317.","DOI":"10.1162\/tacl_a_00530"},{"key":"e_1_3_1_42_2","unstructured":"Synopsys. 2021. VCS\u00ae functional verification solution. Retrieved from https:\/\/www.synopsys.com\/verification\/simulation\/vcs.html"},{"key":"e_1_3_1_43_2","doi-asserted-by":"crossref","unstructured":"Yechun Tang Xiaoxia Cheng and Weiming Lu. 2022. Improving complex knowledge base question answering via question-to-action and question-to-question alignment. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing. 137\u2013147.","DOI":"10.18653\/v1\/2022.emnlp-main.10"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3643681"},{"key":"e_1_3_1_45_2","unstructured":"Hugo Touvron Louis Martin Kevin R. Stone Peter Albert Amjad Almahairi Yasmine Babaei Nikolay Bashlykov Soumya Batra Prajjwal Bhargava Shruti Bhosale et\u00a0al. 2023. Llama 2: Open Foundation and Fine-Tuned Chat Models. ArXiv abs\/2307.09288 (2023)."},{"key":"e_1_3_1_46_2","doi-asserted-by":"crossref","unstructured":"YunDa Tsai Mingjie Liu and Haoxing Ren. 2024. RTLFixer: Automatically fixing RTL syntax errors with large language model. In Proceedings of the 61st ACM\/IEEE Design Automation Conference (DAC). 6 pages.","DOI":"10.1145\/3649329.3657353"},{"key":"e_1_3_1_47_2","first-page":"13484","volume-title":"61st Annual Meeting of the Association for Computational Linguistics","unstructured":"Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. Self-instruct: Aligning language models with self-generated instructions. In 61st Annual Meeting of the Association for Computational Linguistics. 13484\u201313508."},{"key":"e_1_3_1_48_2","volume-title":"International Conference on Learning Representations","unstructured":"Jason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V. Le. 2022. Finetuned language models are zero-shot learners. In International Conference on Learning Representations."},{"key":"e_1_3_1_49_2","unstructured":"Stephen Williams. 2024. Icarus Verilog: Open-source Verilog simulation and synthesis tool. Retrieved from https:\/\/github.com\/steveicarus\/iverilog"},{"key":"e_1_3_1_50_2","first-page":"38","volume-title":"Conference on Empirical Methods in Natural Language Processing: System Demonstrations","unstructured":"Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, et\u00a0al. 2020. Transformers: State-of-the-art natural language processing. In Conference on Empirical Methods in Natural Language Processing: System Demonstrations. Association for Computational Linguistics, 38\u201345."},{"key":"e_1_3_1_51_2","volume-title":"1st IEEE International Workshop on LLM-Aided Design (LAD\u201924)","unstructured":"Bing-Yue Wu, Utsav Sharma, Sai Rahul Dhanvi Kankipati, Ajay Yadav, Bintu Kappil George, Sai Ritish Guntupalli, Austin Rovinski, and Vidya A. Chhabria. 2024. EDA corpus: A large language model dataset for enhanced interaction with OpenROAD. In 1st IEEE International Workshop on LLM-Aided Design (LAD\u201924). IEEE, New York, NY."},{"key":"e_1_3_1_52_2","doi-asserted-by":"crossref","unstructured":"Haoyuan Wu Zhuolun He Xinyun Zhang Xufeng Yao Su Zheng Haisheng Zheng and Bei Yu. 2024. ChatEDA: A large language model powered autonomous agent for EDA. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 43 10 (2024) 3184\u20133197.","DOI":"10.1109\/TCAD.2024.3383347"},{"key":"e_1_3_1_53_2","doi-asserted-by":"crossref","unstructured":"Xufeng Yao Haoyang Li Tsz Ho Chan Wenyi Xiao Mingxuan Yuan Yu Huang Lei Chen and Bei Yu. 2024. Hdldebugger: Streamlining HDL debugging with large language models. ArXiv abs\/2403.11671 (2024).","DOI":"10.1145\/3735638"},{"key":"e_1_3_1_54_2","unstructured":"Yuan Pu Zhuolun He Tairu Qiu Haoyuan Wu and Bei Yu. 2024. Customized retrieval augmented generation and benchmarking for EDA tool documentation QA. In 2024 IEEE\/ACM International Conference on Computer Aided Design (ICCAD)."},{"key":"e_1_3_1_55_2","unstructured":"Yunfan Gao Yun Xiong Xinyu Gao Kangxiang Jia Jinliu Pan Yuxi Bi Yi Dai Jiawei Sun and Haofen Wang. 2024. Retrieval-Augmented Generation for Large Language Models: A Survey. arxiv:2312.10997."},{"key":"e_1_3_1_56_2","unstructured":"Tianyi Zhang Varsha Kishore Felix Wu Kilian Q. Weinberger and Yoav Artzi. 2020. BERTScore: Evaluating text generation with BERT. In International Conference on Learning Representations."}],"container-title":["ACM Transactions on Design Automation of Electronic Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3715326","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,18]],"date-time":"2025-10-18T11:21:55Z","timestamp":1760786515000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3715326"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,18]]},"references-count":55,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2025,11,30]]}},"alternative-id":["10.1145\/3715326"],"URL":"https:\/\/doi.org\/10.1145\/3715326","relation":{},"ISSN":["1084-4309","1557-7309"],"issn-type":[{"value":"1084-4309","type":"print"},{"value":"1557-7309","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,18]]},"assertion":[{"value":"2024-07-31","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-01-17","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-10-18","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}