From 44d9c7e54307f64cbcdc7c8cd17ff6e219e13b55 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 23 Jun 2014 13:11:59 -0700 Subject: Improvements to CNF generation. --- src/proof/fra/fraCec.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/proof/fra') diff --git a/src/proof/fra/fraCec.c b/src/proof/fra/fraCec.c index 3e51bf1e..fe113367 100644 --- a/src/proof/fra/fraCec.c +++ b/src/proof/fra/fraCec.c @@ -67,6 +67,12 @@ int Fra_FraigSat( Aig_Man_t * pMan, ABC_INT64_T nConfLimit, ABC_INT64_T nInsLimi if ( fFlipBits ) Cnf_DataTranformPolarity( pCnf, 0 ); + if ( fVerbose ) + { + printf( "CNF stats: Vars = %6d. Clauses = %7d. Literals = %8d. ", pCnf->nVars, pCnf->nClauses, pCnf->nLiterals ); + Abc_PrintTime( 1, "Time", Abc_Clock() - clk ); + } + // convert into SAT solver pSat = (sat_solver2 *)Cnf_DataWriteIntoSolver2( pCnf, 1, 0 ); if ( pSat == NULL ) @@ -173,6 +179,12 @@ int Fra_FraigSat( Aig_Man_t * pMan, ABC_INT64_T nConfLimit, ABC_INT64_T nInsLimi if ( fFlipBits ) Cnf_DataTranformPolarity( pCnf, 0 ); + if ( fVerbose ) + { + printf( "CNF stats: Vars = %6d. Clauses = %7d. Literals = %8d. ", pCnf->nVars, pCnf->nClauses, pCnf->nLiterals ); + Abc_PrintTime( 1, "Time", Abc_Clock() - clk ); + } + // convert into SAT solver pSat = (sat_solver *)Cnf_DataWriteIntoSolver( pCnf, 1, 0 ); if ( pSat == NULL ) -- cgit v1.2.3