从自然语言到Verilog:利用大语言模型与ChatGPT设计循环脉冲神经网络
Natural Language to Verilog: Design of a Recurrent Spiking Neural Network using Large Language Models and ChatGPT
AI总结:
本研究利用ChatGPT4和自然语言提示生成可编程循环脉冲神经网络的Verilog RTL模块与测试平台,经三类机器学习任务、FPGA验证及130nm工艺综合后提交至流片项目,验证了LLM生成硬件代码的可行性。
摘要:
本文研究了利用大语言模型(LLMs)和自然语言提示生成硬件描述代码即Verilog的方法。基于我们此前的工作,我们使用OpenAI的ChatGPT4和自然语言提示,综合出一款可编程循环脉冲神经网络的RTL级Verilog模块,同时生成测试平台以评估系统正确性。最终设计在三项简单机器学习任务中得到验证:异或运算、IRIS鸢尾花分类和MNIST手写数字分类。此外,该设计还在现场可编程门阵列(FPGA)上完成验证,并通过开源电子设计自动化流程采用SkyWater 130 nm工艺完成综合,已提交至Efabless Tiny Tapeout 6项目。
英文摘要:
This paper investigates the use of Large Language Models (LLMs) and natural language prompts to generate hardware description code, namely Verilog. Building on our prior work, we employ OpenAI's ChatGPT4 and natural language prompts to synthesize an RTL Verilog module of a programmable recurrent spiking neural network, while also generating test benches to assess the system's correctness. The resultant design was validated in three simple machine learning tasks, the exclusive OR, the IRIS flower classification and the MNIST hand-written digit classification. Furthermore, the design was validated on a Field-Programmable Gate Array (FPGA) and subsequently synthesized in the SkyWater 130 nm technology by using an open-source electronic design automation flow. The design was submitted to Efabless Tiny Tapeout 6.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。