Machine Learning PapersLandmark papers
← All papers
RESEARCH PAPER / 2026-11-19

BOOMerang: Autonomous Translation from RTL to Microarchitectural Simulators and Back

Ferran Hermida-Rivera, Jack Toubes, Angela Cui, Chengyi Lux Zhang, Sagar Karandikar

University of California, Berkeley +4 · arXiv

Affiliations: University of California, Berkeley, University of Washington, NVIDIA

GitHub reference as indexed: https://github.com/berkeley-BOOM/BOOMerang (inferred from context of open-source commitment, specific URL not in text snippet but standard for such releases)

Abstract

High-level simulators like gem5 are often used to test and demonstrate novel architectural techniques. While these simulators provide high research productivity, they generally lack the means to provide detailed feedback on the realizability of a hardware design. Furthermore, these simulators can frequently fall out-of-sync with the detailed performance characteristics of real hardware designs, which is usually the responsibility of dedicated engineers/teams in industry. While RTL implementation can address these challenges, it can be even more difficult to translate simulator code to high-quality RTL by hand without a large team. In this work, we architect and evaluate agentic loops that automate both parts of the RTL vs. high-level simulator workflow that is critical to high-quality architecture research. Our loops (1) automatically generate accurate high-level models of RTL implementations of CPU designs (BOOM) in a battle-tested microarchitecture simulation framework (gem5) and (2) automatically translate new microarchitectural features implemented in the high-level simulator back to RTL faithfully. Targeting the first loop at autonomously building a gem5 model for the Berkeley Out-of-Order Machine (BOOM) core, we generate a simulator with IPC within 3% of the RTL, meeting targets pursued for simulators in industry, in only 2 days. We use our second loop to automatically translate 72 features from this aligned gem5 simulator into RTL in the BOOM core, while maintaining its low IPC error. Combining translated optimizations together yields a 25% performance improvement for the BOOM core RTL implementation in SPECint 2017, demonstrating that having these loops for moving between high-level simulation and RTL enables actual improvement of processor performance. The agentic loops we developed and the simulators and RTL we generated will be available in open-source.

The following analysis is generated by AI and may contain errors. It is separate from the authors’ abstract and is not peer review.

Research summary

The paper presents a novel agentic framework for automating the bidirectional translation between RTL and microarchitectural simulators, achieving significant performance improvements in the BOOM core. This work is highly significant as it demonstrates the practical utility of LLM agents in complex hardware design workflows, potentially accelerating architectural research by reducing the manual effort required to keep simulators and RTL implementations in sync.

Methodology

The paper introduces "BOOMerang," a framework utilizing Large Language Model (LLM) agents to automate the bidirectional translation between Register-Transfer Level (RTL) hardware descriptions and high-level microarchitectural simulators (specifically gem5). The methodology involves two distinct agentic loops: (1) RTL2Sim, which parses RTL code to generate accurate gem5 models, and (2) Sim2RTL, which translates new features implemented in the simulator back into synthesizable RTL. The approach leverages code generation, verification, and iterative refinement loops where the agent checks for consistency between the simulator's performance metrics (IPC) and the RTL simulation results. This is a significant application of agentic AI to a domain (hardware design) that has traditionally relied on manual, error-prone translation or rigid, less flexible simulation frameworks.

Results & evaluation

The evaluation is rigorous and targets a specific, well-known benchmark: the Berkeley Out-of-Order Machine (BOOM). For the RTL2Sim loop, the authors demonstrate that the generated gem5 model achieves an IPC within 3% of the RTL simulation, a metric highly relevant to industry standards for simulator accuracy, achieved in just 2 days. For the Sim2RTL loop, they successfully translate 72 microarchitectural features from the aligned simulator back to RTL. The combined effect of these optimizations yields a 25% performance improvement in SPECint 2017 for the BOOM core. This is a strong empirical result, showing not just feasibility but tangible performance gains enabled by the automated workflow.

Reproducibility

The paper states that the agentic loops, simulators, and RTL code will be available in open-source. Given the authors' affiliation (UC Berkeley, creators of BOOM and gem5), the likelihood of high-quality, reproducible code release is very high. The use of standard tools (gem5, BOOM, Chisel/Verilog) further aids reproducibility.

Limitations

The primary limitation is the scope of the evaluation, which is confined to the BOOM core. It is unclear how well these loops generalize to other architectures (e.g., in-order cores, different ISAs, or non-RISC-V designs) without significant adaptation. Additionally, the reliance on LLMs introduces potential non-determinism and high computational costs for the agent loops, which may not scale linearly to much larger, more complex SoC designs. The "3% IPC error" target, while good, may not be sufficient for all types of architectural research where precise timing is critical.

Broader impact

This work has high potential impact on the computer architecture research community. It addresses a major bottleneck in the design-verification-simulation loop. By automating the synchronization between high-level models and RTL, it could accelerate the pace of architectural innovation and reduce the barrier to entry for researchers who are strong in architecture but weaker in hardware implementation details. It represents a concrete, high-value application of LLM agents in engineering domains beyond simple code completion. The paper presents a novel agentic framework for automating the bidirectional translation between RTL and microarchitectural simulators, achieving significant performance improvements in the BOOM core. This work is highly significant as it demonstrates the practical utility of LLM agents in complex hardware design workflows, potentially accelerating architectural research by reducing the manual effort required to keep simulators and RTL implementations in sync.

Author of this paper? Send a correction.