55 int nFrames = iFrame0 ? iFrame0 + 1 : 10000000;
56 int nNodeDelta = 2000;
61 RetValue =
Saig_BmcPerform( pAig, nStart, nFrames, nNodeDelta, nTimeOut, nBTLimit, nBTLimitAll, fVerbose, 0, &iFrame, 1 );
62 assert( RetValue == 0 || RetValue == -1 );
70 int i, iFrame0, iFrame;
71 int nTotal = 0, nRemoved = 0;
80 iFrame0 = nFrameMax - 1;
103 printf(
"%5d : ", nTotal );
104 printf(
"Obj =%7d ", i );
108 assert( iFrame <= nFrameMax );
110 assert( iFrame <= iFrame0 );
111 printf(
"Frame =%6d ", iFrame );
112 if ( iFrame < iFrame0 )
122 printf(
"Removing " );
136 printf(
"Tried = %d. ", nTotal );
static int Vec_IntCountPositive(Vec_Int_t *p)
void Gia_ManStop(Gia_Man_t *p)
Aig_Man_t * Gia_ManToAigSimple(Gia_Man_t *p)
static Vec_Int_t * Vec_IntDup(Vec_Int_t *pVec)
static int Gia_ManPoNum(Gia_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
static void Gia_ObjAddToGla(Gia_Man_t *p, Gia_Obj_t *pObj)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
void Aig_ManStop(Aig_Man_t *p)
static Gia_Obj_t * Gia_ManPo(Gia_Man_t *p, int v)
void Gia_ManCleanMark0(Gia_Man_t *p)
Gia_Man_t * Gia_ManDupAbsGates(Gia_Man_t *p, Vec_Int_t *vGateClasses)
int Saig_BmcPerform(Aig_Man_t *pAig, int nStart, int nFramesMax, int nNodesMax, int nTimeOut, int nConfMaxOne, int nConfMaxAll, int fVerbose, int fVerbOverwrite, int *piFrames, int fSilent)
static abctime Abc_Clock()
int Gia_IterTryImprove(Gia_Man_t *p, int nTimeOut, int iFrame0)
FUNCTION DEFINITIONS ///.
static ABC_NAMESPACE_IMPL_START int Gia_ObjIsInGla(Gia_Man_t *p, Gia_Obj_t *pObj)
DECLARATIONS ///.
static void Abc_PrintTime(int level, const char *pStr, abctime time)
static void Vec_IntWriteEntry(Vec_Int_t *p, int i, int Entry)
static Gia_Obj_t * Gia_ObjFanin0(Gia_Obj_t *pObj)
Gia_Man_t * Gia_ManShrinkGla(Gia_Man_t *p, int nFrameMax, int nTimeOut, int fUsePdr, int fUseSat, int fUseBdd, int fVerbose)
static int Gia_ObjIsRo(Gia_Man_t *p, Gia_Obj_t *pObj)
static Gia_Obj_t * Gia_ObjRoToRi(Gia_Man_t *p, Gia_Obj_t *pObj)
static int Vec_IntEntry(Vec_Int_t *p, int i)
#define ABC_NAMESPACE_IMPL_END
static int Gia_ObjId(Gia_Man_t *p, Gia_Obj_t *pObj)
static void Vec_IntFreeP(Vec_Int_t **p)
#define ABC_NAMESPACE_IMPL_START
static void Gia_ObjRemFromGla(Gia_Man_t *p, Gia_Obj_t *pObj)
static int Gia_ObjIsAnd(Gia_Obj_t *pObj)
static Gia_Obj_t * Gia_ObjFanin1(Gia_Obj_t *pObj)
#define Gia_ManForEachObj1(p, pObj, i)
static void Vec_IntFree(Vec_Int_t *p)
int nTotal
DECLARATIONS ///.