Zero-Shot RTL Code Generation with Attention Sink Augmented Large Language Models

Selim Sandal, Ismail Akturk
1/12/2024
cs.ARcs.AIcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

The design and optimization of hardware have traditionally been resource-intensive, demanding considerable expertise and dependence on established design automation tools. This paper discusses the possibility of exploiting large language models to streamline the code generation process in hardware design. In contrast to earlier studies, this paper aims to use large language models that accepts high-level design specifications through a single prompt to generate corresponding Register-Transfer Level (RTL) code. The ability to use large language models on RTL code generation not only expedites design iteration cycles but also facilitates the exploration of design spaces that have computational challenges for conventional techniques. Through our evaluation, we demonstrate the shortcoming of existing attention mechanisms, and present the abilities of language models to produce functional, optimized, and industry-standard compliant RTL code when a novel attention mechanism is used. These findings underscore the expanding role of large language models in shaping the future landscape of architectural exploration and automation in hardware design.

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. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

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

Cite this paper

@article{sandal2024zeroshot,
  title  = {Zero-Shot RTL Code Generation with Attention Sink Augmented Large Language Models},
  author = {Selim Sandal and Ismail Akturk},
  year   = {2024},
  eprint = {2401.08683},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.08683v1}
}

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/2401.08683.svg)](https://codeofpaper.com/paper/2401.08683)

Discussion