NGSPICE Not recognising modelfile, they are in the same directory

Thread Starter


Joined Jun 10, 2020
Hello everyone, hope everyone is doing great.

I am trying ngspice and have run into a problem. Whenever I try to import a model file in that, It throws an error and I just cannot seem to rectify it. I am adding all the files here and ALso mentioning that all of them in the same folder and I have changed the root directory using the cd command too.

Please help me, it's been 2 days and I am not able to get any answers.

PS : I have uploaded the .mod file as .cir as allaboutcircuits does not allow .mod files

EDIT 1 : The issue seems to be resolved, as soon as I removed a line from the .mod file,
that is the second line in the added pic.



Last edited: