Commit 7cf176c4 by Alan Mishchenko

Improvements to gate sizing (bug fix).

parent da61616d
...@@ -60,7 +60,8 @@ void Abc_SclFindTFO_rec( Abc_Obj_t * pObj, Vec_Int_t * vNodes, Vec_Int_t * vCos ...@@ -60,7 +60,8 @@ void Abc_SclFindTFO_rec( Abc_Obj_t * pObj, Vec_Int_t * vNodes, Vec_Int_t * vCos
assert( Abc_ObjIsNode(pObj) ); assert( Abc_ObjIsNode(pObj) );
Abc_ObjForEachFanout( pObj, pNext, i ) Abc_ObjForEachFanout( pObj, pNext, i )
Abc_SclFindTFO_rec( pNext, vNodes, vCos ); Abc_SclFindTFO_rec( pNext, vNodes, vCos );
Vec_IntPush( vNodes, Abc_ObjId(pObj) ); if ( Abc_ObjFaninNum(pObj) > 0 )
Vec_IntPush( vNodes, Abc_ObjId(pObj) );
} }
Vec_Int_t * Abc_SclFindTFO( Abc_Ntk_t * p, Vec_Int_t * vPath ) Vec_Int_t * Abc_SclFindTFO( Abc_Ntk_t * p, Vec_Int_t * vPath )
{ {
......
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