Explaining EDA synthesis errors with LLMs. Qiu, S., Tan, B., & Pearce, H. April, 2024. arXiv:2404.07235 [cs]. Accepted to appear at the 1st IEEE International Workshop on LLM-Aided Design (LAD'24)
Paper abstract bibtex Training new engineers in digital design is a challenge, particularly when it comes to teaching the complex electronic design automation (EDA) tooling used in this domain. Learners will typically deploy designs in the Verilog and VHDL hardware description languages to Field Programmable Gate Arrays (FPGAs) from Altera (Intel) and Xilinx (AMD) via proprietary closed-source toolchains (Quartus Prime and Vivado, respectively). These tools are complex and difficult to use – yet, as they are the tools used in industry, they are an essential first step in this space. In this work, we examine how recent advances in artificial intelligence may be leveraged to address aspects of this challenge. Specifically, we investigate if Large Language Models (LLMs), which have demonstrated text comprehension and question-answering capabilities, can be used to generate novice-friendly explanations of compile-time synthesis error messages from Quartus Prime and Vivado. To perform this study we generate 936 error message explanations using three OpenAI LLMs over 21 different buggy code samples. These are then graded for relevance and correctness, and we find that in approximately 71% of cases the LLMs give correct & complete explanations suitable for novice learners.
@misc{qiu_explaining_2024,
title = {Explaining {EDA} synthesis errors with {LLMs}},
url = {http://arxiv.org/abs/2404.07235},
abstract = {Training new engineers in digital design is a challenge, particularly when it comes to teaching the complex electronic design automation (EDA) tooling used in this domain. Learners will typically deploy designs in the Verilog and VHDL hardware description languages to Field Programmable Gate Arrays (FPGAs) from Altera (Intel) and Xilinx (AMD) via proprietary closed-source toolchains (Quartus Prime and Vivado, respectively). These tools are complex and difficult to use -- yet, as they are the tools used in industry, they are an essential first step in this space. In this work, we examine how recent advances in artificial intelligence may be leveraged to address aspects of this challenge. Specifically, we investigate if Large Language Models (LLMs), which have demonstrated text comprehension and question-answering capabilities, can be used to generate novice-friendly explanations of compile-time synthesis error messages from Quartus Prime and Vivado. To perform this study we generate 936 error message explanations using three OpenAI LLMs over 21 different buggy code samples. These are then graded for relevance and correctness, and we find that in approximately 71\% of cases the LLMs give correct \& complete explanations suitable for novice learners.},
urldate = {2024-05-24},
publisher = {arXiv},
author = {Qiu, Siyu and Tan, Benjamin and Pearce, Hammond},
month = apr,
year = {2024},
note = {arXiv:2404.07235 [cs]. Accepted to appear at the 1st IEEE International Workshop on LLM-Aided Design (LAD'24)},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Hardware Architecture, Computer Science - Programming Languages, Computer Science - Software Engineering, Jab/\#Pre},
}
Downloads: 0
{"_id":"vGeGHtvnzMZ6mvvS5","bibbaseid":"qiu-tan-pearce-explainingedasynthesiserrorswithllms-2024","author_short":["Qiu, S.","Tan, B.","Pearce, H."],"bibdata":{"bibtype":"misc","type":"misc","title":"Explaining EDA synthesis errors with LLMs","url":"http://arxiv.org/abs/2404.07235","abstract":"Training new engineers in digital design is a challenge, particularly when it comes to teaching the complex electronic design automation (EDA) tooling used in this domain. Learners will typically deploy designs in the Verilog and VHDL hardware description languages to Field Programmable Gate Arrays (FPGAs) from Altera (Intel) and Xilinx (AMD) via proprietary closed-source toolchains (Quartus Prime and Vivado, respectively). These tools are complex and difficult to use – yet, as they are the tools used in industry, they are an essential first step in this space. In this work, we examine how recent advances in artificial intelligence may be leveraged to address aspects of this challenge. Specifically, we investigate if Large Language Models (LLMs), which have demonstrated text comprehension and question-answering capabilities, can be used to generate novice-friendly explanations of compile-time synthesis error messages from Quartus Prime and Vivado. To perform this study we generate 936 error message explanations using three OpenAI LLMs over 21 different buggy code samples. These are then graded for relevance and correctness, and we find that in approximately 71% of cases the LLMs give correct & complete explanations suitable for novice learners.","urldate":"2024-05-24","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Qiu"],"firstnames":["Siyu"],"suffixes":[]},{"propositions":[],"lastnames":["Tan"],"firstnames":["Benjamin"],"suffixes":[]},{"propositions":[],"lastnames":["Pearce"],"firstnames":["Hammond"],"suffixes":[]}],"month":"April","year":"2024","note":"arXiv:2404.07235 [cs]. Accepted to appear at the 1st IEEE International Workshop on LLM-Aided Design (LAD'24)","keywords":"Computer Science - Artificial Intelligence, Computer Science - Hardware Architecture, Computer Science - Programming Languages, Computer Science - Software Engineering, Jab/#Pre","bibtex":"@misc{qiu_explaining_2024,\n\ttitle = {Explaining {EDA} synthesis errors with {LLMs}},\n\turl = {http://arxiv.org/abs/2404.07235},\n\tabstract = {Training new engineers in digital design is a challenge, particularly when it comes to teaching the complex electronic design automation (EDA) tooling used in this domain. Learners will typically deploy designs in the Verilog and VHDL hardware description languages to Field Programmable Gate Arrays (FPGAs) from Altera (Intel) and Xilinx (AMD) via proprietary closed-source toolchains (Quartus Prime and Vivado, respectively). These tools are complex and difficult to use -- yet, as they are the tools used in industry, they are an essential first step in this space. In this work, we examine how recent advances in artificial intelligence may be leveraged to address aspects of this challenge. Specifically, we investigate if Large Language Models (LLMs), which have demonstrated text comprehension and question-answering capabilities, can be used to generate novice-friendly explanations of compile-time synthesis error messages from Quartus Prime and Vivado. To perform this study we generate 936 error message explanations using three OpenAI LLMs over 21 different buggy code samples. These are then graded for relevance and correctness, and we find that in approximately 71\\% of cases the LLMs give correct \\& complete explanations suitable for novice learners.},\n\turldate = {2024-05-24},\n\tpublisher = {arXiv},\n\tauthor = {Qiu, Siyu and Tan, Benjamin and Pearce, Hammond},\n\tmonth = apr,\n\tyear = {2024},\n\tnote = {arXiv:2404.07235 [cs]. Accepted to appear at the 1st IEEE International Workshop on LLM-Aided Design (LAD'24)},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Hardware Architecture, Computer Science - Programming Languages, Computer Science - Software Engineering, Jab/\\#Pre},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Qiu, S.","Tan, B.","Pearce, H."],"key":"qiu_explaining_2024","id":"qiu_explaining_2024","bibbaseid":"qiu-tan-pearce-explainingedasynthesiserrorswithllms-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2404.07235"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Hardware Architecture","Computer Science - Programming Languages","Computer Science - Software Engineering","Jab/#Pre"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/bxt101","dataSources":["Wsv2bQ4jPuc7qme8R"],"keywords":["computer science - artificial intelligence","computer science - hardware architecture","computer science - programming languages","computer science - software engineering","jab/#pre"],"search_terms":["explaining","eda","synthesis","errors","llms","qiu","tan","pearce"],"title":"Explaining EDA synthesis errors with LLMs","year":2024}