Jeff Morehouse ·
Why PackageCompiler has an Assistant instead of an editor
In October, Taylor ended the first DeepRoute article by promising another one “about the GUI, because there isn’t one.” This is intended to be that article, and I feel compelled to open it with a correction: there is a GUI. (I work on it, so I’d like that noted.) Most of the GUI’s main window is a 3D view of your design. What it doesn’t have is any way to change the design by clicking on it: you can’t interactively push a trace, place a via, or drag a die.
To change the design, you either update the design specification — a set of text files — or you tell the Assistant — the pane in the lower right portion of the window — what you want. If you tell the Assistant, a language model reads your request and your project’s files, proposes changes to those files, and shows you the proposed modifications as a diff. You can approve the changes or modify them, compile, and when it finishes you’re looking at the new design. Then you can ask about it.
E6, one of our public examples, after I typed “Hide the ground net so I can see the signal routing and the power planes under it.” The Assistant’s reply is on the right. I spread the layers apart with the viewer’s Stack View so you can tell the planes apart (the note at the lower left says by how much).
So the main user interface is two things: a conversation, for saying what you want and asking what you got, and a viewer, for looking at it. I think this is a better way to design a package than the one most of us learned, and this article is my attempt to explain why.
Clicking has a cost. Package layout tools are historically interactive. You pick a net, click where a trace starts, click each vertex, and repeat a few thousand times. Rules (spacing, max lengths, etc.) are entered into forms and constraint spreadsheets. These tools are capable, and the people who are good with them are very good. But this method has costs that are easy to stop noticing after enough time.
The reasons are lost. The tool records what you drew, not why. “This plane is solid ground because it’s the 50-ohm reference for the traces above it” is a decision. Once it’s drawn, it’s just a polygon. A year later the polygon is still there and the reason is in an email, if it’s anywhere. (No one has ever written down their design intent as “left-click, left-click, right-click, done.”)
A change costs as much as the original. When the die’s bump map changes, as it always does, the geometries that depended on it are wrong, and someone has to redraw them. The work is proportional to the copper affected, not to the size of the change in the intent. Every alternative is days of work so people try fewer of them.
Operating the tool is its own skill. Knowing which menu holds a command, or which worksheet a constraint lives in, is knowledge about the tool, not about packages, and it takes years to build. The person who knows the package requirements often can’t drive the tool, so they write a document for someone who can, and then they wait.
A session can’t be reviewed. You can inspect the results from a day of editing, but you can’t diff the day, replay it, or check it into version control.
I think it’s telling that the most productive users of interactive layout tools tend to be the ones who script them. They’ve already decided that the canvas is the wrong place to state intent.
So, DESCRIBE THE INTENT INSTEAD. PackageCompiler takes a description of a package and compiles it. The screenshots here are of E6, a flip-chip BGA that’s one of the public examples in the product. Its whole description is seven text files: the die’s bump map (3,374 bumps), the package’s ball map (1,764 balls), a layer stack, design rules, materials, grouping labels, and a 209-line specification. None of them contains a trace or a placed via. Five of the seven are data that a package project already has in some form: the two maps, the stack, the rules, and the materials.
The specification states intent. Here is how it sets the width of the top-layer traces:
match_width:
- layers: [CU1]
width: calculate # 22.0 um from this stack at 50 ohm
target_z0: 50
It gives the impedance and leaves the width to the compiler. And here is how it ties the ground fill on that layer to the plane below it:
stitch:
to: CU2
lambda_fraction: 20
return_via_radius_um: 1000
That asks for stitching vias no more than a twentieth of a wavelength apart, plus a return via within 1 mm of every signal via that crosses the plane. In the compile I ran for this article, those three lines became 1,165 vias — nobody placed them. The wavelength comes from the rise time given elsewhere in the file, so if the rise time changes, the vias adapt, and nobody moves them manually.
The whole compile took 11 minutes 16 seconds on a 14-core, couple-year-old Mac, using only its CPU. (The router is much faster on an NVIDIA GPU, which a Mac doesn’t have.) It routed 1,044 signal connections on three layers and left no opens, it poured the power and ground planes, it ran DRC and LVS with no violations, and it wrote impedance and power-integrity reports. The price of a change of intent is a sentence and a compile, whether it moves one via or all of them.
The description is text, so you can diff changes (and a project can be connected to a Git repository). That also means the reasons can be included with the settings as comments, or in issues and pull requests. The history is available too, and it’s parseable. (In E6’s specification, 75 of the 209 lines are comments, and most of them document the “why.”)
OK, so why a language model, and not simply the files? It’s a fair question. The files are text, so you can open the specification and edit it yourself, and people do. We made the Assistant the main way to edit for three reasons.
A specification has to be learned too. Replacing dialog boxes with keys in a file is progress, but less than it sounds like. You still have to know that a key exists, what it’s called, and which file it’s in. And as packaging technology and the tool evolve, we keep adding more keys. The Assistant can read the documentation, and it reads your project, so you can say what you want and it finds the key. What comes back is a diff, and reading a diff is a much easier job than writing one. It helps us too: when we add a capability, we add a key and a page of documentation, and the Assistant can use it. There’s no dialog box for us to design, and none for you to find.
Taylor’s example was “try this routing on four layers instead of six.” E6 routes its signals on three layers, so I asked for two.
The request, the model’s reasoning, and the proposed edit to design.yaml as a diff. Nothing is written
until I click Approve.
The Assistant found the line, proposed changing layers: [CU1, CU3, CU6] to layers: [CU1, CU3], and
rewrote the comment above it to say this was a two-layer trial. It also said what might go wrong: CU6 was
used to route 211 of the 1,044 connections, CU3 was already the busiest layer, and some connections could
be left unrouted or the compile could run longer. I approved the change and also a compile and both
happened. The compile took 29 minutes 43 seconds instead of 11, and when I asked how two layers had done
against three, the answer started with, “Two layers don’t work.” The router had left 176 of the 1,044
connections unrouted, 172 of them on CU3. The Assistant put the two runs side by side in a table and
recommended putting the layer back. So, we determined that E6 needs its third layer, and finding out cost
me two sentences, two clicks, and half an hour of computer time. A routing layer is real money, so the
question was worth asking. With an interactive tool, finding out means rerouting 211 connections by hand,
which is why the question often doesn’t get asked.
The Assistant’s comparison of the two runs, taken from the compile log and the DRC and LVS results.
Files don’t answer questions. After the first compile I asked, “Did it pass? Give me the numbers, and tell me what to look at first.” The Assistant read the compile log, the DRC and LVS results, and the power-integrity report, and answered with a table: 1,044 connections routed and none open, no violations across 68,937 shapes, all 12 power nets inside their voltage-drop budget. Then it told me something I hadn’t asked about. A comment in E6’s specification said four vias on the VDDC rail exceeded their current limit (they were there to show what a flagged via looks like). They didn’t exceed it anymore: the worst two were at 97% of the limit, so our comment was out of date. I checked the report, and it was right. (It was a leftover part of the original example, so we fixed it.)
In an interactive tool, each of those answers lives in a different report or panel that you have to know exists and go find, and none of them compares the result with what the designer expected and wrote down.
It can show you. The Assistant has tools that drive the viewer. For the picture at the top of this article I typed, “Hide the ground net so I can see the signal routing and the power planes under it.” It found the label that covers ground on both the package and the die and hid it, and the 3D view changed. It can also color a net, zoom to a pin, look from any of six sides, and draw arrows to the things it’s talking about. The viewer has buttons and a Display tab for all of this, and I like them, but saying what you want to see is still often quicker than finding the checkbox (and when it’s not, the checkbox is still there).
Why there’s still a viewer. Language is a poor way to take in geometry. Whether an escape pattern is sensible, where the routing is crowded, which plane sits under which trace — those are questions you answer by looking. So most of the window is the 3D view, and you can orbit it, zoom it, and spread its layers apart to see between them. It’s there for reading the design, not for editing it.
What the model doesn’t do. I wouldn’t trust a language model to route a package, yet, and ours isn’t asked to. It doesn’t place vias or draw traces; it reads the project and reports on it. It can propose exactly two things to change the project: a modification to a source file, which you see as a diff and approve or deny, and a compile, which you also approve. The routing, the pours, and the checks are done by the compiler, which treats a specification the same way no matter who wrote it. If the model proposes something wrong, it’s wrong the same way a person’s edit would be: in a diff you can read before it’s applied, and DRC and LVS still check the result afterward.
(It doesn’t ask before changing a color. Display changes aren’t saved until you click Save, and I have yet to hear of a failed tapeout due to a net being the wrong shade of blue.)
You also choose the model. The Assistant works with your own key for Anthropic, OpenAI, Gemini, or OpenRouter. There’s a free shared model for trying it out, but it isn’t private, so a confidential design shouldn’t go through it. Also, it’s not nearly as smart as the paid options.
What it’s not good at yet. Eleven minutes isn’t interactive. If you want to move one trace a little, an interactive tool does that in a second, and PackageCompiler has no tool for it at all. Instead, you change the rule that produced the trace, not the trace itself. I think that’s the right trade for most changes, but a designer with one hand-tuned exception in mind will miss the mouse.
The model can also be wrong, so you have to read what it says. In the same answer that caught our stale comment, the Assistant told me the ground fill on one layer had lost “a lot of ground copper.” Its numbers were right: 78 fragments, 3.26 square millimeters. But the package is more than 41 mm on a side, so that’s under 0.2% of the layer, which isn’t a lot. The figures came from the log, but the judgment was the model’s.
And there are things the Assistant can’t currently point at. It can find and show a net, a pin, or a component by name, but it can’t do that yet for a single via or for one shape on a layer.
Try it. PackageCompiler is in beta. To get access, use the “Demo” button at
zeroasic.com/packagecompiler (make sure to include your organization’s name and a
note explaining your interest). Once you’re in, add a key for a more capable model in Model Settings
first (I used Anthropic’s for this article), because the free default isn’t nearly as good. E6 is one of
the examples, so open it, type /compile, and when it finishes, ask whether it passed. It may have
notes.


