48 int pLits[4], RetValue, VarF, VarI, VarT, VarE, fCompT, fCompE;
74 if ( p->
pPars->fPolarFlip )
85 if ( p->
pPars->fPolarFlip )
96 if ( p->
pPars->fPolarFlip )
107 if ( p->
pPars->fPolarFlip )
132 if ( p->
pPars->fPolarFlip )
143 if ( p->
pPars->fPolarFlip )
167 int * pLits, nLits, RetValue, i;
179 if ( p->
pPars->fPolarFlip )
191 if ( p->
pPars->fPolarFlip )
197 if ( p->
pPars->fPolarFlip )
199 if ( pNode->
fPhase ) pLits[nLits-1] =
lit_neg( pLits[nLits-1] );
291 int i, k, fUseMuxes = 1;
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
void Dch_ObjAddToFrontier(Dch_Man_t *p, Aig_Obj_t *pObj, Vec_Ptr_t *vFrontier)
static Aig_Obj_t * Aig_ObjChild0(Aig_Obj_t *pObj)
int sat_solver_addclause(sat_solver *s, lit *begin, lit *end)
static int Vec_PtrPushUnique(Vec_Ptr_t *p, void *Entry)
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
void Dch_CollectSuper(Aig_Obj_t *pObj, int fUseMuxes, Vec_Ptr_t *vSuper)
static int Aig_IsComplement(Aig_Obj_t *p)
static Aig_Obj_t * Aig_Regular(Aig_Obj_t *p)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
#define ABC_ALLOC(type, num)
static Aig_Obj_t * Aig_ObjFanin1(Aig_Obj_t *pObj)
static int Vec_PtrSize(Vec_Ptr_t *p)
static lit lit_neg(lit l)
static int Aig_ObjIsNode(Aig_Obj_t *pObj)
Aig_Obj_t * Aig_ObjRecognizeMux(Aig_Obj_t *pObj, Aig_Obj_t **ppObjT, Aig_Obj_t **ppObjE)
static lit toLitCond(int v, int c)
#define ABC_NAMESPACE_IMPL_END
static Aig_Obj_t * Aig_ObjChild1(Aig_Obj_t *pObj)
static int Aig_ObjIsConst1(Aig_Obj_t *pObj)
void Dch_AddClausesSuper(Dch_Man_t *p, Aig_Obj_t *pNode, Vec_Ptr_t *vSuper)
#define ABC_NAMESPACE_IMPL_START
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Dch_CollectSuper_rec(Aig_Obj_t *pObj, Vec_Ptr_t *vSuper, int fFirst, int fUseMuxes)
int Aig_ObjIsMuxType(Aig_Obj_t *pObj)
static void Vec_PtrClear(Vec_Ptr_t *p)
static int Aig_ObjRefs(Aig_Obj_t *pObj)
void Dch_CnfNodeAddToSolver(Dch_Man_t *p, Aig_Obj_t *pObj)
static void Dch_ObjSetSatNum(Dch_Man_t *p, Aig_Obj_t *pObj, int Num)
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
static int Aig_ObjIsCi(Aig_Obj_t *pObj)
ABC_NAMESPACE_IMPL_START void Dch_AddClausesMux(Dch_Man_t *p, Aig_Obj_t *pNode)
DECLARATIONS ///.
static int Dch_ObjSatNum(Dch_Man_t *p, Aig_Obj_t *pObj)
MACRO DEFINITIONS ///.
static void Vec_PtrFree(Vec_Ptr_t *p)