图的学徒:教授LLM底层知识以进行电路质量估计
The Graph's Apprentice: Teaching an LLM Low Level Knowledge for Circuit Quality Estimation
AI总结:
针对传统逻辑综合计算密集的问题,本研究提出用基于LUT图训练的GNN嵌入正则化预测器网络增强LLM,使其能直接从HDL代码估计电路质量,在OpenABCD基准上性能优于现有方法且反馈即时。
摘要:
逻辑综合是电路设计过程中的关键阶段,负责将硬件描述语言(HDL)设计转换为优化的网表。然而,传统逻辑综合方法计算密集,限制了其在芯片设计优化中的迭代使用。大型语言模型(LLMs)的最新进展,尤其是在编程语言上微调的模型,提供了一种有前景的替代方案。本工作提出用预测器网络增强LLMs,这些预测器网络经训练可直接从HDL代码估计电路质量。为提升性能,模型使用图神经网络(GNNs)的嵌入进行正则化,GNNs在查找表(LUT)图上训练,从而融入底层电路见解。所提方法在已建立的基准OpenABCD上表现优于现有基于图的RTL级估计技术,同时提供HDL代码质量的即时反馈。
英文摘要:
Logic synthesis is a crucial phase in the circuit design process, responsible for transforming hardware description language (HDL) designs into optimized netlists. However, traditional logic synthesis methods are computationally intensive, restricting their iterative use in refining chip designs. Recent advancements in large language models (LLMs), particularly those fine-tuned on programming languages, present a promising alternative. This work proposes augmenting LLMs with predictor networks trained to estimate circuit quality directly from HDL code. To enhance performance, the model is regularized using embeddings from graph neural networks (GNNs) trained on Look-Up Table (LUT) graphs, thereby incorporating lower-level circuit insights. The proposed method demonstrates superior performance compared to existing graph-based RTL-level estimation techniques on the established benchmark OpenABCD, while providing instant feedback on HDL code quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。