114 return p0 == p->pConst1 ? p1 :
Hop_Not(p->pConst1);
116 return p1 == p->pConst1 ? p0 :
Hop_Not(p->pConst1);
244 return Hop_Or( p,
Hop_Or(p,
Hop_And(p, pA, pB),
Hop_And(p, pA, pC)),
Hop_And(p, pB, pC) );
264 pObj2 =
Hop_Multi_rec( p, ppObjs + nObjs/2, nObjs - nObjs/2, Type );
265 return Hop_Oper( p, pObj1, pObj2, Type );
300 assert( vPairs->nSize > 0 );
301 assert( vPairs->nSize % 2 == 0 );
303 for ( i = 0; i < vPairs->nSize; i += 2 )
305 vPairs->nSize = vPairs->nSize/2;
325 for ( i = 0; i < nVars; i++ )
346 for ( i = 0; i < nVars; i++ )
367 for ( i = 0; i < nVars; i++ )
static Hop_Obj_t * Hop_ObjChild0(Hop_Obj_t *pObj)
static Hop_Obj_t * Hop_ObjFanin1(Hop_Obj_t *pObj)
Hop_Obj_t * Hop_Exor(Hop_Man_t *p, Hop_Obj_t *p0, Hop_Obj_t *p1)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
static Hop_Obj_t * Hop_ManConst1(Hop_Man_t *p)
Hop_Obj_t * Hop_ObjCreate(Hop_Man_t *p, Hop_Obj_t *pGhost)
Hop_Obj_t * Hop_Or(Hop_Man_t *p, Hop_Obj_t *p0, Hop_Obj_t *p1)
Hop_Obj_t * Hop_CreateAnd(Hop_Man_t *p, int nVars)
static int Hop_ObjFaninC1(Hop_Obj_t *pObj)
static int Vec_PtrSize(Vec_Ptr_t *p)
Hop_Obj_t * Hop_Multi_rec(Hop_Man_t *p, Hop_Obj_t **ppObjs, int nObjs, Hop_Type_t Type)
Hop_Obj_t * Hop_Miter(Hop_Man_t *p, Vec_Ptr_t *vPairs)
static Hop_Obj_t * Hop_Not(Hop_Obj_t *p)
static int Hop_ObjIsAnd(Hop_Obj_t *pObj)
static Hop_Obj_t * Hop_ManPi(Hop_Man_t *p, int i)
Hop_Obj_t * Hop_IthVar(Hop_Man_t *p, int i)
FUNCTION DEFINITIONS ///.
Hop_Obj_t * Hop_CreateExor(Hop_Man_t *p, int nVars)
Hop_Obj_t * Hop_Maj(Hop_Man_t *p, Hop_Obj_t *pA, Hop_Obj_t *pB, Hop_Obj_t *pC)
#define ABC_NAMESPACE_IMPL_END
static Hop_Obj_t * Hop_ObjChild1(Hop_Obj_t *pObj)
static int Hop_IsComplement(Hop_Obj_t *p)
static ABC_NAMESPACE_IMPL_START int Hop_ObjIsExorType(Hop_Obj_t *p0, Hop_Obj_t *p1, Hop_Obj_t **ppFan0, Hop_Obj_t **ppFan1)
DECLARATIONS ///.
static Hop_Obj_t * Hop_ObjFanin0(Hop_Obj_t *pObj)
Hop_Obj_t * Hop_And(Hop_Man_t *p, Hop_Obj_t *p0, Hop_Obj_t *p1)
Hop_Obj_t * Hop_CreateOr(Hop_Man_t *p, int nVars)
#define ABC_NAMESPACE_IMPL_START
static int Hop_ObjFaninC0(Hop_Obj_t *pObj)
Hop_Obj_t * Hop_Mux(Hop_Man_t *p, Hop_Obj_t *pC, Hop_Obj_t *p1, Hop_Obj_t *p0)
static Hop_Obj_t * Hop_ManConst0(Hop_Man_t *p)
Hop_Obj_t * Hop_Oper(Hop_Man_t *p, Hop_Obj_t *p0, Hop_Obj_t *p1, Hop_Type_t Type)
static Hop_Obj_t * Hop_Regular(Hop_Obj_t *p)
static Hop_Obj_t * Hop_ObjCreateGhost(Hop_Man_t *p, Hop_Obj_t *p0, Hop_Obj_t *p1, Hop_Type_t Type)
Hop_Obj_t * Hop_ObjCreatePi(Hop_Man_t *p)
DECLARATIONS ///.
Hop_Obj_t * Hop_Multi(Hop_Man_t *p, Hop_Obj_t **pArgs, int nArgs, Hop_Type_t Type)
typedefABC_NAMESPACE_HEADER_START struct Hop_Man_t_ Hop_Man_t
INCLUDES ///.
Hop_Obj_t * Hop_TableLookup(Hop_Man_t *p, Hop_Obj_t *pGhost)
FUNCTION DEFINITIONS ///.
static int Hop_ManPiNum(Hop_Man_t *p)