Re: gEDA-user: gnetlist backend

2011-06-11 Thread John Doty
On Jun 9, 2011, at 9:50 PM, Frank Thomson wrote: > The netlist requires these PADS in the top level schematic be listed at the > top of the netlist file, normally I can access pins of an instance by passing > a uref to one of the gnetlist primitives (forget which one) and getting back > a list

Re: gEDA-user: gnetlist backend

2011-06-10 Thread frank
> Original Message >Subject: Re: gEDA-user: gnetlist backend >From: Dan White >Date: Thu, June 09, 2011 9:29 pm >To: gEDA user mailing list > > >Since pins are only valid in symbols, give the xPADS component >instances an attribute to key on. Check

Re: gEDA-user: gnetlist backend

2011-06-10 Thread Dan White
On Thu, Jun 9, 2011 at 10:50 PM, Frank Thomson wrote: >> I'm not quite sure what you're asking, but perhaps >> (gnetlist:graphical-objs-in-net-with-attrib-get-attrib) is the function you >> seek. > > > hierarchical) we have a top level schematic with instances (gates and > modules we've designed )

Re: gEDA-user: gnetlist backend

2011-06-09 Thread Frank Thomson
I'm not quite sure what you're asking, but perhaps (gnetlist:graphical-objs-in-net-with-attrib-get-attrib) is the function you seek. Sorry for being unclear (one of those days at work) so let me try again... I'm using gschem for an IC design and writing a gnetlist backend to produce a part

Re: gEDA-user: gnetlist backend

2011-06-09 Thread John Doty
On Jun 9, 2011, at 4:18 PM, wrote: > I'm working on a backend for gnetlist and have a minor problem, the top > level schematic has IPAD/OPAD/IOPADs that i need to list in the netlist > but I can't find a way to directly address the top level schematic, it > doesn't seem to have a uref

gEDA-user: gnetlist backend

2011-06-09 Thread frank
I'm working on a backend for gnetlist and have a minor problem, the top level schematic has IPAD/OPAD/IOPADs that i need to list in the netlist but I can't find a way to directly address the top level schematic, it doesn't seem to have a uref I can use to reference it. It does have a

Re: gEDA-user: gnetlist backend for xml-bom generation

2009-02-25 Thread Mike Crowe
Thanks I know so little about scheme that I don't know what's needed and what's not! On Wed, 2009-02-25 at 21:18 +, Peter TB Brett wrote: > On Wednesday 25 February 2009 19:22:37 Mike Crowe wrote: > > >(define xmlsearchandreplace > > (lambda (s1 sstring rstring spos) > >(let ((fpos1

Re: gEDA-user: gnetlist backend for xml-bom generation

2009-02-25 Thread Peter TB Brett
On Wednesday 25 February 2009 19:22:37 Mike Crowe wrote: >(define xmlsearchandreplace >  (lambda (s1 sstring rstring spos) >        (let ((fpos1 (string-contains s1 sstring spos))) >                (if fpos1   >                (begin >                        (xmlsearchandreplace (string-insert s1

Re: gEDA-user: gnetlist backend for xml-bom generation

2009-02-25 Thread Mike Crowe
Hi guys In my part of the world it's been Mardi Gras, so I've been out of the office. Sorry for the late reply. Thank Peter for your input it helped lots. I really started understanding things better once I figured out the "gnetlist backend->guile->scheme->lisp" lineage. After following the exa

Re: gEDA-user: gnetlist backend for xml-bom generation

2009-02-23 Thread Peter Clifton
On Tue, 2009-02-24 at 00:03 +, Peter Clifton wrote: > Don't ask me to figure out what functions are required to find / split > the string. You might find something suitable here though: > > http://srfi.schemers.org/srfi-13/srfi-13.html This page looks like it might contain some useful snippe

Re: gEDA-user: gnetlist backend for xml-bom generation

2009-02-23 Thread Peter Clifton
On Mon, 2009-02-23 at 16:55 -0600, Mike Crowe wrote: > Hello all > > I've generated a preliminary gnetlist backend for generating an xml > based bill of materials. > > It seems to be working except that I have to filter the file with sed > after generating the netlist to convert "&" to "&". > > T

gEDA-user: gnetlist backend for xml-bom generation

2009-02-23 Thread Mike Crowe
Hello all I've generated a preliminary gnetlist backend for generating an xml based bill of materials. It seems to be working except that I have to filter the file with sed after generating the netlist to convert "&" to "&". Two questions 1) Does anyone know how to do this filter conversion dire