99 pCex->iFrame = iFrame;
106 if ( pObjFrames == NULL )
131 int status, Lit, i, f, RetValue;
143 Abc_Print( 1,
"AIG: PI/PO/Reg = %d/%d/%d. Node = %6d. Lev = %5d.\n",
150 for ( f = 0; f < nFramesMax; f++ )
165 Abc_Print( 1,
"Solving output %2d of frame %3d ... \r",
168 status =
sat_solver_solve( pSat->
pSat, &Lit, &Lit + 1, (ABC_INT64_T)nConfLimit, (ABC_INT64_T)0, (ABC_INT64_T)0, (ABC_INT64_T)0 );
184 else if ( status ==
l_True )
203 Abc_Print( 1,
"Conf =%8.0f. Var =%8d. AIG=%9d. ",
void Ssw_CnfNodeAddToSolver(Ssw_Sat_t *p, Aig_Obj_t *pObj)
ABC_NAMESPACE_IMPL_START Ssw_Sat_t * Ssw_SatStart(int fPolarFlip)
DECLARATIONS ///.
static int Saig_ManPoNum(Aig_Man_t *p)
static int Saig_ObjIsLo(Aig_Man_t *p, Aig_Obj_t *pObj)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
ABC_NAMESPACE_IMPL_START Abc_Cex_t * Abc_CexAlloc(int nRegs, int nRealPis, int nFrames)
DECLARATIONS ///.
static Aig_Obj_t * Saig_ObjLoToLi(Aig_Man_t *p, Aig_Obj_t *pObj)
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)
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
Aig_Man_t * Aig_ManStart(int nNodesMax)
DECLARATIONS ///.
static int Aig_IsComplement(Aig_Obj_t *p)
static Aig_Obj_t * Aig_Regular(Aig_Obj_t *p)
Aig_Obj_t * Aig_ObjCreateCi(Aig_Man_t *p)
DECLARATIONS ///.
static Aig_Obj_t * Aig_ManConst0(Aig_Man_t *p)
ABC_NAMESPACE_IMPL_START Aig_Obj_t * Ssw_BmcUnroll_rec(Ssw_Frm_t *pFrm, Aig_Obj_t *pObj, int f)
DECLARATIONS ///.
static void Ssw_ObjSetFrame_(Ssw_Frm_t *p, Aig_Obj_t *pObj, int i, Aig_Obj_t *pNode)
static abctime Abc_Clock()
static Aig_Obj_t * Aig_ObjFanin1(Aig_Obj_t *pObj)
static int Aig_ManNodeNum(Aig_Man_t *p)
Aig_Obj_t * Aig_And(Aig_Man_t *p, Aig_Obj_t *p0, Aig_Obj_t *p1)
static int Aig_ObjIsNode(Aig_Obj_t *pObj)
int Ssw_BmcDynamic(Aig_Man_t *pAig, int nFramesMax, int nConfLimit, int fVerbose, int *piFrame)
MACRO DEFINITIONS ///.
static lit toLitCond(int v, int c)
#define ABC_NAMESPACE_IMPL_END
static int Aig_ObjIsConst1(Aig_Obj_t *pObj)
ABC_NAMESPACE_IMPL_START Ssw_Frm_t * Ssw_FrmStart(Aig_Man_t *pAig)
DECLARATIONS ///.
void Aig_ManSetCioIds(Aig_Man_t *p)
static void Abc_Print(int level, const char *format,...)
static Aig_Obj_t * Ssw_ObjFrame_(Ssw_Frm_t *p, Aig_Obj_t *pObj, int i)
static int Saig_ManRegNum(Aig_Man_t *p)
static int Aig_ManObjNumMax(Aig_Man_t *p)
static Aig_Obj_t * Aig_ManConst1(Aig_Man_t *p)
#define ABC_NAMESPACE_IMPL_START
static void Abc_InfoSetBit(unsigned *p, int i)
int Aig_ManLevelNum(Aig_Man_t *p)
int sat_solver_simplify(sat_solver *s)
static int Saig_ManPiNum(Aig_Man_t *p)
MACRO DEFINITIONS ///.
Abc_Cex_t * Ssw_BmcGetCounterExample(Ssw_Frm_t *pFrm, Ssw_Sat_t *pSat, int iPo, int iFrame)
static int Ssw_ObjSatNum(Ssw_Sat_t *p, Aig_Obj_t *pObj)
MACRO DEFINITIONS ///.
#define Saig_ManForEachPo(p, pObj, i)
static Aig_Obj_t * Ssw_ObjChild1Fra_(Ssw_Frm_t *p, Aig_Obj_t *pObj, int i)
typedefABC_NAMESPACE_HEADER_START struct Abc_Cex_t_ Abc_Cex_t
INCLUDES ///.
static Aig_Obj_t * Ssw_ObjChild0Fra_(Ssw_Frm_t *p, Aig_Obj_t *pObj, int i)
void Ssw_FrmStop(Ssw_Frm_t *p)
void Ssw_SatStop(Ssw_Sat_t *p)
int Ssw_CnfGetNodeValue(Ssw_Sat_t *p, Aig_Obj_t *pObj)
static int Saig_ObjIsPi(Aig_Man_t *p, Aig_Obj_t *pObj)
static int Aig_ObjIsCo(Aig_Obj_t *pObj)
#define Saig_ManForEachPi(p, pObj, i)