Mail Archives: geda-help/2016/07/22/12:06:34
On 07/22/2016 09:28 AM, Keantoken (keantoken AT yahoo DOT com) [via geda-help AT delorie DOT com] wrote:
> It's just a normal SPICE netlist. Some other PCB packages accept it.
gnetlist will output a SPICE netlist from a schematic.
Getting from SPICE to pcb netlist the last thing on this list looks promising...
Claims (I've not tried it yet)
No one came up with anything in 2008:
http://forum.allaboutcircuits.com/threads/convert-spice-netlist-to-schematic-view.9425/
Then DJ comments in 2015:
PCB has File->Import option that reads a script that builds the design
by specifying all the footprints required, the netlist, and the
attributes for everything. It's a plain text file made up of "actions"
(pcb functions) which are documented in the PCB manual. You can hook
the File->Import button to a Makefile if you want to import from
something other than gschem.
PCB's manual is at http://pcb.geda-project.org/manual.html (look for
the "Action Reference" section, the Import() action)
I'll add a sample script from my "rainbow LED" project for reference.
http://www.delorie.com/electronics/rainbow/ (all the nets are unnamed in
this project, hence the "unnamed_netN" instead of names like "GND" or
"VCC" :)
Netlist(Freeze)
Netlist(Clear)
Netlist(Add,unnamed_net12,LED8-2)
Netlist(Add,unnamed_net12,TMINUS-1)
Netlist(Add,unnamed_net12,LED7-2)
Netlist(Add,unnamed_net11,LED7-1)
Netlist(Add,unnamed_net11,LED6-2)
Netlist(Add,unnamed_net10,R2-1)
Netlist(Add,unnamed_net10,U2-7)
Netlist(Add,unnamed_net10,U2-6)
Netlist(Add,unnamed_net10,U2-3)
Netlist(Add,unnamed_net10,U2-2)
Netlist(Add,unnamed_net9,LED6-1)
Netlist(Add,unnamed_net9,LED5-2)
Netlist(Add,unnamed_net8,LED5-1)
.
.
.
Seems like a lot of manual work to convert from SPICE netlist to the above list of cammands though.
Then there's more comments
Johann Klammer 11/5/15 This kinda works now... <https://github.com/klammerj/ltc2pcb>
"This is a program which converts
wire lists, as output by the ltspice program's
Tools->Export Netlist function,
to command scripts for importing
into the pcb layout program.. "
JG[ instead of all manual...]
a103 DOT DOT DOT AT gmail DOT com Apr 23 2016 This works too for importing LT-Spice .asc files into gschem .sym format:
http://github.com/erichVK5/translate2geda
translate2geda
A utility for converting:
Kicad (.mod, .lib) (refactoring in progress, please use kicadModule2geda or kicadSymbol2geda)
Eagle (.lbr) (mostly working, minus polygons)
BXL (.bxl) (working)
IBIS (.ibs) (working)
gschem symdef (working), and
BSDL (.bsd) (working)
LT-Spice (.asc) (working)
QUCS (.sch) (nets convert, and preliminary symbol support working)
gerber file (.gbr, .gbo, .gto, .gbs, .gts, .gbl, .gtl, .pho) ... a preliminary implementation
- Raw text -