gEDA-dev: get pin attribute by pinseq
Stuart Brorson
sdb at cloud9.net
Sun Apr 22 08:35:19 EDT 2007
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
More information about the geda-dev
mailing list