mirror of https://github.com/YosysHQ/abc.git
Improved topo print-out.
This commit is contained in:
parent
a246882a5b
commit
4c06c8afc0
|
|
@ -58,6 +58,8 @@ int Abc_SclCheckNtk( Abc_Ntk_t * p, int fVerbose )
|
|||
Abc_NodeSetTravIdCurrent( pObj );
|
||||
if ( Abc_ObjFanoutNum(pObj) == 0 )
|
||||
printf( "node %d has no fanout\n", Abc_ObjId(pObj) ), fFlag = 0;
|
||||
if ( !fFlag )
|
||||
break;
|
||||
}
|
||||
if ( fFlag && fVerbose )
|
||||
printf( "The network is in topo order and no dangling nodes.\n" );
|
||||
|
|
|
|||
Loading…
Reference in New Issue