Hacker News new | ask | show | jobs
by just_mc 8 days ago
I've been doing a lot of work in this area over the last few weeks. I started out using Koppar and the initial results were quite impressive. However, as the board gets more complicated, it will fall over pretty quickly. I have had good success using Claude Opus with the KiCAD Routing Tools placer and router. From what I have seen, routing is pretty strong, but placement is fairly weak. I had Claude build some tools to perform basic analysis on the floorplan fed to the placer and this improved the outcome quite a bit. Also, I put quite a bit of effort into having Claude perform simulations using ngspice and OpenEMS and this feedback loop seems to have provided a great deal of value. I just ordered the first round of boards, so in a few weeks we will see how it all turned out.
2 comments

I've also started with Kicad and KRT - but found it took too long for eg my 4-layer (compact ~200x100mm) keyboard using PG1316S. The model had to reason soooo much about placement and bottlenecks and manually fix them, retry, keep some copper, reroute something else.

So (well... Codex/Claude :) ) are working on a "Pcb Design Compiler" (PDC) - it's not quite ready yet to be released but hopefully within a week. I tried running their prompt through Opus 5.5 (one-shot but my VM died):

https://github.com/thingsapart/koppar-modem-bench/tree/main

It's missing _a lot_ but this is what I got from just their prompt without _any further_ prodding or specifying anything. Afaict, Opus didn't really read the data-sheets without further prodding - the power supply section doesn't look correct, probably missing reference design passives and more.

I tend get more boards routed faster with PDC than KRT, but I don't know EE and have the models do everything.

Thanks so much for the feedback. I'm improving it everyday; I've been working exclusively on placement for the last 2 weeks, but yeah, in Claude Code that part is still better handled.