Hmmm… apparently the following line isn’t recognized by NG-Spice
Mpmos@0 vdd gnd gnd vdd pmos L=0.6U W=12U
I’m testing a DC analysis first on a PMOS configured as a diode, so the drain and gate are connected to GND (d g s b) and the source is to VDD (there is no bulk). Using LTSpice, I get the conventional I-V curve of a diode. With NG-Spice, I’m getting the following error from the “.out” file.
Error on line 11 :
mpmos@0 vdd 0 0 vdd pmos l=0.6u w=12u
could not find a valid modelname
ngspice 1 ->
I ascertained that I set the spice model and the include file link is accessible (I had to transfer it to C:\Users\Public\Documents\C5_models.txt because the space bar in “Justin Spencer” was prompting another error (this is alright in LTSpice).
In the meantime, I’ll try attacking the problem from different angles.
Thanks and best regards,