Chris
10/10/2023, 11:38 PMsm141064.ngspice
. On line 47019, the following parameters define the mismatch properties of `nfet_03v3`:
.param
+ par_vth=0.007148
+ par_k=0.007008
+ par_l=1.5e-7
+ par_w=-1e-7
+ par_leff='l-par_l'
+ par_weff='par*(w-par_w)'
+ p_sqrtarea='sqrt((par_leff)*(par_weff))'
My understanding is that par_vth
(essentially A_vth
) accounts for the mismatch of `Vth`; but I am not 100% sure of par_k
, what is this k
in particular? Is it the same as \beta=\muCox(W/L)
(which is the notation convention some people follow), or is it the same as K
defined in this paper (https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=572629) which is a parameter that accounts for the change of Vth
due to the presence of a source-body voltage (also see the attached picture)? Thanks.Amro Tork
10/11/2023, 2:19 PMpar_k
, I could see that it used in a variable called var_k
which seems to be the variance for some variable, then var_k
is used in mis_k=agauss(0,var_k,1)
. As you see it's used to generate a random value for variable mis_k
from a Gaussian distribution that is required for MC simulations.
After I went to check that in the code, it seems it's not used anywhere in the model accordingly it doesn't have any effect on the simulation. It should change something in the BSIM4 model parameters if it will affect the transistor behavior. That said, that looks like a bug to me. Good catch.
If you want more information about the BSIM model parameters, you could find it at the link above. Appreciate if you could open an issue for it on :
https://github.com/efabless/globalfoundries-pdk-libs-gf180mcu_fd_pr/tree/mainAmro Tork
10/11/2023, 2:21 PMAmro Tork
10/11/2023, 2:22 PMAmro Tork
10/11/2023, 2:22 PMAmro Tork
10/11/2023, 2:25 PMChris
10/11/2023, 8:05 PMAmro Tork
10/12/2023, 5:54 AM