delorie.com/archives/browse.cgi | search |
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 17:09:14 +0100 (CET) |
From: | Roland Lutz <rlutz AT hedmen DOT org> |
To: | "N (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Subject: | Re: [geda-user] gnetlist, attributes |
In-Reply-To: | <20191214172404.6663931f1c12829227071ee1@gmail.com> |
Message-ID: | <alpine.DEB.2.20.1912161653300.3332@nimbus> |
References: | <20191214172404 DOT 6663931f1c12829227071ee1 AT gmail 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 Nicklas, On Sat, 14 Dec 2019, N (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > Is it possible to include any attributes in the netlist? including additional attributes in the netlist requires that 1. the netlist format in question has a way of representing extra attributes and 2. the netlist backend supports including extra attributes in the generated netlist. The tEDAx netlist format supports "tags" on a components[0] which can be used for extra attributes, and the tEDAx backend in gEDA/gaf implements this. By default, only the footprints= attribute is included in this way, but the list can easily be changed (see line 73 in gnet_tedax.py[1]). For example, if you wanted to include the customattr= attribute in the netlist, you would change the line - for attr_name in ['footprints']: to + for attr_name in ['footprints', 'customattr']: Roland [0] http://repo.hu/projects/tedax/netlist.html [1] https://github.com/rlutz/geda-gaf/blob/1.10.0-20191008/xorn/src/backend/gnet_tedax.py#L73
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |