gnucap-devel
[Top][All Lists]
Advanced

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

Re: [Gnucap-devel] language plugin help


From: Bas Gieltjes
Subject: Re: [Gnucap-devel] language plugin help
Date: Sun, 15 Apr 2012 23:51:01 +0200

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, address@hidden 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnucap-devel




 Bas
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]