56 assert( p->pData == NULL );
58 for ( i = 0; i < vMap->nCap; i++ )
60 vMap->nSize = vMap->nCap;
65 assert( p->pData != NULL );
71 return (
int)(p->pData != NULL);
103 assert( p->pData2 == NULL );
105 for ( i = 0; i < vMap->nCap; i++ )
106 vMap->pArray[i] = -1;
107 vMap->nSize = vMap->nCap;
112 assert( p->pData2 != NULL );
118 return (
int)(p->pData2 != NULL);
150 Aig_Obj_t * pObj, * pObjFrame, * pObjRepr;
151 int i, f, iNum, iFrame;
152 assert( pFrames->pReprs != NULL );
157 for ( f = 0; f < nFrames; f++ )
164 if ( pObjFrame == NULL )
171 if ( pObjRepr == NULL )
172 pObjRepr = pObjFrame;
211 for ( f = 0; f < nFrames; f++ )
232 if ( f == nFrames - 1 )
259 Aig_Obj_t * pObj, * pObjLi, * pObjLo, * pRepr;
260 int i, f, iNum1, iNum2, iFrame2;
261 assert( nFrames <= nFramesMax );
279 for ( f = 0; f < nFramesMax; f++ )
290 for ( f = 0; f < nFramesMax; f++ )
321 iFrame2 += f - (nFrames-1);
344 if ( f == nFramesMax - 1 )
381 Aig_Man_t * pFrames, * pFraig, * pRes1, * pRes2;
396 assert( pFrames->pReprs != NULL );
Aig_Obj_t * Aig_ObjCreateCo(Aig_Man_t *p, Aig_Obj_t *pDriver)
static Aig_Obj_t * Aig_ObjRepr(Aig_Man_t *p, Aig_Obj_t *pObj)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
void Aig_ManStop(Aig_Man_t *p)
#define Saig_ManForEachLiLo(p, pObjLi, pObjLo, i)
Aig_Man_t * Fra_FraigEquivence(Aig_Man_t *pManAig, int nConfMax, int fProve)
static int Saig_ManHasMap2(Aig_Man_t *p)
Aig_Man_t * Aig_ManStart(int nNodesMax)
DECLARATIONS ///.
void Aig_ManPrintStats(Aig_Man_t *p)
static int Aig_IsComplement(Aig_Obj_t *p)
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)
static Aig_Obj_t * Aig_ManObj(Aig_Man_t *p, int i)
static abctime Abc_Clock()
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)
static void Vec_IntWriteEntry(Vec_Int_t *p, int i, int Entry)
static int Saig_ManHasMap1(Aig_Man_t *p)
#define Aig_ManForEachNode(p, pObj, i)
static void Saig_ManStartMap2(Aig_Man_t *p, int nFrames)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static int Saig_ManGetMap2(Aig_Man_t *p, Aig_Obj_t *pOld, int f1, int *pf2)
void Aig_ManSetRegNum(Aig_Man_t *p, int nRegs)
#define Saig_ManForEachLi(p, pObj, i)
static Aig_Obj_t * Aig_ManCi(Aig_Man_t *p, int i)
static int Vec_IntEntry(Vec_Int_t *p, int i)
#define ABC_NAMESPACE_IMPL_END
Aig_Man_t * Saig_ManTimeframeSimplify(Aig_Man_t *pAig, int nFrames, int nFramesMax, int fInit, int fVerbose)
static Aig_Obj_t * Aig_ObjChild1Copy(Aig_Obj_t *pObj)
static int Aig_ObjPhaseReal(Aig_Obj_t *pObj)
static void Saig_ManSetMap1(Aig_Man_t *p, Aig_Obj_t *pOld, int f1, Aig_Obj_t *pNew)
Aig_Man_t * Saig_ManFramesInitialMapped(Aig_Man_t *pAig, int nFrames, int nFramesMax, int fInit)
#define Saig_ManForEachLo(p, pObj, i)
static Aig_Obj_t * Aig_ObjChild0Copy(Aig_Obj_t *pObj)
static void Saig_ManSetMap2(Aig_Man_t *p, Aig_Obj_t *pOld, int f1, Aig_Obj_t *pNew, int f2)
static int Saig_ManRegNum(Aig_Man_t *p)
static int Aig_ManObjNumMax(Aig_Man_t *p)
static Aig_Obj_t * Aig_ManConst1(Aig_Man_t *p)
#define ABC_NAMESPACE_IMPL_START
#define Aig_ManForEachObj(p, pObj, i)
static int Saig_ManPiNum(Aig_Man_t *p)
MACRO DEFINITIONS ///.
Aig_Man_t * Saig_ManFramesNonInitial(Aig_Man_t *pAig, int nFrames)
void Saig_ManCreateMapping(Aig_Man_t *pAig, Aig_Man_t *pFrames, int nFrames)
static void Saig_ManStopMap2(Aig_Man_t *p)
#define Saig_ManForEachPo(p, pObj, i)
static Aig_Obj_t * Aig_NotCond(Aig_Obj_t *p, int c)
static void Vec_IntFree(Vec_Int_t *p)
static int Saig_ManGetMap1(Aig_Man_t *p, Aig_Obj_t *pOld, int f1)
int Aig_ManCleanup(Aig_Man_t *p)
static void Saig_ManStopMap1(Aig_Man_t *p)
static ABC_NAMESPACE_IMPL_START void Saig_ManStartMap1(Aig_Man_t *p, int nFrames)
DECLARATIONS ///.
#define Saig_ManForEachPi(p, pObj, i)