37 assert( iFanin == 0 || iFanin == 1 );
52 pCare =
Aig_Or( pAigNew, pTemp0, pTemp1 );
53 *ppRes0 =
Aig_And( pAigNew, pTemp1, pCare );
54 *ppRes1 =
Aig_And( pAigNew, pTemp0, pCare );
85 Aig_Obj_t * pObj, * pTemp0, * pTemp1, * pTemp2, * pTemp3, * pCare, * pMiter;
140 pMiter =
Aig_Or( pAigNew, pMiter, pCare );
142 else if ( fCheckOne )
145 pMiter =
Aig_Or( pAigNew, pMiter, pCare );
150 pMiter =
Aig_Or( pAigNew, pMiter, pCare );
162 pMiter =
Aig_Or( pAigNew, pMiter, pCare );
164 else if ( fCheckOne )
167 pMiter =
Aig_Or( pAigNew, pMiter, pCare );
172 pMiter =
Aig_Or( pAigNew, pMiter, pCare );
211 Aig_Obj_t * pObj, * pCond, * pPrev, * pTemp;
217 for ( i = 0; i < nCycles; i++ )
221 pCond =
Aig_And( pAig, pCond, pPrev );
Aig_Obj_t * Aig_ObjCreateCo(Aig_Man_t *p, Aig_Obj_t *pDriver)
static Vec_Ptr_t * Vec_PtrStart(int nSize)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
static int Aig_ObjFaninId0(Aig_Obj_t *pObj)
void Saig_ManBlockPo(Aig_Man_t *pAig, int nCycles)
static int Saig_ManPoNum(Aig_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
static Aig_Obj_t * Aig_ObjChild0(Aig_Obj_t *pObj)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static int Aig_ManObjNum(Aig_Man_t *p)
Aig_Man_t * Aig_ManStart(int nNodesMax)
DECLARATIONS ///.
#define Aig_ManForEachCi(p, pObj, i)
ITERATORS ///.
Aig_Obj_t * Aig_ObjCreateCi(Aig_Man_t *p)
DECLARATIONS ///.
static Aig_Obj_t * Aig_ManConst0(Aig_Man_t *p)
static ABC_NAMESPACE_IMPL_START void Saig_ObjSetDual(Vec_Ptr_t *vCopies, int Id, int fPos, Aig_Obj_t *pItem)
DECLARATIONS ///.
static Aig_Obj_t * Aig_Not(Aig_Obj_t *p)
static int Aig_ObjFaninId1(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)
#define Aig_ManForEachNode(p, pObj, i)
void Aig_ObjPatchFanin0(Aig_Man_t *p, Aig_Obj_t *pObj, Aig_Obj_t *pFaninNew)
void Aig_ManSetRegNum(Aig_Man_t *p, int nRegs)
#define Saig_ManForEachLi(p, pObj, i)
static int Vec_IntEntry(Vec_Int_t *p, int i)
#define ABC_NAMESPACE_IMPL_END
Aig_Obj_t * Aig_Or(Aig_Man_t *p, Aig_Obj_t *p0, Aig_Obj_t *p1)
static Aig_Obj_t * Saig_ObjDual(Vec_Ptr_t *vCopies, int Id, int fPos)
static int Aig_ObjFaninC0(Aig_Obj_t *pObj)
static void Vec_PtrWriteEntry(Vec_Ptr_t *p, int i, void *Entry)
static Aig_Obj_t * Aig_ManConst1(Aig_Man_t *p)
#define ABC_NAMESPACE_IMPL_START
static void * Vec_PtrEntry(Vec_Ptr_t *p, int i)
static int Aig_ManRegNum(Aig_Man_t *p)
Aig_Man_t * Saig_ManDupDual(Aig_Man_t *pAig, Vec_Int_t *vDcFlops, int nDualPis, int fDualFfs, int fMiterFfs, int fComplPo, int fCheckZero, int fCheckOne)
FUNCTION DEFINITIONS ///.
static int Vec_IntSize(Vec_Int_t *p)
static int Saig_ManPiNum(Aig_Man_t *p)
MACRO DEFINITIONS ///.
static int Aig_ObjFaninC1(Aig_Obj_t *pObj)
#define Saig_ManForEachPo(p, pObj, i)
static int Aig_ObjId(Aig_Obj_t *pObj)
static void Saig_ObjDualFanin(Aig_Man_t *pAigNew, Vec_Ptr_t *vCopies, Aig_Obj_t *pObj, int iFanin, Aig_Obj_t **ppRes0, Aig_Obj_t **ppRes1)
static Aig_Obj_t * Aig_NotCond(Aig_Obj_t *p, int c)
char * Abc_UtilStrsav(char *s)
int Aig_ManCleanup(Aig_Man_t *p)
static void Vec_PtrFree(Vec_Ptr_t *p)