Automated QoR improvement in OpenROAD with coding agents
The paper introduces AuDoPEDA, an autonomous coding agent framework that leverages LLMs to independently propose and implement code improvements in the OpenROAD EDA tool, achieving significant reductions in wirelength, clock period, and power consumption.
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 trying to teach a high-school student to become a master chef in a world-class, Michelin-star kitchen.
The kitchen is massive, the recipes are written in complex code, the tools are highly specialized, and if the student makes one tiny mistake—like adding too much salt or turning the heat too high—the entire five-course meal is ruined. Usually, you’d need a master chef (a senior engineer) to stand over their shoulder for years to teach them.
This paper, AuDoPEDA, describes a way to build an "AI Sous-Chef" that can teach itself how to run that kitchen and, more importantly, how to actually improve the recipes to make the food taste better.
Here is how they did it, broken down into four simple steps:
1. The "Library & Map" Phase (The Onboarding)
Most AI models are like students who have read a lot of Wikipedia but have never stepped into a real kitchen. They know what "salt" is, but they don't know where the salt is kept in this specific kitchen or how this specific stove works.
The researchers first gave the AI a "map" of the entire kitchen (the OpenROAD software). They used a tool to scan millions of lines of code and turned it into a structured guidebook. Instead of just reading raw text, the AI now understands: "If I turn this knob (a piece of code), it affects this burner (a specific function), which eventually changes the temperature of the soup (the final chip design)."
2. The "Recipe Research" Phase (The Planning)
Once the AI knows where everything is, it doesn't just start cooking randomly. It goes to the "library" to read professional culinary textbooks (scientific research papers).
It combines what it learned about the kitchen with what it learned from the textbooks to come up with a plan. It doesn't just say, "I'll make the soup better." It says, "Based on this textbook, if I slightly increase the simmering time and reduce the liquid, the flavor will be more concentrated. I will test this by changing exactly these three ingredients."
3. The "Precision Prep" Phase (The Localization)
Before the AI touches a single ingredient, it creates a very detailed "prep list." It identifies exactly which knife to use, which pan to grab, and—most importantly—it sets safety rules. It decides: "If the soup gets too salty, I will immediately pour in more broth to fix it," or "If the stove catches fire, I will stop everything and revert to the original recipe."
4. The "Taste Test" Phase (The Execution & Feedback)
This is where the magic happens. The AI actually "cooks" (writes and runs the code). But it doesn't just finish and walk away. It performs a rigorous "Taste Test" (called QoR or Quality of Results).
It measures the "flavor" using three main metrics:
- Wirelength (The Ingredients): Is the layout efficient, or is it a messy pile of spaghetti?
- Clock Period (The Timing): Is the food being served at the right speed, or is it too slow?
- Power (The Energy): Is the kitchen using too much gas to cook this meal?
If the "taste" is better, the AI keeps the change. If the "taste" is worse, the AI realizes its mistake, looks at the "burnt" dish, learns why it happened, and tries a different recipe.
The Result: A Self-Improving Kitchen
The researchers found that the AI didn't just make small tweaks; it actually discovered better ways to "cook" computer chips. It managed to:
- Reduce "spaghetti" wiring by up to 5.9%.
- Speed up the "service" (timing) by up to 10%.
- Lower the "gas bill" (power consumption) by up to 19.4%.
The Big Picture: Instead of humans spending years manually tweaking complex software to make chips faster and more efficient, we are building AI "engineers" that can read the manuals, study the science, and teach themselves how to build better technology.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.