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

gEDA-bug: [ geda-Patches-1558391 ] Count distinct slotdef= pins for footprint size check.



Patches item #1558391, was opened at 2006-09-14 02:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=1558391&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gsymcheck
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Mallatt (jeff_mallatt)
Assigned to: Nobody/Anonymous (nobody)
Summary: Count distinct slotdef= pins for footprint size check.

Initial Comment:
Counts the number of distinct pinnumbers specified in
all slotdef= attributes.  Uses that number, plus the
number of net= pins, to compare with the "footprint
size" when checking for that warning.

The code used to simply use numpins*numslots, which
doesn't account for the possibility of the same
pinnumber being used in more than one slotdef= attribute.

For an example of a symbol where this matters, see
'analog/dual-opamp-1.sym'.

Other minor changes which fell out of the main change:

The slot number of the slotdef= attribute must now be
atoi()'d to a number > 0 or an error is reported 
Replaces testing for "0" (as a string) slot number.

Duplicate slotdef= slot numbers are reported as errors.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=1558391&group_id=161080


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