delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2019/12/16/11:15:25

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Mon, 16 Dec 2019 16:53:22 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] gnetlist, attributes
In-Reply-To: <87sglmtr4l.fsf@gag.com>
Message-ID: <alpine.DEB.2.20.1912161631250.3332@nimbus>
References: <20191214172404 DOT 6663931f1c12829227071ee1 AT gmail DOT com> <59B26BA0-D385-4C52-A65C-82AFAE39B470 AT noqsi DOT com> <20191214195933 DOT 71b2dbd5069bc948f48af760 AT gmail DOT com> <CAHUm0tMpSOe4KYp2hLKwqgrCMs1WfaEgf2yXrD3JmskCL+eF1A AT mail DOT gmail DOT com>
<20191214230741 DOT 98800b1957f2c34454c9d7a6 AT gmail DOT com> <87sglmtr4l DOT fsf AT gag DOT com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi Bdale,

On Sat, 14 Dec 2019, Bdale Garbee wrote:
> FYI, I wrote the tEDAx export module for lepton-netlist.

I took the liberty of translating your backend to Python[0].  While doing 
so, I noticed some things which I'd like to suggest as improvements:

* The "pinname"/"pinidx" lines implemented by the tEDAx netlist block can 
be easily derived from gEDA's pinnumber=/pinseq= attributes.

* It may be desireable to omit "footprint"/"device"/"value" lines if the 
corresponding attribute is unset instead of using "UNKNOWN"/"unknown" as 
special values.

* The tEDAx format requires spaces and some special characters in data 
fields to be escaped.[1]

You may want to have a look at gEDA/gaf's tEDAx backend[2] for reference.

Roland


[0] https://github.com/rlutz/xorn/blob/tedax-bdale/src/backend/gnet_tedax_bdale.py
[1] http://repo.hu/projects/tedax/syntax.html
[2] https://github.com/rlutz/geda-gaf/blob/master/xorn/src/backend/gnet_tedax.py

- Raw text -


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