[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Some gschem symbols



When I ran gattrib on a schematic I discovered the equivalent of a
severe runtime error with my symbols: For some reason I had confused the
attributes "devicename" and "value". You may find the corrected symbols
attached to this mail.

BTW: I don't seem to understand the meaning of "devicename" and
"model-name". Both of them are not described in the attribute master
document. Yet gsymcheck does or complain. -- Does gsymcheck simply
ignore any attribute it does not know?

---<(kaimartin)>---

---------
> Here are a few symbols I made for the PID-project. I tried to make
> gsymcheck happy and abide by the design rules given in symbols howto.
> 
> lm399-1
>   This is a precision voltage reference, that was not yet in the lib.
> 
> opamp-3 and opamp-4
>   Generic opamps with and without explicit rails.
> 
> vref-1
>   A power pin for the reference voltage of the circuit.
>   This one makes gsynmcheck think there are two errors because there are
>   two definitions for the same pin. For some reason it is not possible
>   to set a net attribute inside a pin definition. So I resorted to the
>   way the existing power pins deal with that situation.
> 
> res0805-1, cap0805-1
>   Resistor and capacitor both feature a little mark near pin1. This
>   helps debugging the pcb. It is less intrusive all pin numbers
>   visible. Also the pins have the recommended 300 mil length.
> 
> L165-1
>   An update of "my first symbol"
> 
> If you don't object, I will contribute these symbols for the geda lib.
> License will be straight GPL v2. I already put a corresponding attribute
> in some of the symbols.
> 
> While doing the symbols I noticed, that the attributes "devicename" and
> "author" are missing in the list box of the new attribute dialog. Also
> it would be nice if the contents of this list box were sorted
> alphabetically.
> 
>    ---<(kaimartin)>---
> 


-- 
Kai-Martin Knaak
kmk@xxxxxxxxxxxxxxx
Blog: http://lilalaser.dyndns.org/blog
v 20060123 1
T 600 1900 5 10 0 1 0 0 1
device=L165
T 350 500 5 10 1 1 0 1 1
value=L165V
T 600 1500 5 10 0 0 0 0 1
description=Power operational amplifier L165 by ST
T 600 1300 5 10 0 0 0 0 1
footprint=PENTAWATT
T 600 1100 5 10 0 1 0 0 1
documentation=http://www.st.com/stonline/products/literature/ds/1317.pdf
T 1600 100 5 8 0 0 0 0 1
author=Kai-Martin Knaak kmkATfamilieknaakDOTde
L 300 900 300 100 3 0 0 0 -1 -1
L 300 900 1100 500 3 0 0 0 -1 -1
P 0 700 300 700 1 0 0
{
T 200 750 5 8 0 1 0 0 1
pinnumber=1
T 200 750 5 8 1 1 0 0 1
pinseq=1
T 350 600 9 16 1 1 0 0 1
pinlabel=+
T 150 600 5 8 0 1 0 0 1
pintype=in
}
P 0 300 300 300 1 0 0
{
T 150 350 5 8 0 1 0 0 1
pinnumber=2
T 150 350 5 8 1 1 0 0 1
pinseq=2
T 350 200 9 16 1 1 0 0 1
pinlabel=-
T 150 200 5 8 0 1 0 0 1
pintype=in
}
P 1100 500 1400 500 1 0 1
{
T 1125 525 5 8 0 1 0 0 1
pinnumber=4
T 1125 525 5 8 1 1 0 0 1
pinseq=4
T 1100 350 5 8 0 1 0 0 1
pintype=out
T 1275 550 9 8 0 1 0 0 1
pinlabel=Vout
}
T 925 175 5 8 0 1 0 0 1
net=Vcc:5
T 925 25 5 8 0 1 0 0 1
net=Vee:3
T 600 900 5 10 0 0 0 0 1
numslots=0
T 850 675 8 10 1 1 0 0 1
refdes=U?
L 300 100 1100 500 3 0 0 0 -1 -1
T 600 1700 5 10 0 0 0 0 1
devicename=L165
v 20060123 1
T 100 1700 5 10 0 0 0 0 1
device=resistor
T 600 0 5 10 1 1 0 0 1
value=XXX
T 100 1500 5 10 0 0 0 0 1
description=resistor, SMD 0805 
T 100 1100 5 10 0 0 0 0 1
footprint=0805
T 100 900 5 10 0 0 0 0 1
documentation=none
T 1600 -25 5 8 0 0 0 1 1
author=Kai-Martin Knaak kmkATfamilieknaakDOTde
P 0 400 300 400 1 0 0
{
T 125 450 5 8 0 1 0 0 1
pinnumber=1
T 125 450 5 8 0 1 0 0 1
pinseq=1
T 125 450 5 8 0 1 0 0 1
pinlabel=1
T 50 275 5 8 0 1 0 0 1
pintype=pas
}
P 1000 400 700 400 1 0 0
{
T 825 450 5 8 0 1 0 0 1
pinnumber=2
T 825 450 5 8 0 1 0 0 1
pinseq=2
T 825 450 5 8 0 1 0 0 1
pinlabel=2
T 775 275 5 8 0 1 0 0 1
pintype=pas
}
T 100 700 5 10 0 0 0 0 1
numslots=0
T 600 200 8 10 1 1 0 0 1
refdes=C?
L 450 600 450 200 3 0 0 0 -1 -1
L 550 600 550 200 3 0 0 0 -1 -1
L 550 400 700 400 3 0 0 0 -1 -1
L 450 400 300 400 3 0 0 0 -1 -1
L 400 400 450 350 3 0 0 0 -1 -1
T 100 1300 5 10 0 0 0 0 1
devicename=cap0805
v 20060123 1
B 0 300 800 600 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 600 1200 600 900 1 0 0
{
T 525 975 5 8 0 1 0 0 1
pinseq=1
T 525 975 5 8 0 1 0 0 1
pinnumber=1
T 575 775 9 8 1 1 0 6 1
pinlabel=cat
T 650 975 5 8 0 1 0 0 1
pintype=pas
}
B 125 450 150 300 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
L 450 650 500 700 3 0 0 0 -1 -1
L 500 700 700 700 3 0 0 0 -1 -1
L 700 700 750 750 3 0 0 0 -1 -1
L 600 700 500 500 3 0 0 0 -1 -1
L 500 500 700 500 3 0 0 0 -1 -1
L 700 500 600 700 3 0 0 0 -1 -1
L 600 500 600 300 3 0 0 0 -1 -1
L 600 700 600 900 3 0 0 0 -1 -1
L 750 750 725 725 3 0 0 0 -1 -1
L 200 450 200 300 3 0 0 0 -1 -1
L 200 750 200 900 3 0 0 0 -1 -1
P 600 0 600 300 1 0 0
{
T 575 250 5 8 0 1 180 0 1
pinseq=2
T 575 250 5 8 0 1 180 0 1
pinnumber=2
T 575 325 9 8 1 1 0 6 1
pinlabel=an
T 900 250 5 8 0 1 180 0 1
pintype=pas
}
P 200 0 200 300 1 0 0
{
T 150 225 5 8 0 1 180 0 1
pinseq=4
T 150 225 5 8 0 1 180 0 1
pinnumber=4
T 200 350 9 12 1 1 0 7 1
pinlabel=-
T 475 250 5 8 0 1 180 0 1
pintype=pas
}
P 200 1200 200 900 1 0 0
{
T 75 975 5 8 0 1 0 0 1
pinseq=3
T 75 975 5 8 0 1 0 0 1
pinnumber=3
T 200 850 9 12 1 1 0 7 1
pinlabel=+
T 250 975 5 8 0 1 0 0 1
pintype=pas
}
T 875 750 8 10 1 1 0 0 1
refdes=U?
T 175 2300 8 10 0 0 0 0 1
device=lm399
T 175 1300 8 10 0 0 0 0 1
documentation=LM199.pdf
T 175 1500 8 10 0 0 0 0 1
footprint=LM399
T 900 550 5 10 1 1 0 0 1
value=LM399
T 175 1900 8 10 0 0 0 0 1
description=precision voltage reference
T 175 1700 8 10 0 0 0 0 1
comment=Lm199 and LM299 are compatible.
T 175 2100 8 10 0 0 0 0 1
numslots=0
T 1000 300 8 8 0 0 0 0 1
author=-<(kmk)>-
T 1000 100 8 8 0 0 0 0 1
license=GPL v2, see www.gnu.org
v 20060123 1
T 625 2000 5 10 0 0 0 0 1
device=opamp
T 625 1800 5 10 0 0 0 0 1
devicename=opamp
T 600 1600 5 10 0 1 0 0 1
description=generic operational amplifier, SO8, pin7=Vcc, pin4=-Vcc
T 600 1400 5 10 0 0 0 0 1
footprint=SO8
T 600 1200 5 10 0 0 0 0 1
documentation=none
T 600 1025 5 8 0 0 0 0 1
author=Kai-Martin Knaak kmkATfamilieknaakDOTde
L 300 800 300 0 3 0 0 0 -1 -1
L 300 800 1100 400 3 0 0 0 -1 -1
L 300 0 1100 400 3 0 0 0 -1 -1
P 0 200 300 200 1 0 0
{
T 150 250 5 8 0 1 0 0 1
pinnumber=2
T 150 250 5 8 0 1 0 0 1
pinseq=2
T 350 100 9 16 1 1 0 0 1
pinlabel=-
T 150 100 5 8 0 1 0 0 1
pintype=in
}
P 0 600 300 600 1 0 0
{
T 200 650 5 8 0 1 0 0 1
pinnumber=3
T 200 650 5 8 0 1 0 0 1
pinseq=3
T 350 500 9 16 1 1 0 0 1
pinlabel=+
T 150 500 5 8 0 1 0 0 1
pintype=in
}
P 1100 400 1400 400 1 0 1
{
T 1125 450 5 8 0 1 0 0 1
pinnumber=6
T 1125 450 5 8 0 1 0 0 1
pinseq=6
T 1100 250 5 8 0 1 0 0 1
pintype=out
T 1225 450 9 8 0 1 0 0 1
pinlabel=Vout
}
T 1500 250 5 8 0 1 0 0 1
net=nc:1
T 1500 125 5 8 0 1 0 0 1
net=nc:5
T 1500 0 5 8 0 1 0 0 1
net=nc:8
T 925 100 5 8 0 1 0 0 1
net=Vcc:7
T 850 0 5 8 0 1 0 0 1
net=-Vcc:4
T 600 800 5 10 0 0 0 0 1
numslots=0
T 775 625 8 10 1 1 0 0 1
refdes=U?
T 350 350 5 10 1 1 0 0 1
value=opamp
v 20060123 1
T 1100 2000 5 10 0 0 0 0 1
device=opamp
T 350 625 5 10 1 1 0 1 1
value=opamp
T 1100 1600 5 10 0 0 0 0 1
description=generic operational amplifier, SO8
T 1100 1200 5 10 0 0 0 0 1
footprint=SO8
T 1100 1400 5 10 0 0 0 0 1
documentation=http://www.lilalaser.de/was.html
T 1500 0 5 8 0 0 0 0 1
author=Kai-Martin Knaak kmkATfamilieknaakDOTde
L 300 1000 300 200 3 0 0 0 -1 -1
L 300 1000 1100 600 3 0 0 0 -1 -1
L 300 200 1100 600 3 0 0 0 -1 -1
P 0 400 300 400 1 0 0
{
T 150 450 5 8 0 1 0 0 1
pinnumber=2
T 150 450 5 8 0 1 0 0 1
pinseq=2
T 350 300 9 16 1 1 0 0 1
pinlabel=-
T 150 300 5 8 0 1 0 0 1
pintype=in
}
P 0 800 300 800 1 0 0
{
T 200 850 5 8 0 1 0 0 1
pinnumber=3
T 200 850 5 8 0 1 0 0 1
pinseq=3
T 350 700 9 16 1 1 0 0 1
pinlabel=+
T 150 700 5 8 0 1 0 0 1
pintype=in
}
P 500 300 500 0 1 0 1
{
T 375 100 5 8 0 1 0 0 1
pinnumber=4
T 375 100 5 8 0 1 0 0 1
pinseq=4
T 550 100 5 8 0 1 0 0 1
pintype=pwr
T 550 225 9 8 1 1 0 0 1
pinlabel=-Vcc
}
P 1100 600 1400 600 1 0 1
{
T 1125 650 5 8 0 1 0 0 1
pinnumber=6
T 1125 650 5 8 0 1 0 0 1
pinseq=6
T 1100 450 5 8 0 1 0 0 1
pintype=out
T 1225 650 9 8 0 1 0 0 1
pinlabel=Vout
}
P 500 900 500 1200 1 0 1
{
T 400 1000 5 8 0 1 0 0 1
pinnumber=7
T 400 1000 5 8 0 1 0 0 1
pinseq=7
T 550 1075 5 8 0 1 0 0 1
pintype=pwr
T 550 900 9 8 1 1 0 0 1
pinlabel=Vcc
}
T 1100 250 5 8 0 1 0 0 1
net=nc:1
T 1100 125 5 8 0 1 0 0 1
net=nc:5
T 1100 0 5 8 0 1 0 0 1
net=nc:8
T 1100 1000 5 10 0 0 0 0 1
numslots=0
T 900 750 5 10 1 1 0 0 1
refdes=U?
T 1100 1800 5 10 0 0 0 0 1
devicename=opamp
v 20060123 1
T 100 1800 5 10 0 1 0 0 1
device=resistor
T 100 1600 5 10 0 0 0 0 1
devicename=res0805
T 100 1400 5 10 0 0 0 0 1
description=resistor, SMD 0805 
T 100 1200 5 10 0 0 0 0 1
footprint=0805
T 100 1000 5 10 0 0 0 0 1
documentation=none
T 1200 0 5 8 0 0 0 0 1
author=Kai-Martin Knaak kmkATfamilieknaakDOTde
P 1000 500 700 500 1 0 0
{
T 850 550 5 8 0 1 0 0 1
pinnumber=2
T 850 550 5 8 0 1 0 0 1
pinseq=2
T 850 550 5 8 0 1 0 0 1
pinlabel=2
T 750 400 5 8 0 1 0 0 1
pintype=pas
}
P 0 500 300 500 1 0 0
{
T 125 550 5 8 0 1 0 0 1
pinnumber=1
T 125 550 5 8 0 1 0 0 1
pinseq=1
T 125 550 5 8 0 1 0 0 1
pinlabel=1
T 25 400 5 8 0 1 0 0 1
pintype=pas
}
B 300 400 400 200 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
L 300 450 350 400 3 0 0 0 -1 -1
T 300 200 8 10 1 1 0 0 1
refdes=R?
T 100 800 8 10 0 0 0 0 1
numslots=0
T 300 0 8 10 1 1 0 0 1
value=res0805
v 20060123 1
T 75 1625 5 10 0 0 0 0 1
description=reference voltage
T 75 1225 5 10 0 0 0 0 1
documentation=none
T 1200 0 5 8 0 0 0 0 1
author=generic geda modified by -<(kmk)>-
T 75 1425 5 10 0 0 0 0 1
footprint=none
T 1000 800 8 10 0 0 0 0 1
refdes=none
V 200 350 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 25 450 9 10 1 0 0 0 1
Vref
P 200 300 200 0 1 0 1
{
T 100 50 5 10 0 1 0 0 1
pinnumber=1
T 100 1050 5 10 0 0 0 0 1
pinseq=1
T 100 50 5 10 0 1 0 0 1
pinlabel=1
T 300 50 5 10 0 1 0 0 1
pintype=pwr
}
T 100 700 8 8 0 0 0 0 1
net=Vref:1
T 100 900 8 8 0 0 0 0 1
numslots=0
T 1000 1000 8 8 0 0 0 0 1
device=none