Jelle Verest
02/25/2024, 11:35 AMlibraries/sky130_fd_pr/latest/cells/res_xhigh_po/sky130_fd_pr__res_xhigh_po.model.spice
defines the resistor as R = R0 * (1 + var), with var being sky130_fd_pr__res_xhigh_po__var_mult
defined in a comment in the file as a gaussian with std=0.025, but when looking at the netlist, the value is std=1.25*(0.0+agauss(0,1.0,1), or a gaussian with std=1.25.
I believe this stems from another definition in libraries/sky130_fd_pr/latest/models/parameters/montecarlo.spice
, where this var is defined as being 1.25 * ic_res
.
This ic_res
is defined in libraries/sky130_fd_pr/latest/models/parameters/critical.spice
as being 0.0. It also adds in comment that it should be a gaussian random variable with std=1.
Does anyone have some more info on this?
Cheers,
JelleTim Edwards
02/25/2024, 3:10 PMmodels/parameters/critical.spice
you will find
.param ic_res = 0.0 + MC_PR_SWITCH*AGAUSS(0,1.0,1)
which is, in fact, a Gaussian random variable with mean 0 and standard deviation 1 (when the mc
corner is used, which sets MC_PR_SWITCH
to 1
).Jelle Verest
02/25/2024, 5:15 PMLinen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.
Powered by