diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-01-03 22:53:58 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-01-03 22:53:58 -0800 |
commit | 3b9e363ef2cdbf5e78030a302588263a6373b981 (patch) | |
tree | 581a5c4f0eb6206b4fa09829a41dc80b5731874d /src/base/abci/abc.c | |
parent | d01810f071b5da064fec444de9d081ee9624f85b (diff) | |
download | abc-3b9e363ef2cdbf5e78030a302588263a6373b981.tar.gz abc-3b9e363ef2cdbf5e78030a302588263a6373b981.tar.bz2 abc-3b9e363ef2cdbf5e78030a302588263a6373b981.zip |
Returning multiple counter-examples.
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r-- | src/base/abci/abc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index b9729ec6..fde8c09d 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -35795,7 +35795,8 @@ usage: ***********************************************************************/ int Abc_CommandAbc9ChainBmc( Abc_Frame_t * pAbc, int argc, char ** argv ) { - extern int Bmc_ChainTest( Gia_Man_t * p, int nFrameMax, int nConfMax, int fVerbose, int fVeryVerbose ); + extern int Bmc_ChainTest( Gia_Man_t * p, int nFrameMax, int nConfMax, int fVerbose, int fVeryVerbose, Vec_Ptr_t ** pvCexes ); + Vec_Ptr_t * vCexes = NULL; int nFrameMax = 200; int nConfMax = 0; int fVerbose = 0; @@ -35850,7 +35851,8 @@ int Abc_CommandAbc9ChainBmc( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_Print( -1, "Abc_CommandAbc9ChainBmc(): The AIG is combinational.\n" ); return 0; } - Bmc_ChainTest( pAbc->pGia, nFrameMax, nConfMax, fVerbose, fVeryVerbose ); + Bmc_ChainTest( pAbc->pGia, nFrameMax, nConfMax, fVerbose, fVeryVerbose, &vCexes ); + if ( vCexes ) Vec_PtrFreeFree( vCexes ); //pAbc->Status = ...; //pAbc->nFrames = pPars->iFrame; //Abc_FrameReplaceCex( pAbc, &pAbc->pGia->pCexSeq ); |