Would I be on the right track if I guessed there's a DSL for designing PCBs that would help enforce functional correctness?
Would I be on the right track if I guessed there's a DSL for designing PCBs that would help enforce functional correctness?
That’s probably enough for an LLM to check if you’ve mis-wired something, missed a part or chose the wrong resistor to set a regulator voltage. Plus good old DRC/ERC. If you pass all of those, there’s a good chance things will work unless your placement is really bad, but you could manually lay out and autoroute a lot of simple boards. Not to belittle the parent but a 4 layer board is actually simpler in some ways because you have a power plane which is one less net to worry about.
For analog work you can even run a SPICE simulation.
A human would have done a better job, and maybe used half the PCB... but it got it done and at the end of the day the board is 100% functional, and 100% machine designed.
After a few rounds, I gave up on asking the LLM and just drew my SVG in BBEdit.