delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/02/10/17:17:03

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Fri, 10 Feb 2017 23:14:56 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] gschem gnetlist bug/feature
In-Reply-To: <89b42141-9448-1c52-f4be-b4cc41ed7091@ecosensory.com>
Message-ID: <alpine.DEB.2.11.1702102246190.27620@nimbus>
References: <95e469bb-5572-fa1d-0c18-ed5abadd10cf AT ecosensory DOT com> <alpine DOT DEB DOT 2 DOT 11 DOT 1702102141040 DOT 1974 AT nimbus> <89b42141-9448-1c52-f4be-b4cc41ed7091 AT ecosensory DOT com>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
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

On Fri, 10 Feb 2017, John Griessen (john AT ecosensory DOT com) [via 
geda-user AT delorie DOT com] wrote:
> On 02/10/2017 02:41 PM, Roland Lutz wrote:
>> What are you trying to do?
>
> Create netnamed power nets and also use the familiar power and ground 
> symbols without having to have a custom symbol for the purpose.  I 
> created a version of Vdd with a line under it on a pin with the 
> net=VDC:1 I add a netname=20V_IN attrib to it and get the behavior 
> above, which is close enough to what I want.

In master, setting a netname= attribute on a symbol doesn't work.

If you want to add a power symbol purely for decoration, use a symbol 
without a net= attribute and set graphical=1.  Otherwise (even when 
setting graphical=1 on a regular power symbol) the net will be connected 
to Vcc, or whatever net name the power symbol specifies.

If you want to create a power symbol which can be used for any custom net 
name, you could use a net=xxx:1 attribute and set it to show value only 
(but it would read xxx:1 instead of xxx--you could use the experimental 
branch which allows you to set netname=xxx on the power symbol to remove 
the need for the :1 suffix).

> I wanted to ignore the internal value net=, not inherit it and override 
> it with netname=20V_IN.  Seems to have partly worked.

In order to override an inherited net= attribute, you have to add an 
attached net= attribute which specifies a different net for the same pin 
number.  You can't simply disable it (and even if you could, you would 
still have to set graphical=1).

- Raw text -


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