56 if ( !p->
pPars->fMonoCnf )
74 if ( pAig->pFanData == NULL )
76 if ( pAig->pTerSimData == NULL )
79 if ( pPars->nTimeOutOne )
84 p->
pTime4Outs[i] = pPars->nTimeOutOne * CLOCKS_PER_SEC / 1000 + 1;
86 if ( pPars->fSolveAll )
112 if ( p->
pPars->fVerbose )
114 Abc_Print( 1,
"Block =%5d Oblig =%6d Clause =%6d Call =%6d (sat=%.1f%%) Start =%4d\n",
171 if ( p->
pAig->pFanData != NULL )
173 if ( p->
pAig->pTerSimData != NULL )
193 int i, f, Lit, nFrames = 0;
201 pCex->iFrame = nFrames-1;
202 for ( pObl = p->
pQueue, f = 0; pObl; pObl = pObl->
pNext, f++ )
203 for ( i = pObl->
pState->nLits; i < pObl->pState->nTotal; i++ )
205 Lit = pObl->
pState->Lits[i];
213 printf(
"CEX for output %d is not valid.\n", p->
iOutCur );
static Vec_Ptr_t * Vec_PtrStart(int nSize)
static Vec_Vec_t * Vec_VecAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static int Saig_ManPoNum(Aig_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
typedefABC_NAMESPACE_HEADER_START struct Pdr_Par_t_ Pdr_Par_t
INCLUDES ///.
ABC_NAMESPACE_IMPL_START Abc_Cex_t * Abc_CexAlloc(int nRegs, int nRealPis, int nFrames)
DECLARATIONS ///.
int Saig_ManVerifyCex(Aig_Man_t *pAig, Abc_Cex_t *p)
static int lit_var(lit l)
#define Vec_VecForEachEntry(Type, vGlob, pEntry, i, k)
void Cnf_ManStop(Cnf_Man_t *p)
void sat_solver_delete(sat_solver *s)
static void Vec_PtrFreeFree(Vec_Ptr_t *p)
static Vec_Wec_t * Vec_WecStart(int nSize)
void Pdr_SetDeref(Pdr_Set_t *p)
void Pdr_ManStop(Pdr_Man_t *p)
#define ABC_ALLOC(type, num)
static int Abc_MaxInt(int a, int b)
static int Vec_PtrSize(Vec_Ptr_t *p)
static void Vec_VecFree(Vec_Vec_t *p)
void Aig_ManFanoutStart(Aig_Man_t *p)
FUNCTION DEFINITIONS ///.
void Aig_ManFanoutStop(Aig_Man_t *p)
#define ABC_PRTP(a, t, T)
static Vec_Int_t * Vec_IntStart(int nSize)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Pdr_QueueStop(Pdr_Man_t *p)
#define ABC_NAMESPACE_IMPL_END
static void Vec_IntFill(Vec_Int_t *p, int nSize, int Fill)
typedefABC_NAMESPACE_HEADER_START struct Pdr_Set_t_ Pdr_Set_t
INCLUDES ///.
static void Vec_IntFreeP(Vec_Int_t **p)
static void Abc_Print(int level, const char *format,...)
static int Saig_ManRegNum(Aig_Man_t *p)
static int Aig_ManObjNumMax(Aig_Man_t *p)
#define ABC_NAMESPACE_IMPL_START
static void * Vec_PtrEntry(Vec_Ptr_t *p, int i)
static void Abc_InfoSetBit(unsigned *p, int i)
ABC_NAMESPACE_IMPL_START Pdr_Man_t * Pdr_ManStart(Aig_Man_t *pAig, Pdr_Par_t *pPars, Vec_Int_t *vPrioInit)
DECLARATIONS ///.
static int Aig_ManRegNum(Aig_Man_t *p)
Cnf_Man_t * Cnf_ManStart()
FUNCTION DEFINITIONS ///.
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static int lit_sign(lit l)
static int Saig_ManPiNum(Aig_Man_t *p)
MACRO DEFINITIONS ///.
void Aig_ManCleanMarkAB(Aig_Man_t *p)
#define ABC_CALLOC(type, num)
void Cnf_DataFree(Cnf_Dat_t *p)
Abc_Cex_t * Pdr_ManDeriveCex(Pdr_Man_t *p)
FUNCTION DECLARATIONS ///.
static void Vec_WecFreeP(Vec_Wec_t **p)
Pdr_Set_t * Pdr_SetAlloc(int nSize)
DECLARATIONS ///.
typedefABC_NAMESPACE_HEADER_START struct Abc_Cex_t_ Abc_Cex_t
INCLUDES ///.
static void Vec_IntFree(Vec_Int_t *p)
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
int Aig_ManLevels(Aig_Man_t *p)
static void Vec_PtrFree(Vec_Ptr_t *p)