The Graph's Apprentice: Teaching an LLM Low Level Knowledge for Circuit Quality Estimation

Reza Moravej, Saurabh Bodhe, Zhanguang Zhang, Didier Chetelat, Dimitrios Tsaras +4 more
10/30/2024
cs.LGcs.AIcs.AR

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{moravej2024graphs,
  title  = {The Graph's Apprentice: Teaching an LLM Low Level Knowledge for Circuit Quality Estimation},
  author = {Reza Moravej and Saurabh Bodhe and Zhanguang Zhang and Didier Chetelat and Dimitrios Tsaras and Yingxue Zhang and Hui-Ling Zhen and Jianye Hao and Mingxuan Yuan},
  year   = {2024},
  eprint = {2411.00843},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.00843v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.00843.svg)](https://codeofpaper.com/paper/2411.00843)

Discussion