.Step Param with parametre into spice model

I hope this can be more clear. Having model and variable parameters to be the same may be a bit confusing. Now, I changed .step to use parameter “var”.

And, the .subckt is not embedded, but just as a netlist (text) in schematic.

What you have to do, is to modify sub-circuit netlist, with VTO=var. And now you can sweep this parameter. This workflow is easier if you want to test effect of different model parameters.

Parent.NMOS-SUBCKT.qsch (3.7 KB)

1 Like