arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.09485cs.LGcs.AR
收藏

GenEDA:通过跨模态电路编码器-解码器对齐实现生成式网表功能推理

GenEDA: Towards Generative Netlist Functional Reasoning via Cross-Modal Circuit Encoder-Decoder Alignment

Hong Kong University of Science and Technology(香港理工大学)

Wenji Fang, Jing Wang, Yao Lu, Shang Liu, Zhiyao Xie

AI总结:

GenEDA通过跨模态对齐电路编码器与LLM解码器,构建首个生成式网表基础模型,实现从低级网表反向生成规范和RTL代码等新任务,显著提升GPT和DeepSeek等模型性能。

摘要:

基础人工智能的成功推动了电路基础模型的研究,这些模型被定制用于辅助集成电路(IC)设计流程。然而,现有的预训练电路基础模型通常局限于用于预测任务的独立编码器或用于生成任务的独立解码器。这两种模型类型独立开发,操作于不同的电路模态,并驻留在各自的潜在空间中。这限制了它们相互补充以发挥更高级能力的作用。在这项工作中,我们提出了GenEDA,这是第一个在共享潜在空间内跨模态对齐电路编码器与解码器的框架。GenEDA弥合了基于图的电路表示学习与基于文本的大型语言模型(LLMs)之间的差距,使得它们各自的潜在空间能够进行通信。为了实现这种对齐,我们提出了两种范式,以支持开源可训练LLMs和商业冻结LLMs。我们利用这种对齐架构开发了第一个用于网表的生成式基础模型,释放了LLMs在低级和位爆破网表上的生成推理能力。GenEDA实现了三项前所未有的生成式网表功能推理任务,在这些任务中,它从低级网表反向生成高级功能,如规范和RTL代码。这些任务超越了传统的门级功能分类,直接生成全电路功能。实验表明,GenEDA显著提升了先进LLMs(例如GPT和DeepSeek系列)在所有任务中的性能。

英文摘要:

The success of foundation AI has motivated the research of circuit foundation models, which are customized to assist the integrated circuit (IC) design process. However, existing pre-trained circuit foundation models are typically limited to standalone encoders for predictive tasks or decoders for generative tasks. These two model types are developed independently, operate on different circuit modalities, and reside in separate latent spaces. This restricts their ability to complement each other for more advanced capabilities. In this work, we present GenEDA, the first framework that cross-modally aligns circuit encoders with decoders within a shared latent space. GenEDA bridges the gap between graph-based circuit representation learning and text-based large language models (LLMs), enabling communication between their respective latent spaces. To achieve the alignment, we propose two paradigms to support both open-source trainable LLMs and commercial frozen LLMs. We leverage this aligned architecture to develop the first generative foundation model for netlists, unleashing LLMs' generative reasoning capability on the low-level and bit-blasted netlists. GenEDA enables three unprecedented generative netlist functional reasoning tasks, where it reversely generates high-level functionalities such as specifications and RTL code from low-level netlists. These tasks move beyond traditional gate function classification to direct generation of full-circuit functionality. Experiments demonstrate that GenEDA significantly boosts advanced LLMs' (e.g., GPT and DeepSeek series) performance in all tasks.

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

↑