0
\$\begingroup\$

It's been asked quite a few times how to import PSpice models into LTspice but none of the methods seem to apply to this particular model from TI. I really don't understand what all these files are inside the .zip. Isn't there supposed to be a .lib file somewhere which we can link to a component?

Here is a model for the OPA313 if you follow the link and scroll down a bit.

Under sbomaq3b\opa313-PSpiceFiles\SCHEMATIC1\transient there is a .cir file which my computer seems to think is an LTspice netlist file. Opening it in LTspice gives me this:

enter image description here

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

The model is in the root directory of the archive. Use opa313.lib.

enter image description here

\$\endgroup\$
3
  • \$\begingroup\$ This worked. Thank you. For some reason my windows computer does not recognize that as a .lib file. After opening it in LTspice now, it's identifying it as a an altium library file. Very interesting. I also followed these steps: analog.com/en/technical-articles/… \$\endgroup\$
    – BobaJFET
    Jan 10 at 13:55
  • \$\begingroup\$ @BobaJFET You shouldn't assume only files which claim an association with LTspice are the only ones that can be used within LTspice. For example, SPICE models from OnSemi might have a .SP3 extension which will work in LTspice. If the manufacturer ships a bunch of different files, of course try opening the .LIB first using the method in step 1 of the article you linked. If that's not it, start trying others until you file a .MODEL or .SUBCKT statement near the top of the text. Also, if you haven't already you should tell your Windows OS to always show file extensions. \$\endgroup\$
    – Ste Kulov
    Jan 11 at 5:51
  • \$\begingroup\$ howtogeek.com/205086/… \$\endgroup\$
    – Ste Kulov
    Jan 11 at 5:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.