52 if ( Hop_ObjFanin0(pObj) || Hop_ObjFanin1(pObj) )
54 printf(
"Hop_ManCheck: The PI node \"%p\" has fanins.\n", pObj );
61 if ( !Hop_ObjFanin0(pObj) )
63 printf(
"Hop_ManCheck: The PO node \"%p\" has NULL fanin.\n", pObj );
66 if ( Hop_ObjFanin1(pObj) )
68 printf(
"Hop_ManCheck: The PO node \"%p\" has second fanin.\n", pObj );
75 if ( !Hop_ObjFanin0(pObj) || !Hop_ObjFanin1(pObj) )
77 printf(
"Hop_ManCheck: The AIG has internal node \"%p\" with a NULL fanin.\n", pObj );
80 if ( Hop_ObjFanin0(pObj)->Id >= Hop_ObjFanin1(pObj)->Id )
82 printf(
"Hop_ManCheck: The AIG has node \"%p\" with a wrong ordering of fanins.\n", pObj );
88 printf(
"Hop_ManCheck: Node \"%p\" is not in the structural hashing table.\n", pObj );
93 if ( Hop_ManObjNum(
p) != 1 + Hop_ManPiNum(
p) + Hop_ManPoNum(
p) + Hop_ManAndNum(
p) + Hop_ManExorNum(
p) )
95 printf(
"Hop_ManCheck: The number of created nodes is wrong.\n" );
101 printf(
"Hop_ManCheck: The number of nodes in the structural hashing table is wrong.\n" );
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
ABC_NAMESPACE_IMPL_START int Hop_ManCheck(Hop_Man_t *p)
DECLARATIONS ///.
int Hop_TableCountEntries(Hop_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Hop_Man_t_ Hop_Man_t
INCLUDES ///.
#define Hop_ManForEachPi(p, pObj, i)
ITERATORS ///.
#define Hop_ManForEachNode(p, pObj, i)
Hop_Obj_t * Hop_TableLookup(Hop_Man_t *p, Hop_Obj_t *pGhost)
FUNCTION DEFINITIONS ///.
#define Hop_ManForEachPo(p, pObj, i)
struct Hop_Obj_t_ Hop_Obj_t