Re: gEDA-user: Different slot types within on symbol

2010-11-22 Thread John Doty

On Nov 22, 2010, at 12:10 AM, Oliver King-Smith wrote:

 Does the slot keyword do anything other than
   define the beginning of a slot?

I have no idea what you mean by beginning of a slot. The slot= attribute 
selects a slotdef= attribute. The slotdef= attribute controls pin numbering, 
overriding pinnumber= attributes. That's all.

John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
j...@noqsi.com




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


Re: gEDA-user: Different slot types within on symbol

2010-11-22 Thread Peter Clifton
On Sun, 2010-11-21 at 23:10 -0800, Oliver King-Smith wrote:
 Peter,
Different symbols for each slot is no problem.  I will try that
tomorrow.
I was messing around with the slot=1 slot=2 trying to make things work
and getting no where.  Does the slot keyword do anything other than
define the beginning of a slot?
Oliver

The attributes list here might be of help..

http://www.geda.seul.org/wiki/geda:master_attributes_list#numslots

Note that each pin needs a valid pinseq.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



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


Re: gEDA-user: Different slot types within on symbol

2010-11-22 Thread kai-martin knaak
Oliver King-Smith wrote:

 Different symbols for each slot is no problem. 

The way geda defines the term slot, this does not work. A slot
is the same symbol with a different set of pin numbers. People have 
even called geda slotting a general pinnumber renumber mechanism.

Like Peter said, you can still split the power pins from the main 
symbol. If two symbols have the same refdes, gsch2pcb reads them
as belonging to the same component. See opamp.sym and opamp_pwr.sym
in my section of gedasymbols.org for an example.
http://www.gedasymbols.org/user/kai_martin_knaak/

There is a catch, though: gsch2pcb takes attributes only from the
first symbol of a set with the same refdes it encounters in the *.sch 
file. That is, the order the symbols were added in the GUI matters. In 
particular, this affects the footprint attribute. As a consequence the 
symbol might be missing in the layout.

This is a known weakness. My last years effort to rectify it was 
rejected by the developers. As a work-around you can alternatively

a) make sure to add the symbol with the footprint attribute first.

b) add footprint symbols to all symbols of a set.

c) open the *.sch file with a text editor and move the symbol that 
contains the footprint attribute to the top.

d) write a script to do the above task automatically.

Note, that renumber in gschem won't respect the sets of symbols with 
the same refdes. It assigns different numbers to them like it does
with every other symbol.

Feel free to provide patches. But note, that not every patch that works 
will be accepted.

---)kaimartin(---
-- 
Kai-Martin Knaak
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53



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


gEDA-user: Different slot types within on symbol

2010-11-21 Thread Oliver King-Smith
   Is it possible to create a symbol with two types of slots.  For
   example, in a 4 OR gates logic chip, one slot type would be the OR
   gate, while the other slot type would be the power connections.  I see
   people typical wire the pins that are not part of a slot to nets, but
   that seems to hide them.  I prefer to explicitly see the power on my
   chips so I can check the decoupling strategy.
   If you have any suggestions or examples please let me know.
   Thanks in advance
   Oliver


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


Re: gEDA-user: Different slot types within on symbol

2010-11-21 Thread Peter Clifton
On Sun, 2010-11-21 at 16:52 -0800, Oliver King-Smith wrote:
 Is it possible to create a symbol with two types of slots.  For
example, in a 4 OR gates logic chip, one slot type would be the OR
gate, while the other slot type would be the power connections.  I see
people typical wire the pins that are not part of a slot to nets, but
that seems to hide them.  I prefer to explicitly see the power on my
chips so I can check the decoupling strategy.
If you have any suggestions or examples please let me know.
Thanks in advance
Oliver

Not exactly, but you can have multiple symbols all instantiated with the
same refdes= to build up your part.

You can have one symbol for the OR gate parts, another for the power.
See for example 74power-1.sym in the library. That is a slightly bad
example though, as all the 74* symbols in the library also have hidden
net= attributes which wire up their power pins. The idea is solid
though.

Best regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



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


Re: gEDA-user: Different slot types within on symbol

2010-11-21 Thread John Doty

On Nov 21, 2010, at 7:30 PM, Peter Clifton wrote:

 That is a slightly bad
 example though, as all the 74* symbols in the library also have hidden
 net= attributes which wire up their power pins. The idea is solid
 though.

Every tutorial on gEDA should state up front:

LIBRARY SYMBOLS ARE ONLY STARTING POINTS. COPY AND CUSTOMIZE THEM TO FIT *YOUR* 
DESIGN FLOW AS NEEDED.

So, if you want to use separate power symbols, copy the library symbols to your 
project's symbol repository, and delete the net= attributes. 

That the symbol browser doesn't copy the symbol to a project repository by 
default (assuming that this is defined in gafrc) is a problem. It perpetuates 
the illusion that the library is universal to all flows, and that such a 
library is possible. On the other hand, ONCE YOU HAVE MADE THE PROJECT LOCAL 
COPY, Hierarchy-Down Symbol is very useful.


John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
j...@noqsi.com




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


Re: gEDA-user: Different slot types within on symbol

2010-11-21 Thread Oliver King-Smith
   Peter,
   Different symbols for each slot is no problem.  I will try that
   tomorrow.
   I was messing around with the slot=1 slot=2 trying to make things work
   and getting no where.  Does the slot keyword do anything other than
   define the beginning of a slot?
   Oliver
 __

   From: Peter Clifton pc...@cam.ac.uk
   To: gEDA user mailing list geda-user@moria.seul.org
   Sent: Sun, November 21, 2010 6:30:27 PM
   Subject: Re: gEDA-user: Different slot types within on symbol
   On Sun, 2010-11-21 at 16:52 -0800, Oliver King-Smith wrote:
Is it possible to create a symbol with two types of slots.  For
   example, in a 4 OR gates logic chip, one slot type would be the OR
   gate, while the other slot type would be the power connections.  I
   see
   people typical wire the pins that are not part of a slot to nets,
   but
   that seems to hide them.  I prefer to explicitly see the power on
   my
   chips so I can check the decoupling strategy.
   If you have any suggestions or examples please let me know.
   Thanks in advance
   Oliver
   Not exactly, but you can have multiple symbols all instantiated with
   the
   same refdes= to build up your part.
   You can have one symbol for the OR gate parts, another for the power.
   See for example 74power-1.sym in the library. That is a slightly bad
   example though, as all the 74* symbols in the library also have hidden
   net= attributes which wire up their power pins. The idea is solid
   though.
   Best regards,
   --
   Peter Clifton
   Electrical Engineering Division,
   Engineering Department,
   University of Cambridge,
   9, JJ Thomson Avenue,
   Cambridge
   CB3 0FA
   Tel: +44 (0)7729 980173 - (No signal in the lab!)
   Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
   ___
   geda-user mailing list
   [1]geda-u...@moria.seul.org
   [2]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

References

   1. mailto:geda-user@moria.seul.org
   2. 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