REvolution: An Evolutionary Framework for RTL Generation driven by Large Language Models
Kyungjun Min * , Kyumin Cho * , Junhwan Jang, and Seokhyeong Kang · 2025
Read REvolution: An Evolutionary Framework for RTL Generation driven by Large Language Models by Kyungjun Min * , Kyumin Cho * , Junhwan Jang, and Seokhyeong Kang (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-21407.txt.
Introduction
Kyungjun Min and three co-authors generate chip design code with large language models, targeting the register-transfer level where hardware behavior is written before fabrication. Language models often produce code that fails functional tests, and separate tuning for power, speed, and chip area tends to get stuck near local fixes.
Their framework, REvolution, breeds a population of candidate designs, each carrying a strategy, its code, and feedback from testing. Candidates split into two pools: failures get steered toward bug repair. While successes get steered toward better power, speed, and area, and a shifting rule favors whichever prompting strategy is currently winning. On two standard benchmarks, starting pass rates rose by up to twenty-four percentage points, and one model reached a final pass rate above ninety-five percent without extra training.
Catalog record
| CREATOR | Kyungjun Min * , Kyumin Cho * , Junhwan Jang, and Seokhyeong Kang |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 32 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2510-21407
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
REvolution: An Evolutionary Framework for RTL Generation driven by Large Language Models Thanks: * These authors equally contributed to this work. This work has been accepted for publication at the 2026 Asia and South Pacific Design Automation Conference (ASP-DAC). The research was supported by nanomaterials development program through the National Research Foundation of Korea (NRF) (2022M3H4A1A04096496) funded by the Ministry of Science and ICT, Korea and LX Semicon. Kyungjun Min * , Kyumin Cho * , Junhwan Jang, and Seokhyeong Kang Abstract Large Language Models (LLMs) are used for Register-Transfer Level (RTL) code generation, but they face two main challenges: functional correctness and Power, Performance, and Area (PPA) optimization. Iterative, feedback-based methods partially address these, but they are limited to local search, hindering the discovery of a global optimum. This paper introduces REvolution, a framework that combines Evolutionary Computation (EC) with LLMs for automatic RTL generation and optimization. REvolution evolves a population of candidates in parallel, each defined by a design strategy, RTL implementation, and evaluation feedback. The framework includes a dual-population algorithm that divides candidates into Fail and Success groups for bug fixing and PPA optimization, respectively. An adaptive mechanism further improves search efficiency by dynamically adjusting the selection probability of each prompt strategy according to its success rate. Experiments on the VerilogEval and RTLLM benchmarks show that REvolution increased the initial pass rate of various LLMs by up to 24.0 percentage points. The DeepSeek-V3 model achieved a final pass rate of 95.5%, comparable to state-of-the-art results, without the need for separate training or domain-specific tools. Additionally, the generated RTL designs showed significant PPA improvements over reference designs. This work introduces a new RTL design approach by combining LLMs’ generative capabilities with EC’s broad search power, overcoming the local-search limitations of previous methods. I Introduction The growing complexity of modern integrated circuits has made manual Register-Transfer Level (RTL) design a significant bottleneck, prone to increased time, cost, and errors [ 1 ] . In response, Large Language Models (LLMs) have recently been explored within Electronic Design Automation (EDA) research to generate Hardware Description Language (HDL) directly from natural-language specifications [ 2 ] . However, directly applying LLMs to RTL design presents two key challenges. First, functional correctness remains a major hurdle. LLMs are predominantly trained on sequential software code, and thus struggle with the concurrent nature of HDL [ 3 ] . This creates a performance ceiling: on the VerilogEval‑Human benchmark [ 4 ] , state-of-the-art models such as Claude3.7‑Sonnet , OpenAI o3 , and DeepSeek‑R1 attain only \sim\!80\% pass@1 accuracy [ 5 ] . Second, standard LLMs lack awareness of post-synthesis metrics. This results from their training being confined to HDL source code, excluding post-synthesis reports on Power, Performance, and Area (PPA) [ 6 ] . As a result, the generated designs are often PPA-suboptimal, necessitating numerous, inefficient design and synthesis iterations to meet specific targets. To address these challenges, recent studies have introduced several promising approaches. Frameworks such as MAGE [ 7 ] and AIVRIL2 [ 8 ] employ iterative, agent-based workflows with EDA tool feedback to automatically correct functional errors. Similarly, to address PPA, approaches like PPA-RTL [ 6 ] and VeriPPA [ 9 ] incorporate post-synthesis metrics as feedback. PPA-RTL, for instance, uses Reinforcement Learning (RL) to guide this optimization. However, these feedback-driven, iterative methods share a common limitation: they perform a local search of the design space. Their focus on refining an initial design candidate makes the final output’s quality highly dependent on the starting point. Consequently, if the initial implementation strategy is suboptimal, these methods risk getting trapped in a local optimum, failing to discover globally superior design alternatives. This necessitates a methodology capable of exploring a broad space of implementations, rather than merely refining a few design candidates. To overcome these limitations, this paper proposes REvolution, a framework that integrates Evolutionary Computation (EC) with LLMs for automatic RTL code generation. At its core, REvolution evolves a population of design candidates, where each is defined by a design strategy (Thought), its corresponding RTL implementation (Code), and evaluation feedback. To guide this evolutionary process efficiently, the framework employs two key approaches. First, a dual-population algorithm segregates candidates into ‘Fail’ and ‘Success’ populations, applying tailored strategies for bug fixing and PPA optimization, respectively. Second, an adaptive selection mechanism dynamically updates the probability of each prompt strategy based on its success, ensuring computational resources are prioritized effectively. Using these approaches, REvolution can systematically explore the design space, moving beyond the local-search limitations of prior work to find functionally correct and PPA-optimized RTL code. The contributions of this work are summarized as follows: • Evolutionary Framework for RTL Generation and Optimization: We introduce REvolution, the first framework to our knowledge that integrates the generative capabilities of LLMs with EC for RTL design. This approach moves beyond the local-search limitations of prior methods by enabling a parallel exploration of the design space for functionally correct and PPA-optimized RTL. • Dual-Population Algorithm: We propose a dual-population algorithm that segregates candidates into Success and Fail populations based on their functional correctness. This approach enhances search efficiency by applying heterogeneous evolutionary strategies tailored to the distinct goals of each population: bug fixing for the Fail population and PPA optimization for the Success population. • Adaptive Prompt Strategy Selection: We introduce a self-adaptive mechanism where the selection probability of each prompt strategy is dynamically updated based on its success. This allows REvolution to intelligently allocate computational resources by prioritizing more effective prompt strategies, significantly enhancing overall search efficiency. The remainder of this paper is organized as follows. Section II covers the background. Section III details the REvolution framework. Section IV presents the experimental results. Finally, Section V concludes the paper. II Background II-A LLMs for RTL Generation Research on RTL code generation using LLMs can be broadly categorized into four key areas: data generation and augmentation [ 1 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 ] , model and fine-tuning optimization [ 1 , 3 , 5 , 6 , 10 , 12 , 15 ] , prompt engineering [ 3 , 5 , 18 ] , and framework development [ 7 , 8 , 9 , 11 , 19 , 20 ] . Each of these areas addresses different challenges in improving the quality and efficiency of RTL generation. A major challenge in this field is the lack of high-quality, domain-specific datasets. To address this, OriGen [ 11 ] proposes a “Code-to-Code” augmentation technique that refines open-source code using a teacher LLM based on newly generated descriptions. VeriLogos [ 15 ] modifies the Abstract Syntax Tree (AST) of the code to create new synthetic data. In addition to dataset enhancement, optimizing the model and fine-tuning it to embed a deeper understanding of hardware-specific characteristics is crucial. PPA-RTL [ 6 ] uses RL to directly optimize the model for post-synthesis PPA metrics. BetterV [ 1 ] combines a generative model with a discriminator that guides the output to optimize for specific EDA tasks. Prompt engineering is crucial for enhancing an LLM’s reasoning without the need for expensive retraining. Abstractions-of-Thought [ 18 ] introduces a structured three-stage prompting framework (‘classification - intermediate representation -