Hi
I'm trying to simulate a circuit with a LM386 with switchercad, and since that IC isn't defined in the programs library, I looked up a spice model on the net. The problem is I cant seem to get the whole thing working. This is what I do:
I saved the spice model in a file called LM.lib in \lib\sub . The file is attached.
I placed a 8 pin din, and entered the following fields:
Prefix: X
InstName: lm386
SpiceLine: .INCLUDE LM.lib
Now, when i try to run the simulation I get the following error:
SPICE Error
Unknown subcircuit called in:
xlm386 n002 n001 n004 0 p001 n003 nc_01 n002 .include lm.lib
what am I doing wrong?