yrrapt
05/07/2021, 12:55 PMVern
05/08/2021, 9:29 AMalter*-based edits. That, or you have more work to do when using alter* commands.yrrapt
05/08/2021, 9:41 AMyrrapt
05/08/2021, 9:46 AMVern
05/08/2021, 11:48 PMVern
05/10/2021, 1:48 AMalter and alterparam for changing subcircuit MOSFET model parameters. Both clearly refuse to do that.
The Cadence-y .param mnisrc_w=1u mnisrc_l=0.3, however, does work, and alterparam will change it. Only thing is, there's no motivation to use alterparam when you can just change the parameters directly. Well, I guess you could set up a sweep in the .control block, but I've been using xschem as a simulator front end.
Now that I think about it, with the big, long loading time ngspice seems to have (even with the .spiceinit set ngbehavior=hsa; set ng_nomodcheck trick), a .control block sweep with alterparam might be worth it!