gEDA-user: Power rail net clarification

2010-06-19 Thread Nikos Arechiga
   Hello,
   I just want to make sure I understand this correctly. When I
   instantiate a power rail, there is an inherited attribute called net
   with a default value of VCC:1, which I cannot change. My understanding
   is that if I add my own net attribute, say net=VCC:3V, that attribute
   will override the inherited one. I will not have this power rail
   connected to both the VCC:1 net and the VCC:3V net, only the VCC:3V
   net.
   Is this correct?
   Thanks,
   --Nikos Arechiga


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Power rail net clarification

2010-06-19 Thread myken
Hello Nikos,

The net attribute inside a symbol has the form
net=signalname:pinname,pinname,pinname
Please also see: http://www.geda.seul.org/wiki/geda:na_howto
In your case pin 1 and pin 3V are both connected to VCC.
So probably you want something like net=3V:1 or net=3V:pwr

If you instantiate a power rail you can double click on this symbol and
you will get the attribute dialogue window. In this window you click the
Show inherited attributes box. Now you should see the net attribute.
right click on the net attribute and select promote. Now you should have
two attributes, the promoted one you can edit and will prevail over the
old one.

I hope this helps.
Regards, Robert.



Hello,
   I just want to make sure I understand this correctly. When I
   instantiate a power rail, there is an inherited attribute called net
   with a default value of VCC:1, which I cannot change. My understanding
   is that if I add my own net attribute, say net=VCC:3V, that attribute
   will override the inherited one. I will not have this power rail
   connected to both the VCC:1 net and the VCC:3V net, only the VCC:3V
   net.
   Is this correct?
   Thanks,
   --Nikos Arechiga





___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Power rail net clarification

2010-06-19 Thread Felipe De la Puente Christen
Hi Nikos,
I am new to gEDA(working on my first project for some months so far)
and had similar doubts(solved) some time ago.

On Sat, 2010-06-19 at 08:42 -0600, Nikos Arechiga wrote:
 Hello,
I just want to make sure I understand this correctly. When I
instantiate a power rail, there is an inherited attribute called net
with a default value of VCC:1, which I cannot change.

This inherited attribute gets promoted to the schematic when you add the
symbol, and you can edit it to your needs.

  My understanding
is that if I add my own net attribute, say net=VCC:3V
Is this correct?

 I see a misunderstanding here. I had the same error at the beggining.

 The net attribute has the syntax: NET_NAME:PIN_NUMBER_ASSOCIATED.

So, in net=Vcc:1, NET_NAME = Vcc and PIN_NUMBER_ASSOCIATED = 1.

The correct way would be something like net=VCC3V:1.

Note the : character has a special meaning in net attributes, so you
cannot use it as part of the identification of the net.


Best Regards, Felipe.

PS: Since I made the mistake on lot of nets before realizing the error
and found unnecessary to explicitly write the pinnumber associated with
a net in symbols with only one pin, I made a patch for gnetlist to
assume an implicit :1 suffix on nets with names lacking the pinnumber
part(so you can have net=VCC3V instead of net=VCC3V:1) but you will have
to apply the patch to your local copy of the code and recompile gnetlist
if you want to try it out.


-- 
Felipe De la Puente Christen
Mobile Phone: +56 9 93199807
MSN/GTalk   : fdelapue...@gmail.com



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Power rail net clarification

2010-06-19 Thread Nikos Arechiga
   Thank you!

   On Sat, Jun 19, 2010 at 1:21 PM, Felipe De la Puente Christen
   [1]fdelapue...@gmail.com wrote:

 Hi Nikos,
I am new to gEDA(working on my first project for some months
 so far)
 and had similar doubts(solved) some time ago.

   On Sat, 2010-06-19 at 08:42 -0600, Nikos Arechiga wrote:
Hello,
   I just want to make sure I understand this correctly. When I
   instantiate a power rail, there is an inherited attribute called
   net
   with a default value of VCC:1, which I cannot change.

 This inherited attribute gets promoted to the schematic when you add
 the
 symbol, and you can edit it to your needs.

 My understanding
   is that if I add my own net attribute, say net=VCC:3V

 Is this correct?
  I see a misunderstanding here. I had the same error at the
 beggining.
  The net attribute has the syntax: NET_NAME:PIN_NUMBER_ASSOCIATED.
 So, in net=Vcc:1, NET_NAME = Vcc and PIN_NUMBER_ASSOCIATED = 1.
 The correct way would be something like net=VCC3V:1.
 Note the : character has a special meaning in net attributes, so
 you
 cannot use it as part of the identification of the net.
 Best Regards, Felipe.
 PS: Since I made the mistake on lot of nets before realizing the
 error
 and found unnecessary to explicitly write the pinnumber associated
 with
 a net in symbols with only one pin, I made a patch for gnetlist to
 assume an implicit :1 suffix on nets with names lacking the
 pinnumber
 part(so you can have net=VCC3V instead of net=VCC3V:1) but you will
 have
 to apply the patch to your local copy of the code and recompile
 gnetlist
 if you want to try it out.
 --
 Felipe De la Puente Christen
 Mobile Phone: +56 9 93199807
 MSN/GTalk   : [2]fdelapue...@gmail.com

   ___
   geda-user mailing list
   [3]geda-u...@moria.seul.org
   [4]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

References

   1. mailto:fdelapue...@gmail.com
   2. mailto:fdelapue...@gmail.com
   3. mailto:geda-user@moria.seul.org
   4. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user