Re: gEDA-user: Symbol question - suggestions?

2011-01-08 Thread Johnny Rosenberg

Den 2011-01-08 20:39:41 skrev John Doty :



On Jan 8, 2011, at 12:28 PM, Johnny Rosenberg wrote:


Den 2011-01-08 16:33:06 skrev John Doty :



On Jan 7, 2011, at 4:06 AM, Johnny Rosenberg wrote:

So, if I decide to use a 74-power symbol after all, is there any way  
I can design it making it automatically understand where it belongs,  
so I don't need to manually enter all those ”U1, U2, U3” und so  
weiter?


If I wanted a lot of work, I could draw my components with a pen on a  
piece of paper and then scan the whole thing…


Perhaps you want symbols with hidden power pins. They're not as  
flexible as putting in the power symbols explicitly, but they may be  
right for your application. In my applications, I often have multiple  
power nets, so it is essential to be explicit.


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



You mean like the default symbols with lines like the following?

net=Vcc:14
net=GND:7


Yes.

John Doty


Well, I think that would work best for what I'm doing. I think I will go  
that way, at least until I run into some kind of case where this does not  
work…
Maybe my symbols won't be interesting then for anybody else than me, but  
it doesn't hurt to share them anyway, I guess. I could include some kind  
of warning, I guess.

--
Kind regards

Johnny Rosenberg


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


Re: gEDA-user: Symbol question - suggestions?

2011-01-08 Thread John Doty

On Jan 8, 2011, at 12:28 PM, Johnny Rosenberg wrote:

> Den 2011-01-08 16:33:06 skrev John Doty :
> 
>> 
>> On Jan 7, 2011, at 4:06 AM, Johnny Rosenberg wrote:
>> 
>>> So, if I decide to use a 74-power symbol after all, is there any way I can 
>>> design it making it automatically understand where it belongs, so I don't 
>>> need to manually enter all those ”U1, U2, U3” und so weiter?
>>> 
>>> If I wanted a lot of work, I could draw my components with a pen on a piece 
>>> of paper and then scan the whole thing…
>> 
>> Perhaps you want symbols with hidden power pins. They're not as flexible as 
>> putting in the power symbols explicitly, but they may be right for your 
>> application. In my applications, I often have multiple power nets, so it is 
>> essential to be explicit.
>> 
>> John Doty  Noqsi Aerospace, Ltd.
>> http://www.noqsi.com/
>> j...@noqsi.com
>> 
> 
> You mean like the default symbols with lines like the following?
> 
> net=Vcc:14
> net=GND:7

Yes.

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: Symbol question - suggestions?

2011-01-08 Thread Johnny Rosenberg

Den 2011-01-08 16:33:06 skrev John Doty :



On Jan 7, 2011, at 4:06 AM, Johnny Rosenberg wrote:

So, if I decide to use a 74-power symbol after all, is there any way I  
can design it making it automatically understand where it belongs, so I  
don't need to manually enter all those ”U1, U2, U3” und so weiter?


If I wanted a lot of work, I could draw my components with a pen on a  
piece of paper and then scan the whole thing…


Perhaps you want symbols with hidden power pins. They're not as flexible  
as putting in the power symbols explicitly, but they may be right for  
your application. In my applications, I often have multiple power nets,  
so it is essential to be explicit.


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



You mean like the default symbols with lines like the following?

net=Vcc:14
net=GND:7

--
Kind regards

Johnny Rosenberg


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


Re: gEDA-user: Symbol question - suggestions?

2011-01-08 Thread John Doty

On Jan 7, 2011, at 4:06 AM, Johnny Rosenberg wrote:

> So, if I decide to use a 74-power symbol after all, is there any way I can 
> design it making it automatically understand where it belongs, so I don't 
> need to manually enter all those ”U1, U2, U3” und so weiter?
> 
> If I wanted a lot of work, I could draw my components with a pen on a piece 
> of paper and then scan the whole thing…

Perhaps you want symbols with hidden power pins. They're not as flexible as 
putting in the power symbols explicitly, but they may be right for your 
application. In my applications, I often have multiple power nets, so it is 
essential to be explicit.

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: Symbol question - suggestions?

2011-01-07 Thread Kai-Martin Knaak
Johnny Rosenberg wrote:

> So, if I decide to use a 74-power symbol after all, is there 
> any way I can design it making it automatically understand 
> where it belongs, 

No. 


> so I don't need to manually enter all those ”U1, U2, U3” und 
> so weiter?

Even if you don't use the power symbol, you still have to distribute 
the refdes strings of slotted symbols manually. gschem has no way to 
know which symbols you intend to put in the same package. Yes, some 
kind of heuristics may be imaginable. Ideas have been floating on the 
mailing list. But none has been coded, yet.

 
> If I wanted a lot of work, I could draw my components with a pen
> on a piece of paper and then scan the whole thing…

this approach wouldn't produce a valid netlist :-P

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
Öffentlicher PGP-Schlüssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



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


Re: gEDA-user: Symbol question - suggestions?

2011-01-07 Thread Johnny Rosenberg

Den 2011-01-07 14:58:59 skrev Martin Kupec :


On Fri, Jan 07, 2011 at 12:06:12PM +0100, Johnny Rosenberg wrote:
So, if I decide to use a 74-power symbol after all, is there any way I  
can
design it making it automatically understand where it belongs, so I  
don't

need to manually enter all those ”U1, U2, U3” und so weiter?

You need to manualy assign number to that particular component.

Either you can autonumber everything and than manualy renumber
the 74-power (probably leaving holes in the numbering) or number
the 74 and 74-power when you place it with the same number
manualy and use autonumbering without the 'override' feature.


If I wanted a lot of work, I could draw my components with a pen on a
piece of paper and then scan the whole thing…



Martin Kupec


Sounds like a great source for errors. How do I prevent giving them the  
wrong numbers by accident (except trying extra hard when doing the manual  
job)?


--
Kind regards

Johnny Rosenberg


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


Re: gEDA-user: Symbol question - suggestions?

2011-01-07 Thread Martin Kupec
On Fri, Jan 07, 2011 at 12:06:12PM +0100, Johnny Rosenberg wrote:
> So, if I decide to use a 74-power symbol after all, is there any way I can  
> design it making it automatically understand where it belongs, so I don't  
> need to manually enter all those ”U1, U2, U3” und so weiter?
You need to manualy assign number to that particular component.

Either you can autonumber everything and than manualy renumber
the 74-power (probably leaving holes in the numbering) or number
the 74 and 74-power when you place it with the same number
manualy and use autonumbering without the 'override' feature.
> 
> If I wanted a lot of work, I could draw my components with a pen on a  
> piece of paper and then scan the whole thing…


Martin Kupec



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


Re: gEDA-user: Symbol question - suggestions?

2011-01-07 Thread Johnny Rosenberg

Den 2011-01-07 01:31:28 skrev Kai-Martin Knaak :


Johnny Rosenberg wrote:


First I manually set the ”device=” to match existing components,


No need. The device attribute is not used by anything in the gschem
to pcb work flow.



then I added ”numslots=” to match.


This is not useful. The slotting mechanism is only for copies of
the same symbol in a physical component. But the pwr symbol is a
_different_ symbol. Don't use slotting inside the pwr symbol.
You can set numslots=0 if you like. But this is not required.

There's no need to add any attributes to (my) 74_pwr.sym. Just put
it on the schematic like it is.



What am I missing? Should I edit the symbol itself or should I set
something in the schema or what?


Just make sure, that all the symbols that belong to a component all
get the same refdes. You have to do this manually. The autonumber
script has no idea which symbols belong to a group.
Also make sure to not add the pwr symbol first. The reason is that
this symbol does not include a footprint attribute. gsch2pcb only
accepts footprint attributes from the first symbol in a set. If this
symbol fails to provide a footprint, gsch2pcb gives up and issues an
error. This is a long standing bug that was fixed just a few days ago.



It was all so easy before, when I had the ”net=” thing in the component
symbols, but someone said that that's not the way to go, for some  
reason.


"Some reason" is schematic style seen from an advanced level of
experience. Take it as good advice from the old boys. You may ignore
it but don't complain if it this bites you later.

---<)kaimartin(>---


So, if I decide to use a 74-power symbol after all, is there any way I can  
design it making it automatically understand where it belongs, so I don't  
need to manually enter all those ”U1, U2, U3” und so weiter?


If I wanted a lot of work, I could draw my components with a pen on a  
piece of paper and then scan the whole thing…


--
Kind regards

Johnny Rosenberg


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


Re: gEDA-user: Symbol question - suggestions?

2011-01-06 Thread DJ Delorie

Kai-Martin Knaak  writes:
> -v, please.

My BOM scripts use it to match various databases of parts to fill in
missing vendor attributes based on my local preferences.


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


Re: gEDA-user: Symbol question - suggestions?

2011-01-06 Thread Kai-Martin Knaak
DJ Delorie wrote:

> Kai-Martin Knaak  
writes:
>> No need. The device attribute is not used by anything in the gschem
>> to pcb work flow.
> 
> You flow, perhaps,  *I* use it in my pcb flow.
> 
-v, please.

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
Öffentlicher PGP-Schlüssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



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


Re: gEDA-user: Symbol question - suggestions?

2011-01-06 Thread DJ Delorie

Kai-Martin Knaak  writes:
> No need. The device attribute is not used by anything in the gschem
> to pcb work flow.

You flow, perhaps,  *I* use it in my pcb flow.


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


Re: gEDA-user: Symbol question - suggestions?

2011-01-06 Thread Kai-Martin Knaak
Johnny Rosenberg wrote:

> First I manually set the ”device=” to match existing components,

No need. The device attribute is not used by anything in the gschem
to pcb work flow.


> then I added ”numslots=” to match.

This is not useful. The slotting mechanism is only for copies of 
the same symbol in a physical component. But the pwr symbol is a 
_different_ symbol. Don't use slotting inside the pwr symbol. 
You can set numslots=0 if you like. But this is not required.

There's no need to add any attributes to (my) 74_pwr.sym. Just put
it on the schematic like it is.


> What am I missing? Should I edit the symbol itself or should I set  
> something in the schema or what?

Just make sure, that all the symbols that belong to a component all
get the same refdes. You have to do this manually. The autonumber 
script has no idea which symbols belong to a group.
Also make sure to not add the pwr symbol first. The reason is that 
this symbol does not include a footprint attribute. gsch2pcb only 
accepts footprint attributes from the first symbol in a set. If this
symbol fails to provide a footprint, gsch2pcb gives up and issues an
error. This is a long standing bug that was fixed just a few days ago.


> It was all so easy before, when I had the ”net=” thing in the component  
> symbols, but someone said that that's not the way to go, for some reason.

"Some reason" is schematic style seen from an advanced level of 
experience. Take it as good advice from the old boys. You may ignore
it but don't complain if it this bites you later.

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
Öffentlicher PGP-Schlüssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



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


Re: gEDA-user: Symbol question - suggestions?

2011-01-06 Thread Johnny Rosenberg

Den 2011-01-05 17:30:12 skrev Bert Timmerman :


Hi,


-Original Message-
From: geda-user-boun...@moria.seul.org
[mailto:geda-user-boun...@moria.seul.org] On Behalf Of Stefan Salewski
Sent: Wednesday, January 05, 2011 5:23 PM
To: gEDA user mailing list
Subject: Re: gEDA-user: Symbol question - suggestions?

On Wed, 2011-01-05 at 14:32 +0100, Johnny Rosenberg wrote:

> > A single 74_pwr.sym can not work for 14 and 16 pin parts, so I
> > really recommend to do not use a 74_pwr.sym at all, but
one for 14,
> > and one for
> > 16 pins devices. I think I called my one at gedasymbols
> > 74xx-14N-Pwr-1.sym.
>
> But the 74LV4066 is 14-pin with GND at 7 and Vcc at 14,
just like an
> ordinary 7400 and more.
>

The problem is: If you have a symbol called 74_pwr.sym people
may use it
-- some may use it for 14 pin devices, some may use it for 16 pin
devices. You may be smart enough to use it correctly -- other may not
always. If there are chances for confusion, then we should use more
specific files names.




JCL has a nice script generating power pins with pn numbers in the  
file/link

name:

http://www.luciani.org/geda/util/util-index.html#create-np-symbols

Kind regards,

Bert Timmerman.


As I've said before, I'm a beginner at this. I just tried to actually use  
the 74_pwr.sym in an existing scheme, but I couldn't get it numbered  
automatically correctly. What am I missing?


First I manually set the ”device=” to match existing components, then I  
added ”numslots=” to match. IN some cases it's 4 and in some cases 6 (NOT  
gates for example), but no matter what I did it was numbered wrong, with a  
higher number than the existing components.


What am I missing? Should I edit the symbol itself or should I set  
something in the schema or what?


It was all so easy before, when I had the ”net=” thing in the component  
symbols, but someone said that that's not the way to go, for some reason.  
At least it was very easy…


--
Kind regards

Johnny Rosenberg


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


Re: gEDA-user: Symbol question – suggestions?

2011-01-05 Thread John Doty

On Jan 5, 2011, at 10:07 AM, Johnny Rosenberg wrote:

> So the bottom line is that I should keep to those above and don't make my own…

Only if drc2 (which is a severely troubled tool) rule your flow. If your flow 
needs something different, and you're willing to do the scripting to make a 
different set useful, by all means go there.

---
John Doty  Noqsi Aerospace, Ltd.

This message contains technical discussion involving difficult issues. No 
personal disrespect or malice is intended. If you perceive such, your 
perception is simply wrong. I'm a busy person, and in my business "go along to 
get along" causes mission failures and sometimes kills people, so I tend to be 
a bit blunt.



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


Re: gEDA-user: Symbol question – suggestions?

2011-01-05 Thread Johnny Rosenberg

Den 2011-01-05 17:22:39 skrev Stefan Salewski :


On Wed, 2011-01-05 at 14:32 +0100, Johnny Rosenberg wrote:


> A single 74_pwr.sym can not work for 14 and 16 pin parts, so I really
> recommend to do not use a 74_pwr.sym at all, but one for 14, and one  
for

> 16 pins devices. I think I called my one at gedasymbols
> 74xx-14N-Pwr-1.sym.

But the 74LV4066 is 14-pin with GND at 7 and Vcc at 14, just like an
ordinary 7400 and more.



The problem is: If you have a symbol called 74_pwr.sym people may use it
-- some may use it for 14 pin devices, some may use it for 16 pin
devices. You may be smart enough to use it correctly -- other may not
always. If there are chances for confusion, then we should use more
specific files names.


Ok, then I misunderstood you. You only mean that the name of the symbol  
should be more specific, nothing more than that? Well, I agree.


--
Kind regards

Johnny Rosenberg


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


Re: gEDA-user: Symbol question – suggestions?

2011-01-05 Thread Johnny Rosenberg

Den 2011-01-05 16:17:57 skrev Karl Hammar :


Johnny Rosenberg:
Maybe this is in the wiki somewhere and I just missed it, but what are  
the

possible text strings for pintype?


Since it is just a text field there is "no" limitation for what you
could type in there.


So far I've seen in, out, oc, pas. Are there more?


  Find gnet-drc2.scm with

$ locate gnet-drc2.scm
/var/home/karl/Net/git/gaf/gnetlist/scheme/gnet-drc2.scm
/var/home/karl/Net/git/peter-b/gnetlist/scheme/gnet-drc2.scm
/var/local/share/gEDA/scheme/gnet-drc2.scm
$

  and look into it

$ grep -A15 '^; Pintype definitions.'  
/var/local/share/gEDA/scheme/gnet-drc2.scm
; Pintype definitions. Overwrite previous definitions, because the  
backend depends on them.

(define unknown  0)
(define in   1)
(define out  2)
(define io   3)
(define oc   4)
(define oe   5)
(define pas  6)
(define tp   7)
(define tri  8)
(define clk  9)
(define pwr 10)
(define undefined 11)
(define pintype-names (list "unknown" "in" "out" "io" "oc" "oe" "pas"  
"tp" "tri" "clk" "pwr" "unconnected"))
(define pintype-full-names (list "unknown" "input" "output"  
"input/output" "open collector" "open emitter" "passive" "totem-pole"  
"tristate" "clock" "power" "unconnected"))


$

  I find 10 different values drc2 cares about.
  From what I have guessed:

. digital pins: in, out, io
. driver pins:  oc, oe,  tp, tri
. other:pas (the only one for analog things), pwr, clk


Do the gEDA software use them for something or is it just for the user?


As I found out in [1], the only users for that field is drc2 and the
user, plus possible third party programs.

drc2 use the attribute to tell the user about "strange" connections.
Look at the source or e.g. [2,3] for more info.


So the bottom line is that I should keep to those above and don't make my  
own…



--
Kind regards

Johnny Rosenberg


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


Re: gEDA-user: Symbol question - suggestions?

2011-01-05 Thread Bert Timmerman
Hi, 

> -Original Message-
> From: geda-user-boun...@moria.seul.org 
> [mailto:geda-user-boun...@moria.seul.org] On Behalf Of Stefan Salewski
> Sent: Wednesday, January 05, 2011 5:23 PM
> To: gEDA user mailing list
> Subject: Re: gEDA-user: Symbol question - suggestions?
> 
> On Wed, 2011-01-05 at 14:32 +0100, Johnny Rosenberg wrote:
> 
> > > A single 74_pwr.sym can not work for 14 and 16 pin parts, so I 
> > > really recommend to do not use a 74_pwr.sym at all, but 
> one for 14, 
> > > and one for
> > > 16 pins devices. I think I called my one at gedasymbols 
> > > 74xx-14N-Pwr-1.sym.
> > 
> > But the 74LV4066 is 14-pin with GND at 7 and Vcc at 14, 
> just like an 
> > ordinary 7400 and more.
> > 
> 
> The problem is: If you have a symbol called 74_pwr.sym people 
> may use it
> -- some may use it for 14 pin devices, some may use it for 16 pin
> devices. You may be smart enough to use it correctly -- other may not
> always. If there are chances for confusion, then we should use more
> specific files names. 
> 
> 

JCL has a nice script generating power pins with pn numbers in the file/link
name:

http://www.luciani.org/geda/util/util-index.html#create-np-symbols

Kind regards,

Bert Timmerman.



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


Re: gEDA-user: Symbol question – suggestions?

2011-01-05 Thread Stefan Salewski
On Wed, 2011-01-05 at 14:32 +0100, Johnny Rosenberg wrote:

> > A single 74_pwr.sym can not work for 14 and 16 pin parts, so I really
> > recommend to do not use a 74_pwr.sym at all, but one for 14, and one for
> > 16 pins devices. I think I called my one at gedasymbols
> > 74xx-14N-Pwr-1.sym.
> 
> But the 74LV4066 is 14-pin with GND at 7 and Vcc at 14, just like an  
> ordinary 7400 and more.
> 

The problem is: If you have a symbol called 74_pwr.sym people may use it
-- some may use it for 14 pin devices, some may use it for 16 pin
devices. You may be smart enough to use it correctly -- other may not
always. If there are chances for confusion, then we should use more
specific files names. 



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


Re: gEDA-user: Symbol question – suggestions?

2011-01-05 Thread Karl Hammar
Johnny Rosenberg:
> Maybe this is in the wiki somewhere and I just missed it, but what are the  
> possible text strings for pintype?

Since it is just a text field there is "no" limitation for what you 
could type in there.

> So far I've seen in, out, oc, pas. Are there more?

  Find gnet-drc2.scm with

$ locate gnet-drc2.scm
/var/home/karl/Net/git/gaf/gnetlist/scheme/gnet-drc2.scm
/var/home/karl/Net/git/peter-b/gnetlist/scheme/gnet-drc2.scm
/var/local/share/gEDA/scheme/gnet-drc2.scm
$

  and look into it

$ grep -A15 '^; Pintype definitions.' /var/local/share/gEDA/scheme/gnet-drc2.scm
; Pintype definitions. Overwrite previous definitions, because the backend 
depends on them.
(define unknown  0)
(define in   1)
(define out  2)
(define io   3)
(define oc   4)
(define oe   5)
(define pas  6)
(define tp   7)
(define tri  8)
(define clk  9)
(define pwr 10)
(define undefined 11)
(define pintype-names (list "unknown" "in" "out" "io" "oc" "oe" "pas" "tp" 
"tri" "clk" "pwr" "unconnected"))
(define pintype-full-names (list "unknown" "input" "output" "input/output" 
"open collector" "open emitter" "passive" "totem-pole" "tristate" "clock" 
"power" "unconnected"))

$

  I find 10 different values drc2 cares about.
  From what I have guessed:

. digital pins: in, out, io
. driver pins:  oc, oe,  tp, tri
. other:pas (the only one for analog things), pwr, clk

> Do the gEDA software use them for something or is it just for the user?

As I found out in [1], the only users for that field is drc2 and the 
user, plus possible third party programs.

drc2 use the attribute to tell the user about "strange" connections.
Look at the source or e.g. [2,3] for more info.

Regards,
/Karl Hammar

[1] http://archives.seul.org/geda/user/Sep-2010/msg00653.html
[2] http://geda.seul.org/wiki/geda:faq-gnetlist?s[]=drc2#design_rule_check_drc
[3] http://archives.seul.org/geda/user/Sep-2010/msg00693.html

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57




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


Re: gEDA-user: Symbol question – suggestions?

2011-01-05 Thread Kai-Martin Knaak
Johnny Rosenberg wrote:

> Maybe this is in the wiki somewhere and I just missed it, but
> what are the  possible text strings for pintype?

http://geda.seul.org/wiki/geda:master_attributes_list?s[]=pintype#pintype


> So far I've seen in, out, oc, pas. Are there more? Do the gEDA
> software use them for something or is it just for the user?

The DRC back-end of gnetlist checks the types for rule violation.
E.g out may not be connected to pwr.

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
Öffentlicher PGP-Schlüssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



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


Re: gEDA-user: Symbol question – suggestions?

2011-01-05 Thread Johnny Rosenberg

Den 2011-01-04 21:47:59 skrev Stefan Salewski :


On Tue, 2011-01-04 at 21:14 +0100, Johnny Rosenberg wrote:


comment=Use 74_pwr.sym for supply


I wrote it some months ago...

A single 74_pwr.sym can not work for 14 and 16 pin parts, so I really
recommend to do not use a 74_pwr.sym at all, but one for 14, and one for
16 pins devices. I think I called my one at gedasymbols
74xx-14N-Pwr-1.sym.


But the 74LV4066 is 14-pin with GND at 7 and Vcc at 14, just like an  
ordinary 7400 and more.



Does the 74-series version differ in layout from 4066? May be.


Maybe. I just did a quick search and found that MAXIM has two versions of  
their MAX4066: One with 14 pins and one with 16 pins.

http://html.alldatasheet.com/html-pdf/73292/MAXIM/4066/123/1/4066.html

But as far as I have seen, the 74LV4066 comes with 14 pins only.


I am not sure I got the pin numbers right (or how to use pinseq vs
pinnumber).


It may be better to be sure.


Well, I am sure which pin is what, I am not sure I got it right in my  
symbol though, but I can test it, don't worry… :)




For pin type you may simple use "pas" for passive, as in resistors.



The default 4066 symbol used ”pas” for the switch thing and ”in” for the  
”enable” thing. I guess I'll do the same then, since some people already  
suggested that.


Thanks for input and suggestions, everyone!

--
Kind regards

Johnny Rosenberg


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


Re: gEDA-user: Symbol question – suggestions?

2011-01-05 Thread Johnny Rosenberg

Den 2011-01-04 21:48:55 skrev :


That chip is a quad analog switch, right?  I would set the pin types
to "pas" because they aren't digital pins at all.  The enable pin is
definitely of type "in".


Maybe this is in the wiki somewhere and I just missed it, but what are the  
possible text strings for pintype?
So far I've seen in, out, oc, pas. Are there more? Do the gEDA software  
use them for something or is it just for the user?




--
Kind regards

Johnny Rosenberg


On Tue, Jan 4, 2011 at 1:42 PM, Stephan Boettcher
 wrote:


"Johnny Rosenberg"  writes:


I created this symbol, it's the 74-series version of the 4066 (4
bilateral switches), called 744066 (as in 74LV4066, for example):







The documentation of the symbol can be found at
http://focus.ti.com/lit/ds/symlink/sn74lv4066a.pdf
I am not sure I got the pin numbers right (or how to use pinseq vs
pinnumber).


The slot attribute does not get promoted.  Why can't I promote an
attribute after placement from the (ee) Element attribute edit window?


I am also not sure about the pin type of ICs like this one. It's not
really just ”in” and ”out”, is it? I used ”in” and ”out” anyway, since
I  couldn't come up with anything better, and I called the third one
”en” as  in ”enable” but I am not sure about that one either.


pintype has a limited set of valid values.  The E pin is an input so
it's pintype=in, I guess.

--
Stephan



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


Re: gEDA-user: Symbol question – suggestions?

2011-01-04 Thread Stephan Boettcher
Stefan Salewski  writes:

> On Tue, 2011-01-04 at 21:14 +0100, Johnny Rosenberg wrote:
>
>> comment=Use 74_pwr.sym for supply
>
> I wrote it some months ago...
>
> A single 74_pwr.sym can not work for 14 and 16 pin parts, so I really
> recommend to do not use a 74_pwr.sym at all, but one for 14, and one for
> 16 pins devices. I think I called my one at gedasymbols
> 74xx-14N-Pwr-1.sym.

Will this work?

slot=14
slotdef=14:1,14
slotdef=16:1,16
slotdef=0:?,?
 
-- 
Stephan



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


Re: gEDA-user: Symbol question – suggestions?

2011-01-04 Thread Stephan Boettcher
Peter TB Brett  writes:

>> The slot attribute does not get promoted.  Why can't I promote an
>> attribute after placement from the (ee) Element attribute edit window?
>> 
>
> I just tried this.  I placed a symbol, hit , right-clicked on the 
> inherited attribute that I wanted to promote, and selected "Promote".  Does 
> this not work for you?

Yes, it does.  Sorry, and thanks! 

This feature could be a little more discoverable, although I am usually
quick with looking for context menus, but not in grayed out areas.

-- 
Stephan


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


Re: gEDA-user: Symbol question – suggestions?

2011-01-04 Thread Stefan Salewski
On Tue, 2011-01-04 at 21:14 +0100, Johnny Rosenberg wrote:

> comment=Use 74_pwr.sym for supply

I wrote it some months ago...

A single 74_pwr.sym can not work for 14 and 16 pin parts, so I really
recommend to do not use a 74_pwr.sym at all, but one for 14, and one for
16 pins devices. I think I called my one at gedasymbols
74xx-14N-Pwr-1.sym.

Does the 74-series version differ in layout from 4066? May be.

>I am not sure I got the pin numbers right (or how to use pinseq vs  
>pinnumber).

It may be better to be sure.

For pin type you may simple use "pas" for passive, as in resistors.




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


Re: gEDA-user: Symbol question – suggestions?

2011-01-04 Thread asomers
That chip is a quad analog switch, right?  I would set the pin types
to "pas" because they aren't digital pins at all.  The enable pin is
definitely of type "in".

On Tue, Jan 4, 2011 at 1:42 PM, Stephan Boettcher
 wrote:
>
> "Johnny Rosenberg"  writes:
>
>> I created this symbol, it's the 74-series version of the 4066 (4
>> bilateral switches), called 744066 (as in 74LV4066, for example):
>>
>> 
>
>> 
>>
>> The documentation of the symbol can be found at
>> http://focus.ti.com/lit/ds/symlink/sn74lv4066a.pdf
>> I am not sure I got the pin numbers right (or how to use pinseq vs
>> pinnumber).
>
> The slot attribute does not get promoted.  Why can't I promote an
> attribute after placement from the (ee) Element attribute edit window?
>
>> I am also not sure about the pin type of ICs like this one. It's not
>> really just ”in” and ”out”, is it? I used ”in” and ”out” anyway, since
>> I  couldn't come up with anything better, and I called the third one
>> ”en” as  in ”enable” but I am not sure about that one either.
>
> pintype has a limited set of valid values.  The E pin is an input so
> it's pintype=in, I guess.
>
> --
> Stephan
>
>
> ___
> geda-user mailing list
> geda-user@moria.seul.org
> 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


Re: gEDA-user: Symbol question – suggestions?

2011-01-04 Thread Peter TB Brett
On Tuesday 04 January 2011 20:42:28 Stephan Boettcher wrote:
> "Johnny Rosenberg"  writes:
> > I created this symbol, it's the 74-series version of the 4066 (4
> > bilateral switches), called 744066 (as in 74LV4066, for example):
> > 
> > 
> > 
> > 
> > 
> > The documentation of the symbol can be found at
> > http://focus.ti.com/lit/ds/symlink/sn74lv4066a.pdf
> > I am not sure I got the pin numbers right (or how to use pinseq vs
> > pinnumber).
> 
> The slot attribute does not get promoted.  Why can't I promote an
> attribute after placement from the (ee) Element attribute edit window?
> 

I just tried this.  I placed a symbol, hit , right-clicked on the 
inherited attribute that I wanted to promote, and selected "Promote".  Does 
this not work for you?

Peter


-- 
Peter Brett 
Remote Sensing Research Group
Surrey Space Centre


signature.asc
Description: This is a digitally signed message part.


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


Re: gEDA-user: Symbol question – suggestions?

2011-01-04 Thread Stephan Boettcher

"Johnny Rosenberg"  writes:

> I created this symbol, it's the 74-series version of the 4066 (4
> bilateral switches), called 744066 (as in 74LV4066, for example):
>
> 

> 
>
> The documentation of the symbol can be found at
> http://focus.ti.com/lit/ds/symlink/sn74lv4066a.pdf
> I am not sure I got the pin numbers right (or how to use pinseq vs
> pinnumber).

The slot attribute does not get promoted.  Why can't I promote an
attribute after placement from the (ee) Element attribute edit window?

> I am also not sure about the pin type of ICs like this one. It's not
> really just ”in” and ”out”, is it? I used ”in” and ”out” anyway, since
> I  couldn't come up with anything better, and I called the third one
> ”en” as  in ”enable” but I am not sure about that one either. 

pintype has a limited set of valid values.  The E pin is an input so
it's pintype=in, I guess.

-- 
Stephan


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


gEDA-user: Symbol question – suggestions?

2011-01-04 Thread Johnny Rosenberg
I created this symbol, it's the 74-series version of the 4066 (4 bilateral  
switches), called 744066 (as in 74LV4066, for example):




v 20100214 2
B 200 200 800 600 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 700 0 8 8 0 0 0 0 1
slot=1
T 200 2300 5 8 0 0 0 0 1
numslots=4
T 200 1500 5 8 0 0 0 0 1
slotdef=1:1,2,13
T 200 1700 5 8 0 0 0 0 1
slotdef=2:3,4,5
T 200 1900 5 8 0 0 0 0 1
slotdef=3:8,9,6
T 200 2100 5 8 0 0 0 0 1
slotdef=4:11,10,12
L 300 700 450 700 3 0 0 0 -1 -1
L 450 600 750 700 3 0 0 0 -1 -1
L 750 700 900 700 3 0 0 0 -1 -1
T 200 4000 5 8 0 0 0 0 1
device=744066
P 0 700 200 700 1 0 0
{
T 150 750 5 8 1 1 0 6 1
pinnumber=1
T 150 750 5 8 0 1 0 6 1
pinseq=1
T 250 700 9 8 0 1 0 1 1
pinlabel=Y
T 150 650 5 8 0 1 0 8 1
pintype=in
}
P 0 300 200 300 1 0 0
{
T 150 350 5 8 1 1 0 6 1
pinnumber=13
T 150 350 5 8 0 1 0 6 1
pinseq=3
T 250 300 9 8 0 1 0 1 1
pinlabel=E
T 150 250 5 8 0 1 0 8 1
pintype=en
}
P 1000 700 1200 700 1 0 1
{
T 1050 750 5 8 1 1 0 0 1
pinnumber=2
T 1050 750 5 8 0 1 0 0 1
pinseq=2
T 950 700 9 8 0 1 0 7 1
pinlabel=Z
T 1050 650 5 8 0 1 0 2 1
pintype=out
}
T 200 1100 8 10 1 1 0 0 1
refdes=U?
T 200 0 8 8 1 1 0 0 1
footprint=DIP14
T 200 3800 5 8 0 0 0 0 1
description=4 bilateral switches
T 200 3600 5 8 0 0 0 0 1
documentation=http://focus.ti.com/lit/ds/symlink/sn74lv4066a.pdf
T 200 3000 5 8 0 0 0 0 1
author=Johnny Rosenberg – johnny.a.rosenb...@gmail.com
T 200 2800 5 8 0 0 0 0 1
dist-license=GPL
T 200 2600 5 8 0 0 0 0 1
use-license=Unlimited
T 200 900 8 10 1 1 0 0 1
value=744066
T 200 3400 5 8 0 0 0 0 1
comment=Use 74_pwr.sym for supply
T 200 3200 5 8 0 0 0 0 1
comment=This symbol was designed according to IEC 60617-12


The documentation of the symbol can be found at  
http://focus.ti.com/lit/ds/symlink/sn74lv4066a.pdf
I am not sure I got the pin numbers right (or how to use pinseq vs  
pinnumber).
I am also not sure about the pin type of ICs like this one. It's not  
really just ”in” and ”out”, is it? I used ”in” and ”out” anyway, since I  
couldn't come up with anything better, and I called the third one ”en” as  
in ”enable” but I am not sure about that one either. This is maybe not a  
symbol question but rather a question about the IC itself, so maybe this  
is way off topic…


Suggestions?

--
Kind regards

Johnny Rosenberg


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