边缘应用日益要求定制硬件,但FPGA设计需要专业知识,而LLM通过零知识硬件编程弥补这一差距。用户用自然语言描述电路,LLM将其编译为硬件中间表示(IR)以实现硅基。将此流程建模为二进制过滤器链,研究发现IR选择而非模型选择是主导因素,即表示瓶颈。评估三种前沿LLM在六个IR(Verilog、VHDL、Chisel、Bluespec、PyMTL3和HLS C)上202项任务,通过编译、模拟、FPGA综合和LLM修复流程,发现模拟通过率在不同IR间从3%到88%,但同一IR内模型间差异小于1.25倍。在资源受限的iCE40上,LLM设计的FPGA通过率高于参考方案(86.5% vs 68.7%),并非因其更优,而是由于简单偏见使其足够小以适应。分析揭示了可访问性与能力的悖论:最用户友好的IR导致最差的LLM性能,表明最佳IR选择将随着LLM能力增长而演变。
英文摘要:
Edge applications increasingly demand custom hardware, yet Field-Programmable Gate Array (FPGA) design requires expertise that domain engineers lack. Large Language Models (LLMs) promise to bridge this gap through zero-knowledge hardware programming, where users describe circuits in natural language and an LLM compiles them to a hardware intermediate representation (IR) targeting silicon. Modeling this flow as a cascade of binary filters, this work demonstrates that IR choice, not model choice, is the dominant factor governing end-to-end success, a phenomenon termed the representation bottleneck. An evaluation of three frontier LLMs across six IRs spanning Verilog, VHDL, Chisel, Bluespec, PyMTL3, and HLS C on 202 tasks through a pipeline of compilation, simulation, FPGA synthesis on a Lattice iCE40UP5K, and LLM-based repair shows that simulation pass rates range from 3% to 88% across IRs but typically vary less than 1.25x across models within any single IR. On the resource-constrained iCE40, LLM designs achieve a higher conditional FPGA pass rate than reference solutions, 86.5% vs. 68.7%, not because they are better but because a simplicity bias makes them small enough to fit. The analysis reveals an accessibility-competence paradox: the most user-friendly IRs yield the worst LLM performance, suggesting that optimal IR selection will evolve as LLM capabilities grow.
From Prompts to Silicon: Scaling LLM-Assisted Chip Design with the AI Hardware Design League
School of Electrical, Computing, and Software Engineering, University of Arizona(亚利桑那大学电气、计算机与软件工程学院);College of Information Sciences, University of Arizona(亚利桑那大学信息科学学院)
Beacon: LLM Multi-Agent Driven Hardware Design Space Exploration for Heterogeneous Multi-Chiplet Deep Learning Accelerators
University of Science and Technology of China(中国科学技术大学);Suzhou Institute for Advanced Research, University of Science and Technology of China(中国科学技术大学苏州高等研究院)
KORD: Breaking the Key-Generation Bottleneck in Dealerless FSS via Protocol--Hardware Co-Design
College of Computer Science and Technology, National University of Defense Technology(国防科技大学计算机学院);Key Laboratory of Advanced Microprocessor Chips and Systems, National University of Defense Technology(国防科技大学先进微处理器芯片与系统重点实验室)
SoftmAP: Software-Hardware Co-design for Integer-Only Softmax on Associative Processors
University of California, Irvine(加州大学欧文分校);Shanghai Jiao Tong University(上海交通大学);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);Rain Neuromorphics Inc.(Rain Neuromorphics公司)