95 Vec_IntPush( vLeaves, Wlc_ObjId(
p, pObj) );
100 Vec_IntPush( vNodes, Wlc_ObjId(
p, pObj) );
113 Vec_IntClear( vLeaves );
114 Vec_IntClear( vNodes );
134 Vec_Int_t * vLeaves = Vec_IntAlloc( 1000 );
135 Vec_Int_t * vNodes = Vec_IntAlloc( 1000 );
146 printf(
"Arithmetic cone of node %d (%s):\n", Wlc_ObjId(
p, pObj),
Wlc_ObjName(
p, Wlc_ObjId(
p, pObj)) );
148 Vec_IntReverseOrder( vNodes );
155 printf(
"Finished printing %d arithmetic cones.\n", Count );
156 Vec_IntFree( vLeaves );
157 Vec_IntFree( vNodes );
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
void Wlc_WinCompute(Wlc_Ntk_t *p, Wlc_Obj_t *pObj, Vec_Int_t *vLeaves, Vec_Int_t *vNodes)
void Wlc_WinCleanMark_rec(Wlc_Ntk_t *p, Wlc_Obj_t *pObj)
int Wlc_ObjIsArithmReal(Wlc_Obj_t *pObj)
int Wlc_ObjHasArithmFanins(Wlc_Ntk_t *p, Wlc_Obj_t *pObj)
void Wlc_WinProfileArith(Wlc_Ntk_t *p)
int Wlc_ManCountArithmReal(Wlc_Ntk_t *p, Vec_Int_t *vNodes)
void Wlc_WinCompute_rec(Wlc_Ntk_t *p, Wlc_Obj_t *pObj, Vec_Int_t *vLeaves, Vec_Int_t *vNodes)
ABC_NAMESPACE_IMPL_START int Wlc_ObjIsArithm(Wlc_Obj_t *pObj)
DECLARATIONS ///.
int Wlc_ObjHasArithm_rec(Wlc_Ntk_t *p, Wlc_Obj_t *pObj)
#define Wlc_ObjForEachFaninObj(p, pObj, pFanin, i)
void Wlc_NtkPrintNode(Wlc_Ntk_t *p, Wlc_Obj_t *pObj)
#define Wlc_NtkForEachObjVec(vVec, p, pObj, i)
void Wlc_NtkPrintNodeArray(Wlc_Ntk_t *p, Vec_Int_t *vArray)
struct Wlc_Ntk_t_ Wlc_Ntk_t
#define Wlc_NtkForEachObj(p, pObj, i)
MACRO DEFINITIONS ///.
char * Wlc_ObjName(Wlc_Ntk_t *p, int iObj)
struct Wlc_Obj_t_ Wlc_Obj_t
BASIC TYPES ///.