// the node should have a function assigned unless it is an AIG
// the node should have a function assigned unless it is an AIG
if(pNode->pData==NULL)
if(pNode->pData==NULL)
{
{
fprintf(stdout,"NodeCheck: An internal node \"%s\" does not have a logic function.\n",Abc_NtkIsNetlist(pNode->pNtk)?Abc_ObjName(Abc_ObjFanout0(pNode)):Abc_ObjName(pNode));
fprintf(stdout,"NodeCheck: An internal node \"%s\" does not have a logic function.\n",Abc_ObjNameNet(pNode));
return0;
return0;
}
}
// the netlist and SOP logic network should have SOPs
// the netlist and SOP logic network should have SOPs