63 if ( pObj->
Value == 0 )
173 p->pSat->pCnfMan =
p;
185 printf(
"Frame%4d : ", i );
189 status =
sat_solver_solve( p->pSat, &Lit, &Lit + 1, (ABC_INT64_T)nConfLimit, (ABC_INT64_T)0, (ABC_INT64_T)0, (ABC_INT64_T)0 );
195 else if ( status ==
l_True )
202 printf(
"Callbacks = %d. Loadings = %d.\n", p->nCallBacks1, p->nCallBacks2 );
void Gia_ManCreateRefs(Gia_Man_t *p)
static int Gia_ObjFaninC1(Gia_Obj_t *pObj)
int sat_solver_addclause(sat_solver *s, lit *begin, lit *end)
void Bmc_LoadStop(Bmc_Load_t *p)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
int sat_solver_clause_new(sat_solver *s, lit *begin, lit *end, int learnt)
int sat_solver_solve(sat_solver *s, lit *begin, lit *end, ABC_INT64_T nConfLimit, ABC_INT64_T nInsLimit, ABC_INT64_T nConfLimitGlobal, ABC_INT64_T nInsLimitGlobal)
typedefABC_NAMESPACE_IMPL_START struct Bmc_Load_t_ Bmc_Load_t
DECLARATIONS ///.
Bmc_Load_t * Bmc_LoadStart(Gia_Man_t *pGia)
void sat_solver_delete(sat_solver *s)
void Gia_ManCleanValue(Gia_Man_t *p)
static int Gia_ObjIsConst0(Gia_Obj_t *pObj)
static int Abc_Var2Lit(int Var, int fCompl)
int sat_solver_nconflicts(sat_solver *s)
static int Gia_ObjFaninId1p(Gia_Man_t *p, Gia_Obj_t *pObj)
int Bmc_LoadGetSatVar(Bmc_Load_t *p, int Id)
FUNCTION DEFINITIONS ///.
static abctime Abc_Clock()
static Gia_Obj_t * Gia_ManObj(Gia_Man_t *p, int v)
int Bmc_LoadAddCnf(void *pMan, int iLit)
static void Abc_PrintTime(int level, const char *pStr, abctime time)
static int Abc_LitIsCompl(int Lit)
void Bmc_LoadTest(Gia_Man_t *pGia, int fLoadCnf, int fVerbose)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void sat_solver_setnvars(sat_solver *s, int n)
static int Vec_IntEntry(Vec_Int_t *p, int i)
#define ABC_NAMESPACE_IMPL_END
static void Vec_IntPush(Vec_Int_t *p, int Entry)
int sat_solver_nclauses(sat_solver *s)
#define ABC_NAMESPACE_IMPL_START
static int Abc_LitNot(int Lit)
sat_solver * sat_solver_new(void)
static int Vec_IntSize(Vec_Int_t *p)
static int Gia_ObjIsAnd(Gia_Obj_t *pObj)
#define ABC_CALLOC(type, num)
static int Abc_Lit2Var(int Lit)
static int Gia_ObjFaninId0p(Gia_Man_t *p, Gia_Obj_t *pObj)
int Bmc_LoadAddCnf_rec(Bmc_Load_t *p, int Id)
void Gia_ManSetPhase(Gia_Man_t *p)
static int Gia_ObjFaninC0(Gia_Obj_t *pObj)
static void Vec_IntFree(Vec_Int_t *p)
static int Gia_ObjIsCi(Gia_Obj_t *pObj)
#define Gia_ManForEachPo(p, pObj, i)
static int Gia_ObjFaninId1(Gia_Obj_t *pObj, int ObjId)
static int Gia_ObjFaninId0(Gia_Obj_t *pObj, int ObjId)