Correctly handled .meas statement in Reliability Analysis

This commit is contained in:
Francesco Lannutti 2014-08-24 00:58:50 +02:00
parent 3ab6e419a7
commit 07877577e7
2 changed files with 9 additions and 0 deletions

View File

@ -365,9 +365,11 @@ dosim(
tfree(ww);
}
#ifndef RELAN
/* execute the .measure statements */
if (!err && ft_curckt->ci_last_an && ft_curckt->ci_meas)
do_measure(ft_curckt->ci_last_an, FALSE);
#endif
return err;
}

View File

@ -24,6 +24,10 @@ Modified: 2000 AlansFixes
extern SPICEanalysis *analInfo[];
#ifdef RELAN
extern bool do_measure (char *what, bool chk_only) ;
#endif
int
CKTdoJob(CKTcircuit *ckt, int reset, TSKtask *task)
{
@ -269,6 +273,9 @@ CKTdoJob(CKTcircuit *ckt, int reset, TSKtask *task)
{
error2 = error ;
}
/* Execute .meas statement */
do_measure (spice_analysis_get_name (job->JOBtype), FALSE) ;
}
#ifdef RELAN