[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gEDA-dev: get pin attribute by pinseq



A question for the gnetlist developers.  Please pardon me for not
asking a focussed question, but I am swimming around in confusion
about how gnetlist deals with slotted parts.

I am working on spice-sdb.   I would like to use
gnetlist:get-attribute-by-pinseq for a slotted part.  However, this
function doesn't seem to work for slots > 1.

It raises the question:  How are slotted parts treated by gnetlist
anyway?  In general, I believe gnetlist creates list of (pinnumber,
attached_netname) pairs for each component.  But this seems to throw
the slotting information away when this list is built.  Where is it
created?  Perhaps in some libgeda function?

Meanwhile, get_attribute_by_pinseq seems to work for slot 1, which
means that pinseq info is somehow associated with the part (presumably
as attributes attached to the slot 1's pins).  But why not slot 2, 3,
4....?

Any hints (i.e. pointers to which functions are involved) would be
appreciated!

Cheers,

Stuart


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