delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2016/07/22/12:06:34

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Subject: Re: [geda-help] LTspice netlist to PCB
To: geda-help AT delorie DOT com
References: <1977561731 DOT 3697398 DOT 1469195425596 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com>
<1977561731 DOT 3697398 DOT 1469195425596 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com>
<alpine DOT DEB DOT 2 DOT 00 DOT 1607221615200 DOT 7286 AT igor2priv>
<301009493 DOT 3760756 DOT 1469197681419 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com>
From: "John Griessen (john AT ecosensory DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Message-ID: <85e46f71-2c90-43f3-7cca-1d6010b60e2b@ecosensory.com>
Date: Fri, 22 Jul 2016 11:06:03 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Icedove/45.1.0
MIME-Version: 1.0
In-Reply-To: <301009493.3760756.1469197681419.JavaMail.yahoo@mail.yahoo.com>
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019