57 int i, * pOuts0, * pOuts1;
58 Aig_ManSetPioNumbers( p );
61 pNew->
pName = Gia_UtilStrsav( p->pName );
62 pNew->
pSpec = Gia_UtilStrsav( p->pSpec );
65 pOuts0 =
ABC_ALLOC(
int, Aig_ManPoNum(p) );
70 else if ( Aig_ObjIsPi(pObj) )
72 else if ( Aig_ObjIsPo(pObj) )
80 pOuts1 =
ABC_ALLOC(
int, Aig_ManPoNum(p) );
85 else if ( Aig_ObjIsPi(pObj) )
87 else if ( Aig_ObjIsPo(pObj) )
99 for ( i = 2; i < Aig_ManPoNum(p); i++ )
124 assert( p->pGia == NULL );
152 assert( p->pGia != NULL );
180 pObj =
Gia_ManCi( p, Gia_Lit2Var(Entry) );
181 pObj->
fMark1 = !Gia_LitIsCompl(Entry);
206 int fVeryVerbose = 0;
209 int i, iVar, status, iOut;
210 clock_t clk = clock();
213 assert( p->pGia != NULL );
214 assert( p->pTas != NULL );
222 for ( i = 0; i < nCands; i++ )
225 iOut = Gia_Lit2Var(pCands[i]) - 2 * p->
pCnf->
nVars;
241 else if ( status == 1 )
284 Aig_InfoXorBit( pData, p->
nCexes );
Tas_Man_t * Tas_ManAlloc(Gia_Man_t *pAig, int nBTLimit)
int Tas_ManSolveArray(Tas_Man_t *p, Vec_Ptr_t *vObjs)
void Gia_ManCreateRefs(Gia_Man_t *p)
void Gia_ManCleanPhase(Gia_Man_t *p)
static Gia_Obj_t * Gia_ObjChild0(Gia_Obj_t *pObj)
void Gia_ManStop(Gia_Man_t *p)
#define Gia_ManForEachCo(p, pObj, i)
void Tas_ManStop(Tas_Man_t *p)
static int Gia_ObjFaninC1(Gia_Obj_t *pObj)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
void Abc_NtkMfsConstructGia(Mfs_Man_t *p)
static Gia_Obj_t * Gia_ManCi(Gia_Man_t *p, int v)
static int Gia_ManAppendCo(Gia_Man_t *p, int iLit0)
int Gia_ManHashXor(Gia_Man_t *p, int iLit0, int iLit1)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static int Aig_ManObjNum(Aig_Man_t *p)
static Gia_Obj_t * Gia_ManPo(Gia_Man_t *p, int v)
static int Gia_ManAppendCi(Gia_Man_t *p)
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
void Gia_ManCleanMark0(Gia_Man_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)
void Gia_ManCleanMark1(Gia_Man_t *p)
void Abc_NtkMfsResimulate(Gia_Man_t *p, Vec_Int_t *vCex)
static int Gia_ObjChild1Copy(Aig_Obj_t *pObj)
#define Gia_ManForEachCi(p, pObj, i)
int Abc_NtkMfsTryResubOnceGia(Mfs_Man_t *p, int *pCands, int nCands)
static Gia_Obj_t * Gia_ObjFanin0(Gia_Obj_t *pObj)
#define ABC_NAMESPACE_IMPL_END
static int Aig_ObjIsConst1(Aig_Obj_t *pObj)
Gia_Man_t * Gia_ManStart(int nObjsMax)
DECLARATIONS ///.
#define Gia_ManForEachAnd(p, pObj, i)
void Gia_ManFillValue(Gia_Man_t *p)
Vec_Int_t * Tas_ReadModel(Tas_Man_t *p)
static int Aig_ObjFaninC0(Aig_Obj_t *pObj)
#define ABC_NAMESPACE_IMPL_START
static void * Vec_PtrEntry(Vec_Ptr_t *p, int i)
void Abc_NtkMfsDeconstructGia(Mfs_Man_t *p)
#define Aig_ManForEachObj(p, pObj, i)
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static ABC_NAMESPACE_IMPL_START int Gia_ObjChild0Copy(Aig_Obj_t *pObj)
DECLARATIONS ///.
static Gia_Obj_t * Gia_ManConst0(Gia_Man_t *p)
static int Aig_ObjFaninC1(Aig_Obj_t *pObj)
static Gia_Obj_t * Gia_ObjFanin1(Gia_Obj_t *pObj)
static void Vec_PtrClear(Vec_Ptr_t *p)
void Gia_ManHashAlloc(Gia_Man_t *p)
static int Gia_ObjFaninC0(Gia_Obj_t *pObj)
#define Vec_IntForEachEntry(vVec, Entry, i)
MACRO DEFINITIONS ///.
int Gia_ManHashAnd(Gia_Man_t *p, int iLit0, int iLit1)
Gia_Man_t * Gia_ManCreateResubMiter(Aig_Man_t *p)
FUNCTION DEFINITIONS ///.
static int Aig_ObjIsAnd(Aig_Obj_t *pObj)
static void Vec_PtrFree(Vec_Ptr_t *p)
void Gia_ManHashStop(Gia_Man_t *p)