summaryrefslogtreecommitdiffstats
path: root/src/proof/fra
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-12-09 14:46:16 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-12-09 14:46:16 -0800
commit58d4012a558cbf5f6786dc9fdcadc3f1538bdbe2 (patch)
tree871796cca031fc63f082a66277cd9c2de1e71e5b /src/proof/fra
parent9f396a0d7e652c420f4af74e4c8db06068bea862 (diff)
downloadabc-58d4012a558cbf5f6786dc9fdcadc3f1538bdbe2.tar.gz
abc-58d4012a558cbf5f6786dc9fdcadc3f1538bdbe2.tar.bz2
abc-58d4012a558cbf5f6786dc9fdcadc3f1538bdbe2.zip
Enabling multi-output solving in 'pdr'.
Diffstat (limited to 'src/proof/fra')
-rw-r--r--src/proof/fra/fraSec.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/proof/fra/fraSec.c b/src/proof/fra/fraSec.c
index c43fc4dd..04c9d668 100644
--- a/src/proof/fra/fraSec.c
+++ b/src/proof/fra/fraSec.c
@@ -589,19 +589,15 @@ ABC_PRT( "Time", clock() - clk );
// try PDR
if ( pParSec->fUsePdr && RetValue == -1 && Aig_ManRegNum(pNew) > 0 )
{
- Abc_Cex_t * pCex = NULL;
- Aig_Man_t * pNewOrpos = Saig_ManDupOrpos( pNew );
Pdr_Par_t Pars, * pPars = &Pars;
Pdr_ManSetDefaultParams( pPars );
pPars->nTimeOut = pParSec->nPdrTimeout;
pPars->fVerbose = pParSec->fVerbose;
if ( pParSec->fVerbose )
printf( "Running property directed reachability...\n" );
- RetValue = Pdr_ManSolve( pNewOrpos, pPars, &pCex );
- if ( pCex )
- pCex->iPo = Saig_ManFindFailedPoCex( pNew, pCex );
- Aig_ManStop( pNewOrpos );
- pNew->pSeqModel = pCex;
+ RetValue = Pdr_ManSolve( pNew, pPars );
+ if ( pNew->pSeqModel )
+ pNew->pSeqModel->iPo = Saig_ManFindFailedPoCex( pNew, pNew->pSeqModel );
}
finish: