Electronic – Code based tools for drawing schematics

schematics

Is there any code based tools for drawing schematics. I only need to draw some simple diagram, including some 16pin Microcontroller, wire, power supply…

I'd like to use code to specify the pin and components, and let the software do the layout for me. Kinda like define a graph with graphviz dot format.

Some thing I have in mind is:

define a Microcontroller
pin1.label="Vcc"
pin1.goto=other components

How can I design a circuit using a text based format?

Best Answer

You should take a look at skidl which uses python to design and test a circuit and it will create the netlist https://github.com/xesscorp/skidl