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

Re: gEDA: gnetlist vs. XNF



Hi,


>> Hmmm.. lemme think.    I don't think you can yet.   Let me code
>> something up. :)
>
>Gack! You mean I'm the first one who needed that?!-) What about the
>pintype= attribute? Your symbol guide lists that one as special, so
>maybe there is something sufficiently magic about it that I can use
>that to carry I/O/B information?


	Well, no, you are not the first that needed that, but you are the
first that motivated me to actually write it. :-)  It's been on the
wish list for a while, but higher priority things always pushed it down.
Plus, when somebody is actively developing something new and very useful,
it gets my full attention. :)  Most of the existing netlisters just
care about connections and netnames, not other attributes attached to
individual pins.

	As far as pintype attribute, there's nothing really special about
it other than it's a new one and none of the netlisters use it yet.
I don't recommend that you use the name "pintype", please use "type".
I'm trying to undo some of the damage I've created by removing special
purpose attribute and making them general.  Same goes for "pinlabel",
please use "label".  I'll update the docs for the next release.

	As far as type= being special, just keep in mind that what gets
assigned to type= is specifed in the attributes.txt doc, if you assign
something other than those values your symbols might not work with
other backends.  If you would like to rename those types, by all means,
post here and suggest a rename.  I don't think anybody uses type= yet,
so it is up in the air.


>
>ahvezda@seul.org said:
>> [...] if you know know the uref and the pin number you can use:
>>    (gnetlist:get-nets "U1" "1")
>
>OK, looks good. Is the "1" the value of the pin#= attribute? I'll
>try it.


	If I hadn't checked I would have said no, but Yes, the "1"
is the value of the pin#= attribute.  I don't think anybody deals with
the # (from pin#=) in any of the netlist backends (which is a good thing
since that's nothing more than an placeholder for the slot mechanism).


								-Ales