Correct and improve printed output

This commit is contained in:
Holger Vogt 2024-10-05 11:37:01 +02:00
parent cbf8ec4a37
commit 95a29ebbeb
2 changed files with 4 additions and 2 deletions

View File

@ -372,7 +372,8 @@ BSIM4reliability_internal (BSIM4instance *here, CKTcircuit *ckt, unsigned int mo
}
}
printf ("\n\nExtrapolation at %-.9g years:\n\t\t\t\tDeltaVth: %-.9gmV\n\n\n\n", ckt->CKTtargetFitting, here->relStruct->deltaVth * 1000) ;
fprintf (stdout, "\n\nExtrapolation at %-.9g seconds (%-.2g years):\n\t\t\t\tDeltaVth: %-.9gmV\n\n\n\n",
ckt->CKTtargetFitting, ckt->CKTtargetFitting / 365 / 24 / 60 / 60, here->relStruct->deltaVth * 1000) ;
}
// Free the vgs average list

View File

@ -66,7 +66,8 @@ 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:\n\t\t\t\tDeltaVth: %-.9gmV\n\n\n\n", target, f * 1000) ;
fprintf (stderr, "\n\nExtrapolation at %-.9g seconds (%-.2g years):\n\t\t\t\tDeltaVth: %-.9gmV\n\n\n\n",
target, target / 31536000, f * 1000) ;
*result = f ;