65 int iObjNew, iNextNew;
70 pNew->
pNexts[iObjNew] = iNextNew;
115 if ( pObj == NULL || pObj->
iData )
124 int iObjNew, iNextNew;
127 assert( iObjNew > iNextNew );
129 pNew->
pSibls[iObjNew] = iNextNew;
137 assert( p->pEquivs != NULL );
347 if ( i % nOutDelta != 0 )
440 assert( pAig->pReprs == NULL );
454 if ( pGiaRepr == NULL )
463 assert( pAig->pReprs == NULL );
470 if ( pGiaRepr == NULL )
492 assert( pAig->pReprs != NULL );
511 if ( pAig->pReprs[i] == NULL )
513 pReprAig = pAig->pReprs[i];
522 assert( pAig->pReprs != NULL );
532 if ( pAig->pReprs[i] == NULL )
534 pReprAig = pAig->pReprs[i];
607 pTemp =
Aig_ManScl( pNew, fConst, fEquiv, 0, -1, -1, fVerbose, 0 );
630 RetValue =
Fra_FraigSat( pNew, 10000000, 0, 0, 0, 0, 1, 1, 0, 0 );
634 int i, * pInit = (
int *)pNew->pData;
647 Abc_Print( 1,
"Counter-example verification has failed. " );
Aig_Obj_t * Aig_ObjCreateCo(Aig_Man_t *p, Aig_Obj_t *pDriver)
static int Gia_ManAppendAnd(Gia_Man_t *p, int iLit0, int iLit1)
static int Aig_ObjSetLevel(Aig_Obj_t *pObj, int i)
Gia_Man_t * Gia_ManFromAigSwitch(Aig_Man_t *p)
void Gia_ManDeriveReprs(Gia_Man_t *p)
Aig_Man_t * Dar_ManChoiceNew(Aig_Man_t *pAig, Dch_Pars_t *pPars)
void Gia_ManStop(Gia_Man_t *p)
Aig_Man_t * Gia_ManToAigSimple(Gia_Man_t *p)
static Aig_Obj_t * Gia_ObjChild1Copy2(Aig_Obj_t **ppNodes, Gia_Obj_t *pObj, int Id)
void Gia_ManReprFromAigRepr(Aig_Man_t *pAig, Gia_Man_t *pGia)
#define Gia_ManForEachCo(p, pObj, i)
static int Gia_ManPoNum(Gia_Man_t *p)
static int Gia_ObjFaninC1(Gia_Obj_t *pObj)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
static int Gia_ManAppendCo(Gia_Man_t *p, int iLit0)
void Aig_ManStop(Aig_Man_t *p)
static int Aig_ManObjNum(Aig_Man_t *p)
void Gia_ManReprToAigRepr(Aig_Man_t *pAig, Gia_Man_t *pGia)
static int Gia_ManAppendCi(Gia_Man_t *p)
int Gia_ManLevelWithBoxes(Gia_Man_t *p)
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
static int Gia_ObjIsConst0(Gia_Obj_t *pObj)
static int Abc_Var2Lit(int Var, int fCompl)
Aig_Man_t * Aig_ManStart(int nNodesMax)
DECLARATIONS ///.
static int Aig_IsComplement(Aig_Obj_t *p)
#define Aig_ManForEachCi(p, pObj, i)
ITERATORS ///.
static int Gia_ObjValue(Gia_Obj_t *pObj)
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)
Gia_Man_t * Gia_ManFromAigSimple(Aig_Man_t *p)
#define Aig_ManForEachCo(p, pObj, i)
static Aig_Obj_t * Aig_ManObj(Aig_Man_t *p, int i)
void Gia_ManSetRegNum(Gia_Man_t *p, int nRegs)
typedefABC_NAMESPACE_HEADER_START struct Dch_Pars_t_ Dch_Pars_t
INCLUDES ///.
static Aig_Obj_t * Aig_ObjFanin1(Aig_Obj_t *pObj)
static Gia_Obj_t * Gia_ManObj(Gia_Man_t *p, int v)
static int Abc_LitNotCond(int Lit, int c)
void Gia_ManFromAigChoices_rec(Gia_Man_t *pNew, Aig_Man_t *p, Aig_Obj_t *pObj)
Aig_Obj_t * Aig_And(Aig_Man_t *p, Aig_Obj_t *p0, Aig_Obj_t *p1)
Gia_Man_t * Gia_ManFromAig(Aig_Man_t *p)
INCLUDES ///.
#define Gia_ManForEachCi(p, pObj, i)
static int Aig_ObjIsNode(Aig_Obj_t *pObj)
static void Gia_ObjSetRepr(Gia_Man_t *p, int Id, int Num)
static int Gia_ManAndNum(Gia_Man_t *p)
static int Aig_ManCoNum(Aig_Man_t *p)
static int Gia_ObjLevel(Gia_Man_t *p, Gia_Obj_t *pObj)
static int Abc_LitIsCompl(int Lit)
Gia_Man_t * Gia_ManPerformDch(Gia_Man_t *p, void *pPars)
static Gia_Obj_t * Gia_ObjFanin0(Gia_Obj_t *pObj)
#define Aig_ManForEachNode(p, pObj, i)
void Gia_ManReprToAigRepr2(Aig_Man_t *pAig, Gia_Man_t *pGia)
void Aig_ManReprStart(Aig_Man_t *p, int nIdMax)
DECLARATIONS ///.
void Aig_ManSetRegNum(Aig_Man_t *p, int nRegs)
Aig_Man_t * Aig_ManScl(Aig_Man_t *pAig, int fLatchConst, int fLatchEqual, int fUseMvSweep, int nFramesSymb, int nFramesSatur, int fVerbose, int fVeryVerbose)
static Aig_Obj_t * Gia_ObjChild0Copy2(Aig_Obj_t **ppNodes, Gia_Obj_t *pObj, int Id)
Gia_Man_t * Gia_ManUnrollAndCofactor(Gia_Man_t *p, int nFrames, int nFanMax, int fVerbose)
Aig_Man_t * Dar_ManCompress2(Aig_Man_t *pAig, int fBalance, int fUpdateLevel, int fFanout, int fPower, int fVerbose)
#define ABC_NAMESPACE_IMPL_END
static int Aig_ObjIsConst1(Aig_Obj_t *pObj)
Gia_Man_t * Gia_ManStart(int nObjsMax)
DECLARATIONS ///.
static Aig_Obj_t * Aig_ObjEquiv(Aig_Man_t *p, Aig_Obj_t *pObj)
void Gia_ManSeqCleanupClasses(Gia_Man_t *p, int fConst, int fEquiv, int fVerbose)
#define Gia_ManForEachAnd(p, pObj, i)
void Gia_ManFromAig_rec(Gia_Man_t *pNew, Aig_Man_t *p, Aig_Obj_t *pObj)
FUNCTION DEFINITIONS ///.
Aig_Man_t * Gia_ManToAig(Gia_Man_t *p, int fChoices)
static int Gia_ObjId(Gia_Man_t *p, Gia_Obj_t *pObj)
void Gia_ManTransferTiming(Gia_Man_t *p, Gia_Man_t *pGia)
#define Gia_ManForEachPi(p, pObj, i)
static Gia_Obj_t * Gia_ObjNextObj(Gia_Man_t *p, int Id)
static void Abc_Print(int level, const char *format,...)
int * Gia_ManDeriveNexts(Gia_Man_t *p)
static int Aig_ObjFaninC0(Aig_Obj_t *pObj)
static int Aig_ManObjNumMax(Aig_Man_t *p)
static Aig_Obj_t * Aig_ManConst1(Aig_Man_t *p)
static int Gia_ObjIsCo(Gia_Obj_t *pObj)
#define ABC_NAMESPACE_IMPL_START
static Gia_Obj_t * Gia_ObjReprObj(Gia_Man_t *p, int Id)
static int Aig_ManRegNum(Aig_Man_t *p)
#define Aig_ManForEachObj(p, pObj, i)
Aig_Man_t * Gia_ManCofactorAig(Aig_Man_t *p, int nFrames, int nCofFanLit)
Aig_Man_t * Gia_ManToAigSkip(Gia_Man_t *p, int nOutDelta)
void Gia_ManReprFromAigRepr2(Aig_Man_t *pAig, Gia_Man_t *pGia)
void Gia_ManToAig_rec(Aig_Man_t *pNew, Aig_Obj_t **ppNodes, Gia_Man_t *p, Gia_Obj_t *pObj)
static int Gia_ObjIsAnd(Gia_Obj_t *pObj)
#define Gia_ManForEachObj(p, pObj, i)
MACRO DEFINITIONS ///.
static Gia_Obj_t * Gia_ManConst0(Gia_Man_t *p)
#define ABC_CALLOC(type, num)
static int Abc_Lit2Var(int Lit)
static int Aig_ObjFaninC1(Aig_Obj_t *pObj)
static Gia_Obj_t * Gia_ObjFanin1(Gia_Obj_t *pObj)
Gia_Man_t * Gia_ManCompress2(Gia_Man_t *p, int fUpdateLevel, int fVerbose)
static int Aig_ObjId(Aig_Obj_t *pObj)
void Aig_ObjCreateRepr(Aig_Man_t *p, Aig_Obj_t *pNode1, Aig_Obj_t *pNode2)
int Gia_ManSolveSat(Gia_Man_t *p)
static int Gia_ObjChild1Copy(Aig_Obj_t *pObj)
static int Aig_ObjRefs(Aig_Obj_t *pObj)
static ABC_NAMESPACE_IMPL_START int Gia_ObjChild0Copy(Aig_Obj_t *pObj)
DECLARATIONS ///.
static Aig_Obj_t * Aig_NotCond(Aig_Obj_t *p, int c)
static int Gia_ObjFaninC0(Gia_Obj_t *pObj)
static int Aig_ObjIsCi(Aig_Obj_t *pObj)
static int Gia_ObjIsCi(Gia_Obj_t *pObj)
char * Abc_UtilStrsav(char *s)
#define Gia_ManForEachPo(p, pObj, i)
static int Gia_ObjFaninId1(Gia_Obj_t *pObj, int ObjId)
void Aig_ManCleanData(Aig_Man_t *p)
static int Aig_ObjIsCo(Aig_Obj_t *pObj)
static int Gia_ManObjNum(Gia_Man_t *p)
int Fra_FraigSat(Aig_Man_t *pMan, ABC_INT64_T nConfLimit, ABC_INT64_T nInsLimit, int nLearnedStart, int nLearnedDelta, int nLearnedPerce, int fFlipBits, int fAndOuts, int fNewSolver, int fVerbose)
ITERATORS ///.
static int Aig_ObjIsAnd(Aig_Obj_t *pObj)
#define ABC_FALLOC(type, num)
Gia_Man_t * Gia_ManFromAigChoices(Aig_Man_t *p)
static int Gia_ObjFaninId0(Gia_Obj_t *pObj, int ObjId)
static int Gia_ManCoNum(Gia_Man_t *p)
static int Gia_ManRegNum(Gia_Man_t *p)