Hey everyone,
I was testing a simple custom NMOS model, and I noticed that using the default model gave me different results w.r.t. explicitly setting default W or L.
In particulat, for level=1, I see the default W being 10um:
I do not get your answer @bordodynov. I am using “list” stepping. Also, as you can see in the Simulation Step Tool window, the blue curve of ID1 is associated to W=1e-4 and it is equal to ID2.
Your observation is correct. By default, L and W are set to 100um (1e-4). Mike fixed this typo mistake in the HELP section. Updating your Qspice should resolve the issue with the HELP file.
The default values for L and W are set by .option DEFL or .option DEFW. If a MOS does not have instance parameters for L or W, their values will match the DEFL and DEFW settings, which should be 100um.
In default for MOS : L=DEFL=1e-4 ; W=DEFW=1e-4
It may be clear if HELP also changes W=DEFW instead of using W=1e-4 in Level1. But change it or not, the default is actually still 1e-4. I email Mike about this report and he clarified that in default these two values are 1e-4 (100um) and there was typo in HELP. He corrected the HELP but I didn’t go back to discuss with him again if W must be change to DEFW.