From 13937a54f129a9ce8690af60378c7651181b6e50 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 24 Oct 2024 11:41:14 +0200 Subject: [PATCH] Set the fitting time to target, not fixit at 1 year --- src/spicelib/devices/bsim4/b4reliability.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/devices/bsim4/b4reliability.c b/src/spicelib/devices/bsim4/b4reliability.c index 0b2fa36b1..0552142f3 100644 --- a/src/spicelib/devices/bsim4/b4reliability.c +++ b/src/spicelib/devices/bsim4/b4reliability.c @@ -368,7 +368,7 @@ BSIM4reliability_internal (BSIM4instance *here, CKTcircuit *ckt, unsigned int mo } else { if (here->relStruct->deltaVth > 0) { - ret = RELMODELcalculateAging ((GENinstance *)here, here->BSIM4modPtr->BSIM4modType, ckt, 315360000.0, 0, 1) ; + ret = RELMODELcalculateAging ((GENinstance *)here, here->BSIM4modPtr->BSIM4modType, ckt, ckt->CKTtargetFitting, 0, 1) ; if (ret == 1) { return (E_INTERN) ;