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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Sandal, Selim, Akturk, Ismail
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914643080904704
author Sandal, Selim
Akturk, Ismail
author_facet Sandal, Selim
Akturk, Ismail
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2401_08683
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Zero-Shot RTL Code Generation with Attention Sink Augmented Large Language Models
Sandal, Selim
Akturk, Ismail
Hardware Architecture
Artificial Intelligence
Machine Learning
Programming Languages
Software Engineering
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.
title Zero-Shot RTL Code Generation with Attention Sink Augmented Large Language Models
topic Hardware Architecture
Artificial Intelligence
Machine Learning
Programming Languages
Software Engineering
url https://arxiv.org/abs/2401.08683