diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-14 13:31:29 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-14 13:31:29 -0700 |
commit | 3b14c7b490cf0cdd93f47f9697c700b19cdda895 (patch) | |
tree | e30f5e754d5304d879d357a6730dfa24cec30133 /src/base | |
parent | 19c28cae94cd2fe94d7cc7d9542d0fbacd9be95b (diff) | |
download | abc-3b14c7b490cf0cdd93f47f9697c700b19cdda895.tar.gz abc-3b14c7b490cf0cdd93f47f9697c700b19cdda895.tar.bz2 abc-3b14c7b490cf0cdd93f47f9697c700b19cdda895.zip |
Prepared &gla to try abstracting and proving concurrently.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/abci/abcDar.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/base/abci/abcDar.c b/src/base/abci/abcDar.c index 85377956..8278fa16 100644 --- a/src/base/abci/abcDar.c +++ b/src/base/abci/abcDar.c @@ -2577,15 +2577,18 @@ int Abc_NtkDarPdr( Abc_Ntk_t * pNtk, Pdr_Par_t * pPars, Abc_Cex_t ** ppCex ) else RetValue = Pdr_ManSolve( pMan, pPars, ppCex ); // output the result - 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 ); - else if ( RetValue == -1 ) - Abc_Print( 1, "Property UNDECIDED. " ); - else - assert( 0 ); -ABC_PRT( "Time", clock() - clk ); + if ( !pPars->fSilent ) + { + 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 ); + else if ( RetValue == -1 ) + Abc_Print( 1, "Property UNDECIDED. " ); + else + assert( 0 ); + ABC_PRT( "Time", clock() - clk ); + } if ( *ppCex && !Saig_ManVerifyCex( pMan, *ppCex ) ) Abc_Print( 1, "Abc_NtkDarPdr(): Counter-example verification has FAILED.\n" ); |