Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new library concept for corner/statistic/mismatch simulation #269

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ihp-sg13g2/libs.tech/ngspice/models/capacitors_stat.lib
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*
*#######################################################################

.param mc_ok=1
* ngspice MC parameters
.param cap_carea = 'gauss(cap_carea_norm, 0.033, mc_ok)'
.param cap_cpara = 'gauss(cap_cpara_norm, 0.067, mc_ok)'
244 changes: 133 additions & 111 deletions ihp-sg13g2/libs.tech/ngspice/models/cornerHBT.lib
Original file line number Diff line number Diff line change
@@ -1,151 +1,173 @@
*#######################################################################
*
* Copyright 2023 IHP PDK Authors
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* https://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
*distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*#######################################################################

.LIB hbt_typ
.param vbic_cje = 1.0
.param vbic_cjc = 1.0
.param vbic_cjcp = 1.0
.param vbic_is = 1.0
.param vbic_ibei = 1.0
.param vbic_re = 1.0
.param vbic_rcx = 1.0
.param vbic_rbx = 1.0
.param vbic_tf = 1.0

.param sgp_mpa_cje = 1.0
.param sgp_mpa_cjc = 1.0
.param sgp_mpa_is = 1.0
.param sgp_mpa_bf = 1.0
.param sgp_mpa_re = 1.0
.param sgp_mpa_rb = 1.0
.param sgp_mpa_rc = 1.0
.parameters vbic_cje = 1.0
.parameters vbic_cjc = 1.0
.parameters vbic_cjcp = 1.0
.parameters vbic_is = 1.0
.parameters vbic_ibei = 1.0
.parameters vbic_re = 1.0
.parameters vbic_rcx = 1.0
.parameters vbic_rbx = 1.0
.parameters vbic_tf = 1.0

.parameters sgp_mpa_cje = 1.0
.parameters sgp_mpa_cjc = 1.0
.parameters sgp_mpa_is = 1.0
.parameters sgp_mpa_bf = 1.0
.parameters sgp_mpa_re = 1.0
.parameters sgp_mpa_rb = 1.0
.parameters sgp_mpa_rc = 1.0

.include sg13g2_hbt_mod.lib
.ENDL hbt_typ

.LIB hbt_typ_stat
.param vbic_cje_norm = 1.0
.param vbic_cjc_norm = 1.0
.param vbic_cjcp_norm = 1.0
.param vbic_is_norm = 1.0
.param vbic_ibei_norm = 1.0
.param vbic_re_norm = 1.0
.param vbic_rcx_norm = 1.0
.param vbic_rbx_norm = 1.0
.param vbic_tf = 1.0

.param sgp_mpa_cje_norm = 1.0
.param sgp_mpa_cjc_norm = 1.0
.param sgp_mpa_is_norm = 1.0
.param sgp_mpa_bf_norm = 1.0
.param sgp_mpa_re_norm = 1.0
.param sgp_mpa_rb_norm = 1.0
.param sgp_mpa_rc_norm = 1.0
.parameters vbic_cje_norm = 1.0
.parameters vbic_cjc_norm = 1.0
.parameters vbic_cjcp_norm = 1.0
.parameters vbic_is_norm = 1.0
.parameters vbic_ibei_norm = 1.0
.parameters vbic_re_norm = 1.0
.parameters vbic_rcx_norm = 1.0
.parameters vbic_rbx_norm = 1.0
.parameters vbic_tf = 1.0

.parameters sgp_mpa_cje_norm = 1.0
.parameters sgp_mpa_cjc_norm = 1.0
.parameters sgp_mpa_is_norm = 1.0
.parameters sgp_mpa_bf_norm = 1.0
.parameters sgp_mpa_re_norm = 1.0
.parameters sgp_mpa_rb_norm = 1.0
.parameters sgp_mpa_rc_norm = 1.0

.include sg13g2_hbt_stat.lib
.include sg13g2_hbt_mod.lib
.ENDL hbt_typ_stat


.LIB hbt_typ_mismatch
.parameters vbic_cje = 1.0
.parameters vbic_cjc = 1.0
.parameters vbic_cjcp = 1.0
.parameters vbic_is = 1.0
.parameters vbic_ibei = 1.0
.parameters vbic_re = 1.0
.parameters vbic_rcx = 1.0
.parameters vbic_rbx = 1.0
.parameters vbic_tf = 1.0

.parameters sgp_mpa_cje = 1.0
.parameters sgp_mpa_cjc = 1.0
.parameters sgp_mpa_is = 1.0
.parameters sgp_mpa_bf = 1.0
.parameters sgp_mpa_re = 1.0
.parameters sgp_mpa_rb = 1.0
.parameters sgp_mpa_rc = 1.0

.include sg13g2_hbt_mod_mismatch.lib
.ENDL hbt_typ_mismatch

.LIB hbt_bcs
.param vbic_cje = 0.83
.param vbic_cjc = 0.87
.param vbic_cjcp = 0.89
.param vbic_is = 1.26
.param vbic_ibei = 0.67
.param vbic_re = 0.73
.param vbic_rcx = 0.79
.param vbic_rbx = 0.88
.param vbic_tf = 0.89

.param sgp_mpa_cje = 0.955
.param sgp_mpa_cjc = 0.98
.param sgp_mpa_is = 1.13
.param sgp_mpa_bf = 1.24
.param sgp_mpa_re = 0.952
.param sgp_mpa_rb = 0.975
.param sgp_mpa_rc = 0.95
.parameters vbic_cje = 0.83
.parameters vbic_cjc = 0.87
.parameters vbic_cjcp = 0.89
.parameters vbic_is = 1.26
.parameters vbic_ibei = 0.67
.parameters vbic_re = 0.73
.parameters vbic_rcx = 0.79
.parameters vbic_rbx = 0.88
.parameters vbic_tf = 0.89

.parameters sgp_mpa_cje = 0.955
.parameters sgp_mpa_cjc = 0.98
.parameters sgp_mpa_is = 1.13
.parameters sgp_mpa_bf = 1.24
.parameters sgp_mpa_re = 0.952
.parameters sgp_mpa_rb = 0.975
.parameters sgp_mpa_rc = 0.95

.include sg13g2_hbt_mod.lib
.ENDL hbt_bcs

.LIB hbt_bcs_stat
.param vbic_cje_norm = 0.83
.param vbic_cjc_norm = 0.87
.param vbic_cjcp_norm = 0.89
.param vbic_is_norm = 1.26
.param vbic_ibei_norm = 0.67
.param vbic_re_norm = 0.73
.param vbic_rcx_norm = 0.79
.param vbic_rbx_norm = 0.88
.param vbic_tf = 0.89

.param sgp_mpa_cje_norm = 0.955
.param sgp_mpa_cjc_norm = 0.98
.param sgp_mpa_is_norm = 1.13
.param sgp_mpa_bf_norm = 1.24
.param sgp_mpa_re_norm = 0.952
.param sgp_mpa_rb_norm = 0.975
.param sgp_mpa_rc_norm = 0.95
.parameters vbic_cje_norm = 0.83
.parameters vbic_cjc_norm = 0.87
.parameters vbic_cjcp_norm = 0.89
.parameters vbic_is_norm = 1.26
.parameters vbic_ibei_norm = 0.67
.parameters vbic_re_norm = 0.73
.parameters vbic_rcx_norm = 0.79
.parameters vbic_rbx_norm = 0.88
.parameters vbic_tf = 0.89

.parameters sgp_mpa_cje_norm = 0.955
.parameters sgp_mpa_cjc_norm = 0.98
.parameters sgp_mpa_is_norm = 1.13
.parameters sgp_mpa_bf_norm = 1.24
.parameters sgp_mpa_re_norm = 0.952
.parameters sgp_mpa_rb_norm = 0.975
.parameters sgp_mpa_rc_norm = 0.95

.include sg13g2_hbt_stat.lib
.include sg13g2_hbt_mod.lib
.ENDL hbt_bcs_stat

.LIB hbt_wcs
.param vbic_cje = 1.17
.param vbic_cjc = 1.13
.param vbic_cjcp = 1.11
.param vbic_is = 0.74
.param vbic_ibei = 1.33
.param vbic_re = 1.27
.param vbic_rcx = 1.21
.param vbic_rbx = 1.12
.param vbic_tf = 1.11

.param sgp_mpa_cje = 1.045
.param sgp_mpa_cjc = 1.02
.param sgp_mpa_is = 0.87
.param sgp_mpa_bf = 0.76
.param sgp_mpa_re = 1.048
.param sgp_mpa_rb = 1.025
.param sgp_mpa_rc = 1.05
.parameters vbic_cje = 1.17
.parameters vbic_cjc = 1.13
.parameters vbic_cjcp = 1.11
.parameters vbic_is = 0.74
.parameters vbic_ibei = 1.33
.parameters vbic_re = 1.27
.parameters vbic_rcx = 1.21
.parameters vbic_rbx = 1.12
.parameters vbic_tf = 1.11

.parameters sgp_mpa_cje = 1.045
.parameters sgp_mpa_cjc = 1.02
.parameters sgp_mpa_is = 0.87
.parameters sgp_mpa_bf = 0.76
.parameters sgp_mpa_re = 1.048
.parameters sgp_mpa_rb = 1.025
.parameters sgp_mpa_rc = 1.05

.include sg13g2_hbt_mod.lib
.ENDL hbt_wcs

.LIB hbt_wcs_stat
.param vbic_cje_norm = 1.17
.param vbic_cjc_norm = 1.13
.param vbic_cjcp_norm = 1.11
.param vbic_is_norm = 0.74
.param vbic_ibei_norm = 1.33
.param vbic_re_norm = 1.27
.param vbic_rcx_norm = 1.21
.param vbic_rbx_norm = 1.12
.param vbic_tf = 1.11

.param sgp_mpa_cje_norm = 1.045
.param sgp_mpa_cjc_norm = 1.02
.param sgp_mpa_is_norm = 0.87
.param sgp_mpa_bf_norm = 0.76
.param sgp_mpa_re_norm = 1.048
.param sgp_mpa_rb_norm = 1.025
.param sgp_mpa_rc_norm = 1.05
.parameters vbic_cje_norm = 1.17
.parameters vbic_cjc_norm = 1.13
.parameters vbic_cjcp_norm = 1.11
.parameters vbic_is_norm = 0.74
.parameters vbic_ibei_norm = 1.33
.parameters vbic_re_norm = 1.27
.parameters vbic_rcx_norm = 1.21
.parameters vbic_rbx_norm = 1.12
.parameters vbic_tf = 1.11

.parameters sgp_mpa_cje_norm = 1.045
.parameters sgp_mpa_cjc_norm = 1.02
.parameters sgp_mpa_is_norm = 0.87
.parameters sgp_mpa_bf_norm = 0.76
.parameters sgp_mpa_re_norm = 1.048
.parameters sgp_mpa_rb_norm = 1.025
.parameters sgp_mpa_rc_norm = 1.05

.include sg13g2_hbt_stat.lib
.include sg13g2_hbt_mod.lib
Expand Down
Loading