LATCH:基于大语言模型的布线后FPGA时序收敛工具
LATCH: LLM-Assisted Timing Closure Harness for Post-Route FPGA Optimisation
AI总结:
该研究提出LATCH框架,通过对比不同智能体控制粒度及探索策略,在16个FPGA设计上实现时序收敛,知识库引导的探索可将平均最高频率提升至20.3%,改善15个设计。
摘要:
布线后FPGA时序收敛仍依赖专家操作且计算成本高昂。我们提出LATCH(LLM-Assisted Timing Closure Harness,基于大语言模型的时序收敛工具),这是一个两层框架,将大语言模型(LLM)的编排与确定性FPGA实现及评估分离。在16个设计和7种LLM上,单迭代研究对比了三种智能体控制粒度——专家编写的配方、直接电子设计自动化(EDA)操作、LLM构建的流程,以探究智能体每次尝试需要多少控制。功能通过率分别为98.2%、71.4%和17.9%;然而通过直接操作在通过时能带来略大的3.4%中位数最高工作频率(Fmax)提升,而配方的提升为3.2%,这揭示了执行可靠性与时序改进之间的权衡。基于该权衡,多迭代研究将操作层固定为专家配方,以探究如何最佳组织重复尝试,在每次运行的12个检查点内对比了拟合的确定性启发式方法、顺序LLM推理、分支探索以及知识库引导的探索。分支将平均最高频率提升从顺序的10.5%提高到16.0%,知识库引导的探索则提升至20.3%,改善了16个设计中的15个。对2421次配方尝试的特征分析描绘了它们的增益和验证率,显示硬块重布局带来最大的累积平均增益,为41.4MHz。
英文摘要:
Post-route FPGA timing closure remains expert-dependent and computationally expensive. We present LATCH (LLM-Assisted Timing Closure Harness), a two-layer framework that separates large language model (LLM) orchestration from deterministic FPGA implementation and evaluation. Across sixteen designs and seven LLMs, a single-iteration study compares three agent control granularities - expert-written recipes, direct EDA operations and LLM-constructed procedures - to ask how much control an agent needs per attempt. Functional-pass rates are 98.2%, 71.4% and 17.9%, respectively; yet direct operations give slightly larger 3.4% median Fmax gains when passing, versus 3.2% for recipes. This exposes a trade-off between execution reliability and timing improvement. Informed by this trade-off, a multi-iteration study fixes the action tier at expert recipes to ask how repeated attempts are best organised, comparing a fitted deterministic heuristic with sequential LLM reasoning, branching exploration and knowledge base-guided exploration within 12 checkpoints per run. Branching raises mean maximum-frequency improvement from 10.5% (sequential) to 16.0%, and the knowledge base to 20.3%, improving 15 of 16 designs. Characterisation across 2,421 recipe attempts profiled their gain and validation rates, showing hard-block re-placement gives the largest cumulative mean gain at 41.4MHz.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。