132 int Value0, Value1, Value;
172 if ( vCi2Rem != NULL )
202 int i, k, iFanout = -1, Value, Value2;
226 if ( Value2 == Value )
366 int i, Entry, RetValue;
378 for ( i = 0; i < pCube->nLits; i++ )
380 if ( pCube->Lits[i] == -1 )
386 if ( p->
pPars->fVeryVerbose )
388 Abc_Print( 1,
"Trying to justify cube " );
402 if ( p->
pPars->fVeryVerbose )
415 if ( vPrio != NULL &&
Vec_IntEntry( vPrio, Entry ) != 0 )
429 if ( vPrio == NULL ||
Vec_IntEntry( vPrio, Entry ) == 0 )
444 if ( vPrio == NULL ||
Vec_IntEntry( vPrio, Entry ) == 0 )
459 if ( vPrio != NULL &&
Vec_IntEntry( vPrio, Entry ) != 0 )
469 if ( p->
pPars->fVeryVerbose )
#define Aig_ObjForEachFanout(p, pObj, pFanout, iFan, i)
#define PDR_ZER
DECLARATIONS ///.
static void Vec_IntPushOrder(Vec_Int_t *p, int Entry)
void Pdr_ManExtendUndo(Aig_Man_t *pAig, Vec_Int_t *vUndo)
Pdr_Set_t * Pdr_SetCreate(Vec_Int_t *vLits, Vec_Int_t *vPiLits)
static int Saig_ObjIsLo(Aig_Man_t *p, Aig_Obj_t *pObj)
#define Aig_ManForEachObjVec(vIds, p, pObj, i)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static int Aig_ObjIsTravIdCurrent(Aig_Man_t *p, Aig_Obj_t *pObj)
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
void Pdr_ManCollectCone(Aig_Man_t *pAig, Vec_Int_t *vCoObjs, Vec_Int_t *vCiObjs, Vec_Int_t *vNodes)
static int Aig_IsComplement(Aig_Obj_t *p)
void Pdr_SetPrint(FILE *pFile, Pdr_Set_t *p, int nRegs, Vec_Int_t *vFlopCounts)
#define ABC_ALLOC(type, num)
static int Pdr_ManSimInfoAnd(int Value0, int Value1)
static abctime Abc_Clock()
static Aig_Obj_t * Aig_ObjFanin1(Aig_Obj_t *pObj)
static void Aig_ObjSetTravIdCurrent(Aig_Man_t *p, Aig_Obj_t *pObj)
void Aig_ManIncrementTravId(Aig_Man_t *p)
DECLARATIONS ///.
static int Aig_ObjIsNode(Aig_Obj_t *pObj)
static int Pdr_ManSimInfoNot(int Value)
static lit toLitCond(int v, int c)
static int Vec_IntEntry(Vec_Int_t *p, int i)
static int Aig_ManCiNum(Aig_Man_t *p)
#define ABC_NAMESPACE_IMPL_END
static Aig_Obj_t * Saig_ManLi(Aig_Man_t *p, int i)
typedefABC_NAMESPACE_HEADER_START struct Pdr_Set_t_ Pdr_Set_t
INCLUDES ///.
int Pdr_ManSimDataInit(Aig_Man_t *pAig, Vec_Int_t *vCiObjs, Vec_Int_t *vCiVals, Vec_Int_t *vNodes, Vec_Int_t *vCoObjs, Vec_Int_t *vCoVals, Vec_Int_t *vCi2Rem)
static void Vec_IntPush(Vec_Int_t *p, int Entry)
int Pdr_ManExtendOneEval(Aig_Man_t *pAig, Aig_Obj_t *pObj)
static void Abc_Print(int level, const char *format,...)
void Pdr_ManCollectCone_rec(Aig_Man_t *pAig, Aig_Obj_t *pObj, Vec_Int_t *vCiObjs, Vec_Int_t *vNodes)
FUNCTION DEFINITIONS ///.
static int Aig_ObjFaninC0(Aig_Obj_t *pObj)
static Aig_Obj_t * Aig_ManConst1(Aig_Man_t *p)
#define ABC_NAMESPACE_IMPL_START
static Aig_Obj_t * Aig_ManCo(Aig_Man_t *p, int i)
static int Aig_ManRegNum(Aig_Man_t *p)
static int Vec_IntSize(Vec_Int_t *p)
static int Saig_ManPiNum(Aig_Man_t *p)
MACRO DEFINITIONS ///.
static void Pdr_ManSimInfoSet(Aig_Man_t *p, Aig_Obj_t *pObj, int Value)
static int Aig_ObjFaninC1(Aig_Obj_t *pObj)
void Pdr_ManCollectValues(Pdr_Man_t *p, int k, Vec_Int_t *vObjIds, Vec_Int_t *vValues)
static int Aig_ObjId(Aig_Obj_t *pObj)
static int Pdr_ManSimInfoGet(Aig_Man_t *p, Aig_Obj_t *pObj)
static int Aig_ObjIsCi(Aig_Obj_t *pObj)
static void Vec_IntClear(Vec_Int_t *p)
void Pdr_ManDeriveResult(Aig_Man_t *pAig, Vec_Int_t *vCiObjs, Vec_Int_t *vCiVals, Vec_Int_t *vCi2Rem, Vec_Int_t *vRes, Vec_Int_t *vPiLits)
static int Saig_ObjIsPi(Aig_Man_t *p, Aig_Obj_t *pObj)
int Pdr_SetIsInit(Pdr_Set_t *p, int iRemove)
static int Aig_ObjIsCo(Aig_Obj_t *pObj)
Pdr_Set_t * Pdr_ManTernarySim(Pdr_Man_t *p, int k, Pdr_Set_t *pCube)
static int Aig_ObjCioId(Aig_Obj_t *pObj)
int Pdr_ManExtendOne(Aig_Man_t *pAig, Aig_Obj_t *pObj, Vec_Int_t *vUndo, Vec_Int_t *vVis)
void Pdr_ManPrintCex(Aig_Man_t *pAig, Vec_Int_t *vCiObjs, Vec_Int_t *vCiVals, Vec_Int_t *vCi2Rem)