arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.17097cs.AR
收藏

从自然语言到硅基:LLM硬件设计中的表示瓶颈

From Natural Language to Silicon: The Representation Bottleneck in LLM Hardware Design

Kansas State University(堪萨斯州立大学);NYU Tandon School of Engineering(纽约大学坦登工程学院);NYU Abu Dhabi(纽约大学阿布扎比分校)

Weimin Fu, Zeng Wang, Minghao Shao, Johann Knechtel, Ozgur Sinanoglu, Ramesh Karri, Muhammad Shafique, Xiaolong Guo

AI总结:

研究揭示LLM硬件设计中表示选择而非模型选择是决定最终成功率的关键,通过评估三种前沿LLM在六种不同IR上的表现,发现简单偏见使资源受限的FPGA实现更高效。

摘要:

边缘应用日益要求定制硬件,但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.

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

↑