[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: RE: geda-user Digest, Vol 8, Issue 20



Stuart,
Thanks for the update. I will try to get the CVS version tonight. I always dread doing that because the update process is not the clearest in my mind-- but I digress....
The "final" change I made to the device attribute was actually a last act of desperation; it wasn't like that from the outset.


Might it seem better to have the netlister just look at a different attribute instead of device like using a "type" attribute? I wonder that out loud because, although I understand the necessity to keep the simulation schematics separate from board schematics, it might make it slightly more difficult to copy between the two should you have a nice drawing handy that you just simulated. Should the "device" attribute be used the way it seems to be used for spice-sdb, a copy might be impossible without further changes to each individual device/part.
Frankly, I'm not sure what the "BOM" inputs would be in terms of "value", "device", "description", "footprint", etc. for the BOM-making tool since I haven't run it. But, it would be "nice" not having "overlapping" attributes between "modes" of using gschem. Just some thoughts. BTW, I noticed "type" is no longer in the drop-down list for gschem (I think that's a change), but it is referenced here: http://www.geda.seul.org/docs/20040111/spice-sdb/netlist.html


Regards,
Kurt
------------------------------

Message: 4
Date: Tue, 9 Jan 2007 09:53:41 -0500 (EST)
From: Stuart Brorson <sdb@xxxxxxxxxx>
Subject: Re: gEDA-user: spice-sdb - NPN model in gschem
To: gEDA user mailing list <geda-user@xxxxxxxxxxxxxx>
Message-ID: <Pine.BSF.4.64.0701090946390.86963@xxxxxxxxxxxxxxxxxxxx>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Hi Kurt --

I fixed your problem.  Several things were going on here.

1.  Somebody (maybe even me) changed the device attribute in
spice-npn-1.sym from NPN_TRANSISTOR to SPICE-NPN.  Since spice-sdb
looked for NPN_TRANSISTOR in order to know what to do, this change
meant that spice-sdb couldn't do the right thing with the symbol.

I fixed this by putting SPICE-NPN (and SPICE-PNP) into the dispatch
list in spice-sdb, so the symbol will now work.  Change is in CVS.

2.  In your schematic, you redefine the device attribute.  Don't do
that.  The device attribute should be a hidden attribute living on the
symbol.  Please remove that attribute from your schematic.

Kurt, please grab the latest stuff from CVS (or at least the latest
gnet-spice-sdb.scm), remove the device attribute from your schematic,
and try again.

A side note:  Gschem's new multiattribute editor is very nifty when
adding attributes, but is a PITA when it comes time to remove
attributes.  I wonder if a little re-think might find a way to add a
"delete" button to the multiattribute editor?  Maybe a job for the
upcoming code sprint?

Cheers,

Stuart




_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user