Readability: better output formatting

This commit is contained in:
Holger Vogt 2024-10-16 14:21:54 +02:00
parent edf88a0c4e
commit ab7d70dcba
2 changed files with 7 additions and 3 deletions

View File

@ -290,7 +290,7 @@ BSIM4reliability_internal (BSIM4instance *here, CKTcircuit *ckt, unsigned int mo
here->relStruct->time = ckt->CKTtime ;
here->relStruct->IsON = 0 ;
// Calculate Aging - Giogio Liatis' Model
// Calculate Aging - Giorgio Liatis' Model
ret = RELMODELcalculateAging ((GENinstance *)here, here->BSIM4modPtr->BSIM4modType, ckt, delta, 1e-12, 0) ;
if (ret == 1)
{
@ -324,6 +324,10 @@ BSIM4reliability_internal (BSIM4instance *here, CKTcircuit *ckt, unsigned int mo
/* Calculate fitting */
#ifdef HAS_PROGREP
SetAnalyse("extrapolate", 0);
#endif
if (here->relStruct->semiPeriods > 1)
{
/* The model behavior is periodic - Use Fourier basis fitting */
@ -372,7 +376,7 @@ BSIM4reliability_internal (BSIM4instance *here, CKTcircuit *ckt, unsigned int mo
}
}
fprintf (stdout, "\n\nExtrapolation at %-.9g seconds (%-.2g years):\n\t\t\t\tDeltaVth: %-.9gmV\n\n\n\n",
fprintf (stdout, "B4 Extrapolation at %-.9g seconds (%-.2g years):\tDeltaVth: %-.6gmV\n\n\n\n",
ckt->CKTtargetFitting, ckt->CKTtargetFitting / 365 / 24 / 60 / 60, here->relStruct->deltaVth * 1000) ;
}

View File

@ -66,7 +66,7 @@ RELMODELcalculateFitting (unsigned int rows, unsigned int number_of_periods, dou
f += gsl_vector_get (x, 2 * j) * sin (j * target * factor_for_2pi) ;
}
fprintf (stderr, "\n\nExtrapolation at %-.9g seconds (%-.2g years):\n\t\t\t\tDeltaVth: %-.9gmV\n\n\n\n",
fprintf (stderr, "RMac Extrapolation at %-.9g seconds (%-.2g years):\tDeltaVth: %-.6gmV\n\n\n\n",
target, target / 31536000, f * 1000) ;
*result = f ;