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

gEDA-user: Howto do "correct" power symbols?



gsymcheck complains with warnings and an error on generic power symbols 
in the default lib: 

/-------------------
kmk@kwak:~$ gsymcheck -vv /usr/local/bin/share/gEDA/sym/power/gnd-1.sym
gEDA/gsymcheck version 1.5.0.20080127
(...)
Checking: /usr/local/bin/share/gEDA/sym/power/gnd-1.sym
Warning: Missing footprint= attribute
Warning: Missing refdes= attribute
Warning: Found the same number in a pinnumber attribute and in a net 
attribute [1]
Warning: Did not find numslots= attribute, not checking slotting
ERROR: Missing device= attribute
4 warnings found 
1 ERROR found 
\--------------------


The offending symbol file looks like this:
/----------------
v 20031231 1
P 100 100 100 300 1 0 1
{
T 158 161 5 4 0 1 0 0 1
pinnumber=1
T 158 161 5 4 0 0 0 0 1
pinseq=1
T 158 161 5 4 0 1 0 0 1 
pinlabel=1
T 158 161 5 4 0 1 0 0 1 
pintype=pwr
}
L 0 100 200 100 3 0 0 0 -1 -1
L 55 50 145 50 3 0 0 0 -1 -1
L 80 10 120 10 3 0 0 0 -1 -1
T 300 50 8 10 0 0 0 0 1
net=GND:1
\-----------------

What is this warning about the same pinnumber and net attribute meant to 
mean? Why would it be a mistake to set the net of an existing pin? Why is 
the abscence of a numslots attribute considered a potential problem?
Is there a way to make gsymcheck be happy with power symbols?

---<(kaimartin)>---
-- 
Kai-Martin Knaak
http://lilalaser.de/blog



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