I try to simulate different MOSFET's for wich a spice model is provided by the manufacturer as a .lib
file containing a subcircuit. In my schematic, the subcircuit is included with a .inc <fname>
statement and used by changing the Prefix of a NMOS from M to X and setting to value to the name of the subcircuit.
All of this works, however, as I want to compare different MOSFETS, I want to step through a list of different models.
I tried to use the same method as found here:
- Define numerical models:
.model 1 ako:<FET Type>
- Step over the numerical models
However, this does not work. A error "Unknown subcircuit called" is returned.
Is there another way of stepping over different subcurcuits?