Re: gEDA-user: What is the logic in gnetlist/spice-sdb when to add a 'X' prefix to an identifier?

2009-02-10 Thread evan foss
On Sun, Feb 8, 2009 at 1:13 PM, al davis wrote: > On Sunday 08 February 2009, Christoph Lechner wrote: >> > How can it know? >> >> Well, I thought: maybe there's some attribute dedicated to >> this case ... > > The Spice netlister is loaded with special cases, because the > Spice syntax is loaded

Re: gEDA-user: What is the logic in gnetlist/spice-sdb when to add a 'X' prefix to an identifier?

2009-02-08 Thread Christoph Lechner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stuart Brorson wrote: >>> I recommend that you add the X on the schematic. Doesn't the >>> netlister just pass the label through? >> Not really. If I call the diode XD108, the netlister calls it DXD108. >> >> Wouldn't it be a work-around to call the d

Re: gEDA-user: What is the logic in gnetlist/spice-sdb when to add a 'X' prefix to an identifier?

2009-02-08 Thread al davis
On Sunday 08 February 2009, Christoph Lechner wrote: > > How can it know? > > Well, I thought: maybe there's some attribute dedicated to > this case ... The Spice netlister is loaded with special cases, because the Spice syntax is loaded with special cases. > > > I recommend that you add the X o

Re: gEDA-user: What is the logic in gnetlist/spice-sdb when to add a 'X' prefix to an identifier?

2009-02-08 Thread Stuart Brorson
>> I recommend that you add the X on the schematic. Doesn't the >> netlister just pass the label through? > Not really. If I call the diode XD108, the netlister calls it DXD108. > > Wouldn't it be a work-around to call the diode U108? I doubt that will work. IIRC, spice-sdb looks for the DEVICE

Re: gEDA-user: What is the logic in gnetlist/spice-sdb when to add a 'X' prefix to an identifier?

2009-02-08 Thread Christoph Lechner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 al davis wrote: > On Sunday 08 February 2009, Christoph Lechner wrote: >> Some of the diodes in the circuit are modelled by a SUBCKT, >> so I have to manually add a X prefix to these diode >> identifiers in the SPICE netlist (for example D101 => XD101)

Re: gEDA-user: What is the logic in gnetlist/spice-sdb when to add a 'X' prefix to an identifier?

2009-02-08 Thread al davis
On Sunday 08 February 2009, Christoph Lechner wrote: > Some of the diodes in the circuit are modelled by a SUBCKT, > so I have to manually add a X prefix to these diode > identifiers in the SPICE netlist (for example D101 => XD101) > for the SPICE simulation to work. Because I hate this > somewhat:

gEDA-user: What is the logic in gnetlist/spice-sdb when to add a 'X' prefix to an identifier?

2009-02-08 Thread Christoph Lechner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm just doing SPICE simulation of a SMPS. The schematics are drawn using gschem, the SPICE netlist is generated using the gnetlist and the spice-sdb backend (I'm still running gEDA 1.4.0). Some of the diodes in the circuit are modelled by a