I am trying to perform a parametric sweep with ngspice(following Section 17.8.8 ofÂ
ngspice manual) as shown in the code below for nfet_01v8
.dc V1 0 1.8 0.01
.control
let start_WN1 = 1e-6
let stop_WN1 = 100e-6
let delta_WN1 = 10e-6
let actual_WN1 = start_WN1
while actual_WN1 le stop_WN1
alter m.xm1.msky130_fd_pr__nfet_01v8 W = actual_WN1
dc V1 0 1.8 0.01
* plot v(Vout)
let actual_WN1 = actual_WN1 + delta_WN1
end
plot dc1.v(Vout) dc5.v(Vout) dc10.v(Vout)
.endc
But running this simulation I get:
*Error:*Â no model available for w=1.100000e-6 l=1.500000e-7
and so on for all the values iterated.
I understand that only certain parameter combinations are
available and any other sizes result in interpolated models.
Any help regarding on how I can perform such a parametric sweep type simulation would really help.