A while ago somebody was inquiring about putting manufacturers' files in dedicated directories. Might have been josephkk, or George Herold, I can't remember. The only way I have found to do it is to put manufacturer directories as subdirectories of /lib/sub. You call them with ".lib <Manufacturer\modelfile>" Like ".lib Zetex\ZTX415.sub" -- "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman)
Manufacturer' models in separate directories in LTspice.
Started by ●June 30, 2013
Reply by ●June 30, 20132013-06-30
On Sun, 30 Jun 2013 08:24:58 -0700, Fred Abse <excretatauris@invalid.invalid> wrote:>A while ago somebody was inquiring about putting manufacturers' files in >dedicated directories. Might have been josephkk, or George Herold, I can't >remember. > >The only way I have found to do it is to put manufacturer directories as >subdirectories of /lib/sub. > >You call them with ".lib <Manufacturer\modelfile>" > >Like ".lib Zetex\ZTX415.sub"You can put them anywhere you want. I find it necessary, since I have, literally, hundreds of device libraries. Since ".LIB" is, in LTspice parlance, a "Spice directive", just do the Spice directive like this example, full path, etc... .LIB C:\PSpice\DeviceLib\X-Fab\XC06\Lib\bip\tm.lib In PSpice I have a "part" called "Library" that I just plunk down to make it easier... I often have 5 or 6 libraries per schematic. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
Reply by ●June 30, 20132013-06-30
On Sun, 30 Jun 2013 09:01:56 -0700, Jim Thompson wrote:> On Sun, 30 Jun 2013 08:24:58 -0700, Fred Abse > <excretatauris@invalid.invalid> wrote: > >>A while ago somebody was inquiring about putting manufacturers' files in >>dedicated directories. Might have been josephkk, or George Herold, I can't >>remember. >> >>The only way I have found to do it is to put manufacturer directories as >>subdirectories of /lib/sub. >> >>You call them with ".lib <Manufacturer\modelfile>" >> >>Like ".lib Zetex\ZTX415.sub" > > You can put them anywhere you want. I find it necessary, since I > have, literally, hundreds of device libraries. > > Since ".LIB" is, in LTspice parlance, a "Spice directive", just do the > Spice directive like this example, full path, etc... > > .LIB C:\PSpice\DeviceLib\X-Fab\XC06\Lib\bip\tm.lib > > In PSpice I have a "part" called "Library" that I just plunk down to > make it easier... I often have 5 or 6 libraries per schematic.Quite so. However it's tedious, and isn't easy on a Linux system. I don't use Windows at all. It's bad enough having to remember use even one backslash as a directory delineator.. Full path to my models is: /home/fred/.wine/drive_c/Program\ Files/LTC/LTspiceIV/lib/sub/<manufacturer> Case sensitive. That shows what I'm accustomed to using backslashes for ;-) -- "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman)
Reply by ●June 30, 20132013-06-30
On Sun, 30 Jun 2013 09:34:39 -0700, Fred Abse <excretatauris@invalid.invalid> wrote:>On Sun, 30 Jun 2013 09:01:56 -0700, Jim Thompson wrote: > >> On Sun, 30 Jun 2013 08:24:58 -0700, Fred Abse >> <excretatauris@invalid.invalid> wrote: >> >>>A while ago somebody was inquiring about putting manufacturers' files in >>>dedicated directories. Might have been josephkk, or George Herold, I can't >>>remember. >>> >>>The only way I have found to do it is to put manufacturer directories as >>>subdirectories of /lib/sub. >>> >>>You call them with ".lib <Manufacturer\modelfile>" >>> >>>Like ".lib Zetex\ZTX415.sub" >> >> You can put them anywhere you want. I find it necessary, since I >> have, literally, hundreds of device libraries. >> >> Since ".LIB" is, in LTspice parlance, a "Spice directive", just do the >> Spice directive like this example, full path, etc... >> >> .LIB C:\PSpice\DeviceLib\X-Fab\XC06\Lib\bip\tm.lib >> >> In PSpice I have a "part" called "Library" that I just plunk down to >> make it easier... I often have 5 or 6 libraries per schematic. > >Quite so. However it's tedious, and isn't easy on a Linux system. I don't >use Windows at all. It's bad enough having to remember use even one >backslash as a directory delineator.Quite so indeed. EXCEPT it's easy... I have a tool called ClipPath which allows clicking in your directory tree and it copies the whole file path and name, and supports either forward- or back-slash notation .> >Full path to my models is: >/home/fred/.wine/drive_c/Program\ Files/LTC/LTspiceIV/lib/sub/<manufacturer> >Case sensitive. >That shows what I'm accustomed to using backslashes for ;-)Using ClipPath, right click on filename, this got copied to clipboard, from whence I pasted it... C:\PSpice\DeviceLib\X-Fab\XH035\mos5\models\bsim3v3\tm\nmos5.lib Absolutely no memory required ;-) And no errors. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
Reply by ●July 3, 20132013-07-03
On Sun, 30 Jun 2013 09:01:56 -0700, Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:>On Sun, 30 Jun 2013 08:24:58 -0700, Fred Abse ><excretatauris@invalid.invalid> wrote: > >>A while ago somebody was inquiring about putting manufacturers' files =in>>dedicated directories. Might have been josephkk, or George Herold, I =can't>>remember. >> >>The only way I have found to do it is to put manufacturer directories =as>>subdirectories of /lib/sub. >> >>You call them with ".lib <Manufacturer\modelfile>" >> >>Like ".lib Zetex\ZTX415.sub" > >You can put them anywhere you want. I find it necessary, since I >have, literally, hundreds of device libraries. > >Since ".LIB" is, in LTspice parlance, a "Spice directive", just do the >Spice directive like this example, full path, etc... > >.LIB C:\PSpice\DeviceLib\X-Fab\XC06\Lib\bip\tm.lib > >In PSpice I have a "part" called "Library" that I just plunk down to >make it easier... I often have 5 or 6 libraries per schematic. > =09 > ...Jim ThompsonThanks fellers. There is so many little things like these to know. ?-)
Reply by ●July 6, 20132013-07-06
On Wed, 03 Jul 2013 03:48:05 -0700, josephkk wrote:> On Sun, 30 Jun 2013 09:01:56 -0700, Jim Thompson > <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote: > >>On Sun, 30 Jun 2013 08:24:58 -0700, Fred Abse >><excretatauris@invalid.invalid> wrote: >> >>>A while ago somebody was inquiring about putting manufacturers' files in >>>dedicated directories. Might have been josephkk, or George Herold, I >>>can't remember. >>> >>>The only way I have found to do it is to put manufacturer directories as >>>subdirectories of /lib/sub. >>> >>>You call them with ".lib <Manufacturer\modelfile>" >>> >>>Like ".lib Zetex\ZTX415.sub" >> >>You can put them anywhere you want. I find it necessary, since I have, >>literally, hundreds of device libraries. >> >>Since ".LIB" is, in LTspice parlance, a "Spice directive", just do the >>Spice directive like this example, full path, etc... >> >>.LIB C:\PSpice\DeviceLib\X-Fab\XC06\Lib\bip\tm.lib >> >>In PSpice I have a "part" called "Library" that I just plunk down to make >>it easier... I often have 5 or 6 libraries per schematic. >> >> ...Jim Thompson > > Thanks fellers. There is so many little things like these to know. > > ?-)Another little wrinkle I might try is to put the manufacturer subdirectories in as symlinks to subdirectories of my general "Components" directory, where I keep datasheets, etc. which is organized by manufacturer already and centralize everything. Only would work in 'nix. I run three different spice versions, so it might be a good idea. -- "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman)