Skip to main content
1 of 3
Peter Smith
  • 22.6k
  • 1
  • 30
  • 65

First, make yourself a user directory under 'sym':

New directory

Before adding anything (I already did, but we will get to that).

Start LTSpice, start a new schematic and then select add component:

I get this view with my parts directory shown:

My directory now viewable in LTSpice

Close LTSpice for now.

For an opamp (which is what I did here), copy the OPAMP2.sym file from the sym\Opamps directory to your directory and rename it with the name you want (which is what I did in the first picture).

Now get the subcircuit file and save it in the lib\sub directory:

Model added to sub directory

Now open the asy file in your user directory in a text editor:

Here is part of the file:

SYMATTR Value ADA4666
SYMATTR Prefix X
SYMATTR Description Micropower Rail to Rail amplifier
SYMATTR SpiceModel ADA4666.cir

I changed the SYMATTR values to give a correct display name (Value), the Description field for what LTSpice shows in the selector window and the SpiceModel to the model I added in the sub folder.

Here it is:

New amplifier with description

I then place it:

ADA4666 placed

Right click on the part and you get this:

ADA4666 attributes

This can now be used in any schematic.

I went through this when I added the Wurth magnetics library a while back.

Peter Smith
  • 22.6k
  • 1
  • 30
  • 65