Hi Does anyone know what BSIM4v5.5.0 file is and how I can fix this error? Thank you.
s
Hi Does anyone know what BSIM4v5.5.0 file is and how I can fix this error? Thank you.
s
Please send the Test.spice file. WIll run the sim on my system and see if there are errors.
s
Hi, I have sent both the error and the spice files. Thank you for your time.
s
I think your ngspice version is too old. Try to do
ngspice -v
to see. I have version 40 just to give a reference. I don't get any BSIM errors, but simulation fails because circuit matrix is singular. This happens if there are floating nodes (expecially supply nodes) Please send the opamp.sch schematic file and I will check.
s
Thank you for your response. Here is the schematic file.
s
please send also op_amp.sym and op_amp.sch
s
Here it is.
s
Thank you, please send also op_amp.sch. there is one file for the symbol (.sym) and one for the schematic (.sch)
s
Hi Stefan, Thank you for your time. Here is the all file. Please try these files. Thanks.
s
When I load your example the following warning appears:
Select the vdd voltage source and remove one of the duplicated ones. same thing for the gnd symbol. Save the schematic. I extracted the netlist and simulation ran fine.
Did you try
ngspice -v
and see the version installed on your system?
s
Here is the ngspice version:
s
@sepide asgari I finally found the root cause of your failure. You must create a
.spiceinit
file in the directory where ngspice runs (by default this is
~/.xschem/simulations
). The file must have the following content:
Copy code
set ngbehavior=hsa
set ng_nomodcheck 
set num_threads=4
Without this file ngspice does not correctly understand the .lib model file and I also get the same failure.
s
Hi Stefan, Thank you so much. Now, it works.