diff options
| author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-12-09 10:11:52 -0800 | 
|---|---|---|
| committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-12-09 10:11:52 -0800 | 
| commit | 9f396a0d7e652c420f4af74e4c8db06068bea862 (patch) | |
| tree | 5406043a893004ac3249789ba8fbc9767c81d45c /src | |
| parent | 8a08453af2304b95e7efba07ef8c3e3a63364592 (diff) | |
| download | abc-9f396a0d7e652c420f4af74e4c8db06068bea862.tar.gz abc-9f396a0d7e652c420f4af74e4c8db06068bea862.tar.bz2 abc-9f396a0d7e652c420f4af74e4c8db06068bea862.zip | |
Enabling multi-output solving in 'pdr'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/base/abci/abcDar.c | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/src/base/abci/abcDar.c b/src/base/abci/abcDar.c index e427524a..496855c2 100644 --- a/src/base/abci/abcDar.c +++ b/src/base/abci/abcDar.c @@ -2738,7 +2738,7 @@ int Abc_NtkDarPdr( Abc_Ntk_t * pNtk, Pdr_Par_t * pPars, Abc_Cex_t ** ppCex )          if ( RetValue == 1 )              Abc_Print( 1, "Property proved.  " );          else if ( RetValue == 0 ) -            Abc_Print( 1, "Output %d of miter \"%s\" was asserted in frame %d.  ", (*ppCex)->iPo, pNtk->pName, ppCex? (*ppCex)->iFrame : -1 ); +            Abc_Print( 1, "Output %d of miter \"%s\" was asserted in frame %d.  ", pMan->pSeqModel->iPo, pNtk->pName, pMan->pSeqModel->iFrame );          else if ( RetValue == -1 )              Abc_Print( 1, "Property UNDECIDED.  " );          else @@ -2746,6 +2746,14 @@ int Abc_NtkDarPdr( Abc_Ntk_t * pNtk, Pdr_Par_t * pPars, Abc_Cex_t ** ppCex )          ABC_PRT( "Time", clock() - clk );      } +//    ABC_FREE( pNtk->pSeqModel ); +//    pNtk->pSeqModel = pMan->pSeqModel; pMan->pSeqModel = NULL; +    if ( ppCex ) +        *ppCex = pMan->pSeqModel; +    else +        ABC_FREE( pMan->pSeqModel ); +    pMan->pSeqModel = NULL; +      if ( *ppCex && !Saig_ManVerifyCex( pMan, *ppCex ) )          Abc_Print( 1, "Abc_NtkDarPdr(): Counter-example verification has FAILED.\n" );      Aig_ManStop( pMan ); | 
