X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com Date: Tue, 8 Dec 2020 16:20:12 +0100 (CET) From: Roland Lutz To: "Klaus Rudolph (lts-rudolph AT gmx DOT de) [via geda-help AT delorie DOT com]" Subject: Re: [geda-help] using net names on multiple sub schematics used by single symbol In-Reply-To: <3e21c34b-571c-8762-7e68-f096bcf10a37@gmx.de> Message-ID: References: <3e21c34b-571c-8762-7e68-f096bcf10a37 AT gmx DOT de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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 Precedence: bulk On Tue, 8 Dec 2020, Klaus Rudolph (lts-rudolph AT gmx DOT de) [via geda-help AT delorie DOT com] wrote: > It was in the docs in the past. But I only find a old pdf > http://www-mdp.eng.cam.ac.uk/web/CD/engapps/geda/geda-doc/gschem/gschem.pdf. > > Is there somewhere an actual one available? That's interesting; I didn't know about this document. There is a "gEDA gschem User Guide" in the wiki, but it appears to be a completely different text. Does anyone know what has become of it? > Currently the git.geda-project.org/geda-gaf is online again. I pushed the updated `stable-1.10' branch there, as well. > If I replace older refdes= to the "newer" portname= it works fine. But > in which case I can/should use netname= attribute? > > I was not able to get an example working with using netname= Components with a netname= attribute are considered power symbols, i.e., their only pin is connected to a named net. Typical examples for this would be "netname=GND" or "netname=3.3V". The older way of doing this is using a "net=3.3V:1" attribute, but this has the disadvantage that you can't use that attribute as the visible text without having an ugly ":1" suffix. With the netname= attribute, you can draw a single "power rail" symbol and change the attribute value to whichever power rail you want it to connect to. (In practice, you'll probably want to have a separate, visually different symbol for GND.) > P.S. If you like a can share my little example and we can add the > netname= attribute to this example and make that public? Sure! Roland