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

Re: gEDA-user: gschem sym files



On Sep 26, 2010, at 2:31 AM, Karl Hammar wrote:

> The U3 is the lm7805-1.sym from gschem and it does not contain any
> pintype attribute.
> 
> It is easy enought to correct:
> 
>  $ diff `locate lm7805-1.sym`
>  1c1
>  < v 20080127 1
>  ---
>> v 20031231 1
>  19,20d18
>  < T 300 600 5 10 0 0 0 0 1
>  < pintype=in
>  28,29d25
>  < T 800 0 5 10 0 0 0 0 1
>  < pintype=pwr
>  37,38d32
>  < T 1300 600 5 10 0 0 0 0 1
>  < pintype=out

Except that the drc2 rules implicitly assume that "input" and "output" mean *digital* signals. To match the drc2 model of reality, these should all be pwr.

> It also fails gsymcheck:
> 
>  $ gsymcheck -vv lm7805-1.sym 
>  gEDA/gsymcheck version 1.4.0.20080127
>  gEDA/symcheck comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
>  This is free software, and you are welcome to redistribute it under certain
>  conditions; please see the COPYING file for more details.
> 
> 
>  Checking: /var/home/karl/Net/git/gaf/symbols/linear/lm7805-1.sym
>  Warning: Missing pinlabel= attribute
>  Warning: Missing pintype= attribute
>  Warning: Missing pinlabel= attribute
>  Warning: Missing pintype= attribute
>  Warning: Missing pinlabel= attribute
>  Warning: Missing pintype= attribute
>  Warning: Missing footprint= attribute
>  Warning: Did not find numslots= attribute, not checking slotting
>  ERROR: Found duplicate pinnumber=2 attribute in the symbol
>  ERROR: Found duplicate pinnumber=2 attribute in the symbol
>  8 warnings found 
>  2 ERRORS found 
> 
> ***
> 
> Should a missing numslots=0 really be a warning?
> It is annoying to include it in most sym files just to make gsymcheck
> to shut up.
> 
> The "ERROR" is due to the:
> 
> T 1600 900 5 10 0 0 0 0 1
> net=GND:2
> 
> Should that really be an error?

All of these "errors" by various utilities require interpretation. gEDA's application space is much broader than originally conceived.

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




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