47 int RetValue, i, k, iBit = 0;
51 for ( i = 0; i <= p->iFrame; i++ )
67 assert( iBit == p->nBits );
90 int RetValue, i, k, iBit = 0;
96 for ( i = 0; i <= p->iFrame; i++ )
108 assert( iBit == p->nBits );
145 for ( i = 0; i <= p->iFrame; i++ )
187 int Val0, Val1, nObjs, i, k, iBit = 0;
197 for ( i = 0; i <= pCex->iFrame; i++ )
219 if ( i == pCex->iFrame )
226 assert( iBit == pCex->nBits );
282 int iFrame =
Abc_MaxInt( 0, pCex->iFrame - 1 );
283 printf(
"\nUsing counter-example, which asserts output %d in frame %d.\n", pCex->iPo, pCex->iFrame );
285 printf(
"Value of object %d in frame %d is %d.\n",
Gia_ObjId(pGia, pObj), iFrame,
307 assert( pCex->nRegs > 0 );
310 pNew->iFrame = pCex->iFrame;
311 pNew->iPo = pCex->iPo;
317 assert( iBit == pCex->nRegs );
318 for ( i = 0; i <= pCex->iFrame; i++ )
332 assert( iBit == pCex->nBits );
354 assert( pCex->nRegs > 0 );
357 pNew->iFrame = pCex->iFrame;
358 pNew->iPo = pCex->iPo;
364 assert( iBit == pCex->nRegs );
365 for ( i = 0; i <= pCex->iFrame; i++ )
379 assert( iBit == pCex->nBits );
void Gia_ManCounterExampleValueStop(Gia_Man_t *pGia)
#define Gia_ManForEachCo(p, pObj, i)
static int Gia_ManPoNum(Gia_Man_t *p)
static int Gia_ObjFaninC1(Gia_Obj_t *pObj)
static int Abc_InfoHasBit(unsigned *p, int i)
ABC_NAMESPACE_IMPL_START Abc_Cex_t * Abc_CexAlloc(int nRegs, int nRealPis, int nFrames)
DECLARATIONS ///.
static Gia_Obj_t * Gia_ManPo(Gia_Man_t *p, int v)
Abc_Cex_t * Gia_ManCexExtendToIncludeCurrentStates(Gia_Man_t *p, Abc_Cex_t *pCex)
int Gia_ManCounterExampleValueLookup(Gia_Man_t *pGia, int Id, int iFrame)
void Gia_ManCleanMark0(Gia_Man_t *p)
void Gia_ManCounterExampleValueStart(Gia_Man_t *pGia, Abc_Cex_t *pCex)
static int Gia_ObjFaninId1p(Gia_Man_t *p, Gia_Obj_t *pObj)
static int Abc_MaxInt(int a, int b)
static Gia_Obj_t * Gia_ManObj(Gia_Man_t *p, int v)
#define Gia_ManForEachCi(p, pObj, i)
#define Gia_ManForEachRiRo(p, pObjRi, pObjRo, i)
Abc_Cex_t * Gia_ManCexExtendToIncludeAllObjects(Gia_Man_t *p, Abc_Cex_t *pCex)
static Gia_Obj_t * Gia_ObjFanin0(Gia_Obj_t *pObj)
int Gia_ManFindFailedPoCex(Gia_Man_t *pAig, Abc_Cex_t *p, int nOutputs)
#define ABC_NAMESPACE_IMPL_END
#define Gia_ManForEachAnd(p, pObj, i)
static int Gia_ObjId(Gia_Man_t *p, Gia_Obj_t *pObj)
#define Gia_ManForEachPi(p, pObj, i)
#define ABC_NAMESPACE_IMPL_START
static void Abc_InfoSetBit(unsigned *p, int i)
static int Gia_ManCiNum(Gia_Man_t *p)
void Gia_ManCounterExampleValueTest(Gia_Man_t *pGia, Abc_Cex_t *pCex)
static Gia_Obj_t * Gia_ManCo(Gia_Man_t *p, int v)
#define Gia_ManForEachObj(p, pObj, i)
MACRO DEFINITIONS ///.
static Gia_Obj_t * Gia_ManConst0(Gia_Man_t *p)
#define ABC_CALLOC(type, num)
static int Gia_ObjFaninId0p(Gia_Man_t *p, Gia_Obj_t *pObj)
static Gia_Obj_t * Gia_ObjFanin1(Gia_Obj_t *pObj)
#define Gia_ManForEachRo(p, pObj, i)
static int Abc_BitWordNum(int nBits)
ABC_NAMESPACE_IMPL_START int Gia_ManVerifyCex(Gia_Man_t *pAig, Abc_Cex_t *p, int fDualOut)
DECLARATIONS ///.
typedefABC_NAMESPACE_HEADER_START struct Abc_Cex_t_ Abc_Cex_t
INCLUDES ///.
#define Gia_ManForEachRi(p, pObj, i)
static int Gia_ObjFaninC0(Gia_Obj_t *pObj)
static int Gia_ManPiNum(Gia_Man_t *p)
int Gia_ManSetFailedPoCex(Gia_Man_t *pAig, Abc_Cex_t *p)
#define Gia_ManForEachPo(p, pObj, i)
static int Gia_ManObjNum(Gia_Man_t *p)
static int Gia_ManRegNum(Gia_Man_t *p)