Small Rewriter Benchmark
Models rewrite short Verilog designs to reduce hardware use. The authors compare synthesized cell and wire counts and check whether the circuits preserve behavior.
RTLScout ran 14 of the 55 cases and released 56 designs across two source languages and two optimization objectives.
- Made by
- Chinese University of Hong Kong and Huawei
- Kind
- Electronics
- Level
- University
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Efficiency
- Language
- English
- Interaction
- Single turn
- Refresh
- One fixed set
- Run by
- Anyone
- Last model added
- November 2023
- Updated automatically
- No, from its paper
- Scores refreshed
- November 20th, 2026
In the authors’ words
Register Transfer Level (RTL) code optimization is crucial for enhancing the efficiency and performance of digital circuits during early synthesis stages. Currently, optimization relies heavily on manual efforts by skilled engineers, often requiring multiple iterations based on synthesis feedback. In contrast, existing compiler-based methods fall short in addressing complex designs. This paper introduces RTLRewriter, an innovative framework that leverages large models to optimize RTL code. A circuit partition pipeline is utilized for fast synthesis and efficient rewriting. A multi-modal program analysis is proposed to incorporate vital visual diagram information as optimization cues. A specialized search engine is designed to identify useful optimization guides, algorithms, and code snippets that enhance the model ability to generate optimized RTL. Additionally, we introduce a Cost-aware Monte Carlo Tree Search (C-MCTS) algorithm for efficient rewriting, managing diverse retrieved contents and steering the rewriting results. Furthermore, a fast verification pipeline is proposed to reduce verification cost. To cater to the needs of both industry and academia, we propose two benchmarking suites: the Large Rewriter Benchmark, targeting complex scenarios with extensive circuit partitioning, optimization trade-offs, and verification challenges, and the Small Rewriter Benchmark, designed for a wider range of scenarios and patterns. Our comparative analysis with established compilers such as Yosys and E-graph demonstrates significant improvements, highlighting the benefits of integrating large models into the early stages of circuit design. We provide our benchmarks at https://github.com/yaoxufeng/RTLRewriter-Bench.
GPT-4V leads with 152.8 GPT-4V leads with 152.8
Best score per entry from the benchmark's paper, read on November 20th, 2026. A paper’s table doesn’t add newer models. The headline is the geometric mean wire count on the 14 short circuits in Table 4. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-4V | 152.8 | RTLRewriter | Nov 2023 | Official leaderboard |
| 2 | GPT4 (snapshot unspecified) | 189.2 | Official leaderboard | ||
| 3 | Claude3 | 195.6 | Official leaderboard | ||
| 4 | RTLCoder | 222.6 | Official leaderboard | ||
| 5 | VeriGen | 222.7 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-4V | 152.8 | RTLRewriter | Nov 2023 | Official leaderboard |
Everything the board measures
The benchmark’s paper publishes 32 numbers for each entry: the headline score, 14 parts of the test and 17 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Parts
- case1 wires
- case2 wires
- case3 wires
- case4 wires
- case5 wires
- case6 wires
- case7 wires
- case8 wires
- case9 wires
- case10 wires
- case11 wires
- case12 wires
- case13 wires
- case14 wires
- Other measures
- Geometric mean cells
- Wire ratio
- Cell ratio
- Cell count, test case 1
- Cell count, test case 2
- Cell count, test case 3
- Cell count, test case 4
- Cell count, test case 5
- Cell count, test case 6
- Cell count, test case 7
- Cell count, test case 8
- Cell count, test case 9
- Cell count, test case 10
- Cell count, test case 11
- Cell count, test case 12
- Cell count, test case 13
- Cell count, test case 14
Nothing matches.
- Headline
- Headline score
- Parts
- case1 wires
- case2 wires
- case3 wires
- case4 wires
- case5 wires
- case6 wires
- case7 wires
- case8 wires
- case9 wires
- case10 wires
- case11 wires
- case12 wires
- case13 wires
- case14 wires
- Other measures
- Geometric mean cells
- Wire ratio
- Cell ratio
- Cell count, test case 1
- Cell count, test case 2
- Cell count, test case 3
- Cell count, test case 4
- Cell count, test case 5
- Cell count, test case 6
- Cell count, test case 7
- Cell count, test case 8
- Cell count, test case 9
- Cell count, test case 10
- Cell count, test case 11
- Cell count, test case 12
- Cell count, test case 13
- Cell count, test case 14
Nothing matches.
- Headline
- Headline score
- Parts
- case1 wires
- case2 wires
- case3 wires
- case4 wires
- case5 wires
- case6 wires
- case7 wires
- case8 wires
- case9 wires
- case10 wires
- case11 wires
- case12 wires
- case13 wires
- case14 wires
- Other measures
- Geometric mean cells
- Wire ratio
- Cell ratio
- Cell count, test case 1
- Cell count, test case 2
- Cell count, test case 3
- Cell count, test case 4
- Cell count, test case 5
- Cell count, test case 6
- Cell count, test case 7
- Cell count, test case 8
- Cell count, test case 9
- Cell count, test case 10
- Cell count, test case 11
- Cell count, test case 12
- Cell count, test case 13
- Cell count, test case 14
Nothing matches.
- OpenAI
- not in our model list
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official Small Rewriter Benchmark leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Engineering and CAD
- EEBench In use 13 electrical-engineering circuit and PCB design tasks graded by deterministic build checks, simulation and BOM constraints. No LLM judge.
Gemini 4 Carbon 83.9%
- 3DCodeBench In use Agentic procedural 3D modeling via code: author engine-ready 3D assets through software APIs. Graded for executability and shape fidelity.
LongCat-2.5 55.4%
- CADGenBench Only in system cards Agents construct CAD models from design prompts. The generation split is graded for executability and geometric correctness. Claude Fable 5 45.1%
- CADmium Fusion 360 Reconstruction Only in system cards Models reconstruct CAD parts from text descriptions of Fusion 360 designs. The authors measure shape distance and count invalid outputs. CADmium-3B 191.9
- PartBench Only in system cards Parametric mechanical part design and CAD-style generation, graded for geometric and manufacturing fidelity. Grok 4.6 58.5%
- Razavi-Bench Not in model cards Models explain what happens in analog circuits and why. A language model awards up to four points per answer against a reference and a rubric.
Gemini 4 Carbon 98.3%
Data audit
8 of 9 checks pass, 1 warning. Look first at the Newest score check. The newest came 3 years ago, in November 2023, for GPT-4V. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 2 pass 2 notes
- Pass Independent runs Scores from the benchmark’s paper (5 entries).
- Pass Models scored 1 model we track, plus 4 other entries on its leaderboard.
- Warning Newest score The newest came 3 years ago, in November 2023, for GPT-4V.
- Note Frontier models None of its models are on the capabilities index.
- Note Headroom Scored as a plain number, with no fixed ceiling.
Leaderboard import 3 pass
- Pass Importer We read the board on arxiv.org: 1 row for models we track and 4 other entries at the last read.
- Pass Last read November 20th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.