¿ªÔÆÌåÓý

Re: New Feature Released & Opamp Modeling


 

Jon,

In the above case, it would be nice if LT Spice
would put a "Select Subcircuit" button on the
dialog box which comes up when I right-click on
the symbol (if the .ASY symbol is an X type)
and provide me a list of .SUBCKT entries it
found in the specified library file. In that
case, the PUJT.LIB case, this means it would pop
up 2N6027 and 2N6028, for example, and offer
those as options.
Yes, this is something that's been needed for a
long time. So I implemented it today. To use
it make a symbol with prefix 'X'. Make ModelFile
point to a library contianing subcircuits. Give
the symbol a SpiceModel that coincides with the
name of a subcircuit in ModelFile. Those
conditions will cause the editor for the
SpiceModel to be replaced with a drop list of
subcircuits in the file pointed to by ModelFile.

I modified the symbols 1pole.asy and 2pole.asy
to put the subcircuit names as the SpiceModel
attribute instead of the value so that you can
see it work(Though there's only one subcircuit
in the list to choose from). It's possible
that old schematics drafted with yesterday's
version don't work, just delete and replace the
1pole and 2pole instances to fix.

--Mike

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

Join [email protected] to automatically receive all group messages.