mirror of https://github.com/YosysHQ/abc.git
Induced bug with in DFS computation.
This commit is contained in:
parent
e658da711c
commit
c5162ba6d2
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue