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

Re: gEDA-user: New symbol + Spice



On Mon, 21 May 2001 andrew@andrewcooke.free-online.co.uk wrote:

 
 Hi,

> I've defined a new symbol.  It has three pins, a uref, a device and a
> value defined.
> 
> When I include it in a schematic and then generate a netlist, it is
> listed only by its uref and value.  The net node information is
> missing.
> 
> In otehr words, I was hoping to see output something like
> 
> [...]
> U1 x y z MOD1
> [...]
> 
> where x y and z are the nodes connected to the pins and MOD1 is the
> value (and name of a spice .SUBCKT that I intend to append to the .net
> file).  However, I see
> 
> [...]
> U1 MOD1
> [...]
> 
> If I remove the value I get
> 
> U1 <no valid value attribute found>
> 
> which is fair enough.  But how do I get the nodes too?

Have you placed pin1=<something>, pin2=<something>, pin3=<something>
attributes on the pins? The numbers after the pin are mandatory they
indicate the order for placement in the netlist (x=1,y=2,z=3), the text
after the = symbol is not used for spice netlisting. 

Take for an example a look at one of the transistor symbols e.g.
gEDA/sym/analog/npn-2.sym.


 Bas
--