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

Re: gEDA-user: gschem sym files



Karl:
> Kai-Martin Knaak:
> > Karl Hammar wrote:
> > > Shall we update the distributed sym files so they pass gsymcheck ?
> > Yes, please.
> ..
> > > Should a missing numslots=0 really be a warning?
> ...
> > ack. It has been quite some time that numslots=0 is not necessary 
> > anymore.
> 
> Ok, a first step would then be:
> 
>  1, add/correct pintype to the sym files
>   1a, which programs use pintype
...

  By doing:

$ find . -type f | grep -v '\.sym$' | grep -v '\.o$' | grep -v '^./docs/' | xargs grep pintype | grep -v ^Binary | cut -f1 -d: | sort -u | cut -f2 -d/ | sort -u
gnetlist
gschem
gsymcheck
symbols
utils

I see that the word "pintype" is used somewhere in the directories 
above.

gnetlist:
 drc2 seems to be the only user here
gchem:
 gschem/lib/system-gschemrc.in, can be ignored for this discussion
gsymcheck:
 gsymcheck/src/s_check.c only checks valid values, but don't use them
symbols:
 just a changelog
utils:
 in utils I find "pintype" in:

 ./utils/scripts/gsymfix.pl
    just sets pintype=io if none exists, which is in conflict
    with system-sschemrc.in which says that the "default" pintype
    is "unknown"

 ./utils/scripts/gsymupdate
    just converts from pre 2002 file format

 ./utils/scripts/sarlacc_sym
    is an orcad text lib to sym converter

 ./utils/scripts/tragesym
    makes sym files, not a user

 ./utils/src/convert_sym.c
    viewlogic to sym converter

 ./utils/src/geda_sym_format.h
    used by olib.c

 ./utils/src/gmk_sym.c
    sym file creator

 ./utils/src/olib.c
 ./utils/src/olib.l
    orcad to sym converter

***

Soo, from what I can see,
 drc2 is the only user of the pintype
 gsymcheck checks for valid pintype values

and that means that drc2 defines the semantic of the values.

Regards,
/Karl Hammar

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




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