<@U01819B63HP> do you have an example of a multi corner spice simulation?
s
@Stefan Schippers do you have an example of a multi corner spice simulation?
t
In the xschem example testbenches, you'll find "code" blocks labeled, e.g., "TT_MODELS". This is running one command in ngspice,
.lib $::SKYWATER_MODELS/sky130.lib.spice tt
. This line loads all of the device models, and the
tt
selects the corner. The available corners are
tt
,
sf
,
fs
,
ss
, and
ff
. Because the corner is selected from the
.lib
statement, I do not think it is possible to run multiple corners in a single simulation, but you would need to run N simulations for N corners and aggregate the data afterward.
s
Thank you, this was very helpful.
s
@Steven Kiss I wish there was such a 'alter' like command in ngspice to change corner, enabling multiple runs with different corners. Unfortunately to ky knowledge it is not possible to change the process corner. It is possible to change single model parameters, but this is of no help. As @Tim Edwards suggested you should setup multiple runs, one for each corner, the advantage is that you can fully parallelize (on different cores/ different computers) the simulation jobs.
s
Okay, thank you very much.