X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Amavis-Modified: Mail body modified (using disclaimer) - mta-out01.sim.rediris.es Date: Sun, 20 Sep 2020 19:06:07 +0200 From: "Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com]" To: "N (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] lepton-netlist add attribute for net Message-ID: <20200920170607.GA15542@lt-gp.iram.es> References: <20200916195416 DOT 5c5aab17c30822d03dfc8ba9 AT gmail DOT com> <20200917095850 DOT GB7713 AT lt-gp DOT iram DOT es> <20200920144750 DOT 5a9de3596330ef35d25f99b9 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200920144750.5a9de3596330ef35d25f99b9@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=iram.es; s=DKIM; c=relaxed/relaxed; h=date:from:to:subject:message-id:references:mime-version:content-type; bh=6ilgpPwEd0Bx7Vw9rlGXR4RaD8I035icfICD4oRA2BY=; b=e46gu04DVHN12AMDxusKSyDhrxO0uE/pnD/QeXX8gtlUiXftb8Be69i1OAIAsr3TrzxrpuszwtJy UA4kxLgEgvK6X3ogStKnppSu5Dy8dwM8Rat5SmVpNyZ2jIjqseojoCpoWRyk/9hbz5KM7BFmTLER i4LNFV/ZMIWWwXs5p5nHvTUpqsz2cDl+eeb48oAMTHAfToKfQ5WG6XzyD8xWfR1IHdWJ7exli1I3 2g93lMzu2lsGpKOXDcvqCXgtAZUXq39EfDPK5p2Z9w4Dx8Q2eaL8AujxfBuei0rRZuOZTghKaZ8H Yy77f9biqsCoSI6/XIZlDqwG0h8PczMxHe/X+A== 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 Precedence: bulk On Sun, Sep 20, 2020 at 02:47:50PM +0200, N (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > On Wed, Sep 16, 2020 at 07:54:16PM +0200, N > > (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > > Anybody here know if it's possible to add attribute for nets so > > > they end up in netlist? > > > > A bit like what I did here? > > > > http://www.delorie.com/archives/browse.cgi?p=geda-user/2015/10/14/04:07:24 > > Yes. > > > You need symbols with pins connected to the net(s) for which you > > want to set attributes. > > But ideally it should be added just as a netnamne attribute. Got the > attached file from Vladimir on this mailing list two days ago and > should start to take a look at howto extract attributes so they could > be included in netlist by backend right now. Maybe for single nets, but I found it quite nice for differential pairs: the symbol connecting the two nets was a visible indication of which nets formed the differential pairs. The person who did the layout with CadStar asked me to add a "bus_name" attribute to each net of a differential pair (it's the way CadStar works apparently). Since the attribute was taken from the symbol, I was sure that two nets had the same bus_name attribute (it had to be different for each differential pair, but that's easy to check with simple scripts). Gabriel