Synthesis-in-the-Loop Evaluation of LLMs for RTL Generation: Quality, Reliability, and Failure Modes
This paper introduces a synthesis-in-the-loop evaluation framework using the Hardware Quality Index (HQI) to assess 32 language models on RTL generation, revealing distinct performance tiers and systematic failure modes that highlight the gap between functional correctness and hardware implementation quality.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are hiring a team of architects to design a house. In the past, you might have just asked them to draw a picture of the house and checked if the drawing looked nice. If the drawing had a roof and doors, you'd say, "Great job!"
But in the real world of building chips (the brains of computers), a pretty drawing isn't enough. The design must be buildable, efficient, and safe. If the architect draws a wall made of glass that can't actually be built, or a staircase that takes up too much space, the whole project fails.
This paper is like a rigorous inspection report for 32 different "AI Architects" (Large Language Models) who are trying to write the blueprints for computer chips. Instead of just checking if the AI's drawing looks right, the researchers built a special testing machine that tries to actually build the design to see if it works.
Here is the breakdown of their findings using simple analogies:
1. The "Build-It" Test (Synthesis-in-the-Loop)
Most previous tests for AI coding were like a spelling bee: they checked if the AI wrote the words correctly (syntax) and if the story made sense (simulation).
This paper added a "construction phase." They took the AI's code and ran it through a factory process (called synthesis) that turns the code into a physical chip blueprint.
- The Result: Many AIs passed the "spelling bee" but failed the "construction." They wrote code that looked correct but would crumble if you tried to build it.
- The New Score: They created a "Hardware Quality Index" (HQI). Think of this as a score from 0 to 100 that measures not just if the design works, but how efficiently it uses space and time, and how many warnings the factory gave them.
2. The Three Tiers of Architects
When they ranked the 32 AI models, they didn't find a smooth line from "bad" to "good." Instead, the models fell into three distinct groups, like three different leagues of sports teams:
- The Elite League (Tier 1): These 14 models are the "Master Architects." They consistently produce designs that are not only buildable but highly efficient. The top performer, Gemini-3-Pro, scored an impressive 85 out of 100.
- The Amateur League (Tier 2): These 15 models are "Juniors." They can build simple houses, but when the design gets complex, they start making mistakes. They are about 10 points behind the Elite League.
- The Novice League (Tier 3): These 3 models are "Interns." They struggle to even finish the basic structure. Their designs often fail the construction test entirely.
3. The "Best-of-Five" vs. "First Try" Problem
Imagine you ask an architect to design a house.
- The "Best-of-5" Score: If you ask the architect to draw 5 different versions and pick the best one, they might do a great job.
- The "First Try" Score: If you only let them draw one version and you have to use that immediately, the quality often drops significantly.
The paper found a huge gap here. Some models could produce a masterpiece if you gave them five tries, but their first attempt was often mediocre.
- Why this matters: In the future, we want AI agents that work automatically (like a robot that designs a chip and moves to the next step without a human checking). If the robot has to wait for five tries to get a good result, it slows everything down. The paper says these AIs aren't quite ready for that "robot" job yet because their first try isn't reliable enough.
4. How They Fail: The "Late" vs. "Early" Crash
The researchers looked at why the designs failed and found a funny pattern based on where the AI came from:
- Proprietary Models (The Big Tech Companies): These AIs are like students who studied very hard but got confused on the final exam. They usually write code that looks perfect at first, but when the factory tries to build it, they hit a wall late in the process (like realizing a door is in the wrong place after the walls are up).
- Open-Weight Models (The Community Projects): These AIs are like students who skipped the basics. They fail very early. They often forget to put the "wrapper" around the design or try to use materials that don't exist in the real world (like trying to build a bridge out of water).
The paper suggests this happens because the "Open" AIs were trained mostly on code that was meant for testing (simulations), while the "Proprietary" AIs seem to have seen more code meant for building (synthesis).
5. Cost vs. Quality
Finally, they checked the price tag.
- The Expensive Trap: Some of the most expensive AI models (like the ones that spend a lot of time "thinking" before answering) were not the best at building chips. They were slow and costly but didn't produce better blueprints.
- The Value Pick: Some cheaper, faster models (like Gemini-3-Flash) produced top-tier designs for a tiny fraction of the cost. It turns out, for this specific job, "thinking harder" didn't mean "building better."
The Bottom Line
This paper tells us that while AI is getting very good at writing code that looks right, it still struggles to write code that is ready to build. To use AI for designing real computer chips, we need to stop just checking if the code passes a test, and start checking if it can actually be manufactured efficiently. Until the "First Try" reliability improves, we can't fully trust these AI architects to work alone.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.