summaryrefslogtreecommitdiffstats
path: root/src/aig/gia
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-09-09 20:46:34 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-09-09 20:46:34 -0700
commitd40af538e2b7dc644fa427c37965a9721b64b12d (patch)
treec8e0c6851bea42bc05f0f39743f6a823afb3fe74 /src/aig/gia
parent71d7c9e66df28f0916e21b5d0e9daaa83fd6eedc (diff)
downloadabc-d40af538e2b7dc644fa427c37965a9721b64b12d.tar.gz
abc-d40af538e2b7dc644fa427c37965a9721b64b12d.tar.bz2
abc-d40af538e2b7dc644fa427c37965a9721b64b12d.zip
Unified print-out of property failures produced by all engines.
Diffstat (limited to 'src/aig/gia')
-rw-r--r--src/aig/gia/giaAbsOut.c2
-rw-r--r--src/aig/gia/giaEra2.c5
-rw-r--r--src/aig/gia/giaSim.c2
-rw-r--r--src/aig/gia/giaSim2.c2
4 files changed, 5 insertions, 6 deletions
diff --git a/src/aig/gia/giaAbsOut.c b/src/aig/gia/giaAbsOut.c
index f7204307..0b303355 100644
--- a/src/aig/gia/giaAbsOut.c
+++ b/src/aig/gia/giaAbsOut.c
@@ -73,7 +73,7 @@ Abc_Cex_t * Gia_ManCexRemap( Gia_Man_t * p, Abc_Cex_t * pCexAbs, Vec_Int_t * vPi
else
{
Abc_Print( 1, "Counter-example verification is successful.\n" );
- Abc_Print( 1, "Output %d was asserted in frame %d (use \"write_counter\" to dump a witness). \n", pCex->iPo, pCex->iFrame );
+ Abc_Print( 1, "Output %d of miter \"%s\" was asserted in frame %d. \n", pCex->iPo, p->pName, pCex->iFrame );
}
return pCex;
}
diff --git a/src/aig/gia/giaEra2.c b/src/aig/gia/giaEra2.c
index b0823ee8..060c83a5 100644
--- a/src/aig/gia/giaEra2.c
+++ b/src/aig/gia/giaEra2.c
@@ -1736,9 +1736,8 @@ int Gia_ManArePerform( Gia_Man_t * pAig, int nStatesMax, int fMiter, int fVerbos
Gia_ManAreDepth(p, p->iStaCur-1) );
ABC_PRT( "Time", clock() - clk );
if ( pAig->pCexSeq != NULL )
-// printf( "Miter FAILED in state %d at frame %d (use \"&write_counter\" to dump a witness)\n",
- printf( "Miter FAILED in state %d at frame %d (the cex is available for refinement)\n",
- p->iStaCur, Gia_ManAreDepth(p, p->iStaCur)-1 );
+ Abc_Print( 1, "Output %d of miter \"%s\" was asserted in frame %d.\n",
+ p->iStaCur, pAig->pName, Gia_ManAreDepth(p, p->iStaCur)-1 );
if ( fVerbose )
{
ABC_PRTP( "Cofactoring", p->timeAig - p->timeCube, clock() - clk );
diff --git a/src/aig/gia/giaSim.c b/src/aig/gia/giaSim.c
index 8d22e699..da6ac33e 100644
--- a/src/aig/gia/giaSim.c
+++ b/src/aig/gia/giaSim.c
@@ -631,7 +631,7 @@ int Gia_ManSimSimulate( Gia_Man_t * pAig, Gia_ParSim_t * pPars )
Gia_ManResetRandom( pPars );
pPars->iOutFail = iOut;
pAig->pCexSeq = Gia_ManGenerateCounter( pAig, i, iOut, p->nWords, iPat, p->vCis2Ids );
- Abc_Print( 1, "Networks are NOT EQUIVALENT. Output %d was asserted in frame %d. ", iOut, i );
+ Abc_Print( 1, "Output %d of miter \"%s\" was asserted in frame %d. ", iOut, pAig->pName, i );
if ( !Gia_ManVerifyCex( pAig, pAig->pCexSeq, 0 ) )
{
// Abc_Print( 1, "\n" );
diff --git a/src/aig/gia/giaSim2.c b/src/aig/gia/giaSim2.c
index 897eff98..85428769 100644
--- a/src/aig/gia/giaSim2.c
+++ b/src/aig/gia/giaSim2.c
@@ -663,7 +663,7 @@ int Gia_ManSimSimulateEquiv( Gia_Man_t * pAig, Gia_ParSim_t * pPars )
Gia_ManResetRandom( pPars );
pPars->iOutFail = iOut;
pAig->pCexSeq = Gia_Sim2GenerateCounter( pAig, i, iOut, p->nWords, iPat );
- Abc_Print( 1, "Networks are NOT EQUIVALENT. Output %d was asserted in frame %d. ", iOut, i );
+ Abc_Print( 1, "Output %d of miter \"%s\" was asserted in frame %d. ", iOut, pAig->pName, i );
if ( !Gia_ManVerifyCex( pAig, pAig->pCexSeq, 0 ) )
{
// Abc_Print( 1, "\n" );