arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08029cs.LGcs.AIcs.PLcs.SE
收藏

一种用于Verilog代码生成的多专家大语言模型架构

A Multi-Expert Large Language Model Architecture for Verilog Code Generation

University of South Florida(南佛罗里达大学)

Bardia Nadimi, Hao Zheng

AI总结:

针对现有大语言模型生成Verilog代码质量有限的问题,提出集成多个按设计复杂度分类微调的大语言模型的MEV-LLM架构,显著提升了生成代码的语法和功能正确率,助力自动化硬件设计发展。

摘要:

近年来,人们对使用大语言模型(LLM)生成Verilog代码的兴趣激增。然而,现有方法生成的Verilog代码质量存在局限。为解决这一问题,本文提出了一种创新的Verilog代码生成多专家LLM架构(MEV-LLM)。该架构独特地集成了多个LLM,每个LLM都使用按不同设计复杂度等级分类的数据集进行专门微调,从而实现更具针对性的学习,直接应对各类别Verilog代码生成的细微差异。实验实证表明,生成的Verilog输出在语法正确性和功能正确性的占比上均有显著提升。这些结果凸显了该方法的有效性,有望推动机器学习赋能的自动化硬件设计领域向前发展。

英文摘要:

Recently, there has been a surging interest in using large language models (LLMs) for Verilog code generation. However, the existing approaches are limited in terms of the quality of the generated Verilog code. To address such limitations, this paper introduces an innovative multi-expert LLM architecture for Verilog code generation (MEV-LLM). Our architecture uniquely integrates multiple LLMs, each specifically fine-tuned with a dataset that is categorized with respect to a distinct level of design complexity. It allows more targeted learning, directly addressing the nuances of generating Verilog code for each category. Empirical evidence from experiments highlights notable improvements in terms of the percentage of generated Verilog outputs that are syntactically and functionally correct. These findings underscore the efficacy of our approach, promising a forward leap in the field of automated hardware design through machine learning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑