Adding command to dump UNSAT core of BMC instance.

This commit is contained in:
Alan Mishchenko 2014-04-07 14:13:06 -07:00
parent 42927d5ebb
commit 7753e097f9
1 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ void Bmc_ManBCorePerform( Gia_Man_t * p, Bmc_BCorePar_t * pPars )
}
assert( RetValue == l_False );
pSatCnf = sat_solver_store_release( pSat );
Sto_ManDumpClauses( (Sto_Man_t *)pSatCnf, "cnf_store.txt" );
// Sto_ManDumpClauses( (Sto_Man_t *)pSatCnf, "cnf_store.txt" );
// derive the UNSAT core
clk = clock();
pManProof = Intp_ManAlloc();
@ -248,7 +248,7 @@ void Bmc_ManBCorePerform( Gia_Man_t * p, Bmc_BCorePar_t * pPars )
Intp_ManFree( pManProof );
if ( pPars->fVerbose )
{
printf( "UNSAT core contains %8d (out of %8d) learned clauses. ", Vec_IntSize(vCore), sat_solver_nconflicts(pSat) );
printf( "UNSAT core contains %d (out of %d) learned clauses. ", Vec_IntSize(vCore), sat_solver_nconflicts(pSat) );
Abc_PrintTime( 1, "Time", clock() - clk );
}
// write the problem