Commit c5162ba6 by Alan Mishchenko

Induced bug with in DFS computation.

parent e658da71
......@@ -89,7 +89,7 @@ Vec_Ptr_t * Abc_NtkDfs( Abc_Ntk_t * pNtk, int fCollectAll )
vNodes = Vec_PtrAlloc( 100 );
Abc_NtkForEachObj( pNtk, pObj, i )
{
if ( !Abc_ObjIsCo(pObj) || !Abc_ObjIsBarBuf(pObj) )
if ( !Abc_ObjIsCo(pObj) && !Abc_ObjIsBarBuf(pObj) )
continue;
Abc_NodeSetTravIdCurrent( pObj );
Abc_NtkDfs_rec( Abc_ObjFanin0Ntk(Abc_ObjFanin0(pObj)), vNodes );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment