Chip-Chat:对话式硬件设计中的挑战与机遇
Chip-Chat: Challenges and Opportunities in Conversational Hardware Design
AI总结:
本文探讨利用对话式大型语言模型进行硬件设计,通过案例研究共同架构8位累加器微处理器并成功流片,展示了AI在硬件描述语言生成中的潜力与挑战。
摘要:
现代硬件设计始于以自然语言提供的规格说明。随后,硬件工程师会将这些规格说明翻译成适当的硬件描述语言(如Verilog),然后进行电路元件的综合。自动化这一翻译过程可以减少工程过程中人为错误的来源。然而,直到最近,人工智能才展现出基于机器的端到端设计翻译能力。商业上可用的指令调优大型语言模型,如OpenAI的ChatGPT和Google的Bard,声称能够生成多种编程语言的代码;但针对它们在硬件领域的研究仍然缺乏。因此,在本工作中,我们探讨了利用这些近期在大型语言模型方面的进展进行硬件设计时所面临的挑战和呈现的机遇。鉴于这些“对话式”大型语言模型在交互式使用时表现最佳,我们进行了一项案例研究,其中一位硬件工程师根据现实世界的硬件约束,与大型语言模型共同架构了一种新颖的8位累加器微处理器架构。随后,我们将该处理器送往Skywater 130nm穿梭项目进行流片,这意味着这个“Chip-Chat”产生了我们认为的世界首个完全由AI编写的用于流片的硬件描述语言。
英文摘要:
Modern hardware design starts with specifications provided in natural language. These are then translated by hardware engineers into appropriate Hardware Description Languages (HDLs) such as Verilog before synthesizing circuit elements. Automating this translation could reduce sources of human error from the engineering process. But, it is only recently that artificial intelligence (AI) has demonstrated capabilities for machine-based end-to-end design translations. Commercially-available instruction-tuned Large Language Models (LLMs) such as OpenAI's ChatGPT and Google's Bard claim to be able to produce code in a variety of programming languages; but studies examining them for hardware are still lacking. In this work, we thus explore the challenges faced and opportunities presented when leveraging these recent advances in LLMs for hardware design. Given that these `conversational' LLMs perform best when used interactively, we perform a case study where a hardware engineer co-architects a novel 8-bit accumulator-based microprocessor architecture with the LLM according to real-world hardware constraints. We then sent the processor to tapeout in a Skywater 130nm shuttle, meaning that this `Chip-Chat' resulted in what we believe to be the world's first wholly-AI-written HDL for tapeout.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。