52 for ( k = 0; k < pObj->nFanins; k++ )
53 for ( m = k + 1; m < pObj->nFanins; m++ )
54 if ( pObj->pFanio[k] == pObj->pFanio[m] )
55 printf(
"Node %d has duplicated fanin %d.\n", pObj->Id, pObj->pFanio[k]->Id );
62 printf(
"Nwk_ManCheck(): Object %d has fanin %d which does not have a corresponding fanout.\n", pObj->Id, pNext->Id );
65 printf(
"Nwk_ManCheck(): Object %d has fanout %d which does not have a corresponding fanin.\n", pObj->Id, pNext->Id );
ABC_DLL int Nwk_ObjFindFanout(Nwk_Obj_t *pObj, Nwk_Obj_t *pFanout)
static int Nwk_ObjFanoutNum(Nwk_Obj_t *p)
typedefABC_NAMESPACE_HEADER_START struct Nwk_Obj_t_ Nwk_Obj_t
INCLUDES ///.
#define Nwk_ObjForEachFanout(pObj, pFanout, i)
ABC_DLL int Nwk_ObjFindFanin(Nwk_Obj_t *pObj, Nwk_Obj_t *pFanin)
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_START
ABC_NAMESPACE_IMPL_START int Nwk_ManCheck(Nwk_Man_t *p)
DECLARATIONS ///.
#define Nwk_ObjForEachFanin(pObj, pFanin, i)
#define Nwk_ManForEachObj(p, pObj, i)
#define Nwk_ManForEachNode(p, pObj, i)