Hello John & others, It is possible to modify gnetlist to obtain the values of a "pinlabel". That attribute is not available in the current gnetlist guile code but the value is copied to a variable in the c-code. See gnetlist/src/s_traverse.c on line 293/294 (the pinnumber is obtained in the line above)
You can then modify your netlister to obtain "p" of "n" values or even "c", "b", "e" or "d" "g" "g1" "g2" "s", etc... No more messing with obtaining pin=1, pin=2 that have more meaning when you want physical pins for e.g. a pcb layout. Bas -- > On 04/15/2012 01:28 PM, [email protected] wrote: > > 2. Pin names are "\2" and "\1". They should be "p" and "n". > > For many passive parts the symbol libraries are not polarized, so > some kind of text processing of the netlist would be helpful, > and it should be open and pointed out to the user so they > aren't confused by its action. For a resistor or nonpolarized > capacitor model, either way will be fine and better than doing > nothing. > > John > > _______________________________________________ > Gnucap-devel mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/gnucap-devel Bas -- _______________________________________________ Gnucap-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnucap-devel
