You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we see that we have different parameters (act as factor) for nmos and pmos.
Next section is for statistical simulation in typical corner:
`
LIB mos_tt_stat
param sg13g2_lv_nmos_vfbo_mm_norm= 1.0
param sg13g2_lv_nmos_ctl_norm = 1.2080
param sg13g2_lv_nmos_rsw1_norm = 0.7200
param sg13g2_lv_nmos_muew_norm = 0.8500
param sg13g2_lv_nmos_dphibo_norm = 0.9915
param sg13g2_lv_nmos_dphibl_norm = 0.9693
include sg13g2_moslv_stat.lib
include sg13g2_moslv_mod.lib
ENDL mos_tt_stat`
The problem is that the nmos parameter are taken over from tt section into the stat section - but pmos not. They are a simple copy of the nmos parameter. Looks like a cut and paste error and follows in wrong results for tt_stat pmos simulations.
Other sections in lv and hv Corner lib have not this bug.
BTW - I see no need to create additional parameter for statistical simulation with _norm in the end of name. Just using the tt, ff, ss parameter is sufficient.
@miesli : In case you are still there, can you comment please.
The text was updated successfully, but these errors were encountered:
Looking into file IHP-Open-PDK/ihp-sg13g2/libs.tech/ngspice/models/cornerMOSlv.lib we see in typical (tt) section (abbreviated for better readability):
`
LIB mos_tt
param sg13g2_lv_nmos_vfbo_mm= 1.0
param sg13g2_lv_nmos_ctl = 1.2080
param sg13g2_lv_nmos_rsw1 = 0.7200
param sg13g2_lv_nmos_muew = 0.8500
param sg13g2_lv_nmos_dphibo = 0.9915
param sg13g2_lv_nmos_dphibl = 0.9693
param sg13g2_lv_pmos_vfbo_mm= 1.0
param sg13g2_lv_pmos_ctl = 1.9570
param sg13g2_lv_pmos_rsw1 = 0.7720
param sg13g2_lv_pmos_muew = 1.0520
param sg13g2_lv_pmos_dphibo = 0.9050
param sg13g2_lv_pmos_dphibl = 0.8550
include sg13g2_moslv_mod.lib
ENDL mos_tt`
So we see that we have different parameters (act as factor) for nmos and pmos.
Next section is for statistical simulation in typical corner:
`
LIB mos_tt_stat
param sg13g2_lv_nmos_vfbo_mm_norm= 1.0
param sg13g2_lv_nmos_ctl_norm = 1.2080
param sg13g2_lv_nmos_rsw1_norm = 0.7200
param sg13g2_lv_nmos_muew_norm = 0.8500
param sg13g2_lv_nmos_dphibo_norm = 0.9915
param sg13g2_lv_nmos_dphibl_norm = 0.9693
param sg13g2_lv_pmos_vfbo_mm_norm= 1.0
param sg13g2_lv_pmos_ctl_norm = 1.2080
param sg13g2_lv_pmos_rsw1_norm = 0.7200
param sg13g2_lv_pmos_muew_norm = 0.8500
param sg13g2_lv_pmos_dphibo_norm = 0.9915
param sg13g2_lv_pmos_dphibl_norm = 0.9693
include sg13g2_moslv_stat.lib
include sg13g2_moslv_mod.lib
ENDL mos_tt_stat`
The problem is that the nmos parameter are taken over from tt section into the stat section - but pmos not. They are a simple copy of the nmos parameter. Looks like a cut and paste error and follows in wrong results for tt_stat pmos simulations.
Other sections in lv and hv Corner lib have not this bug.
BTW - I see no need to create additional parameter for statistical simulation with _norm in the end of name. Just using the tt, ff, ss parameter is sufficient.
@miesli : In case you are still there, can you comment please.
The text was updated successfully, but these errors were encountered: