From c9fbac5f2e72b8259c28e135dafb6b21a3819c54 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 9 Oct 2012 23:25:03 -0700 Subject: Improvements to gate sizing. --- src/map/scl/sclSize.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/map/scl/sclSize.c') diff --git a/src/map/scl/sclSize.c b/src/map/scl/sclSize.c index f7bb9371..59c76754 100644 --- a/src/map/scl/sclSize.c +++ b/src/map/scl/sclSize.c @@ -138,29 +138,6 @@ Vec_Int_t * Abc_SclFindCriticalCone( SC_Man * p, int Range, int RangeF, Vec_Int_ SeeAlso [] ***********************************************************************/ -Vec_Int_t * Abc_SclFindCriticalPath2( SC_Man * p, int Range, Vec_Int_t ** pvPivots ) -{ - Vec_Int_t * vPivots = Abc_SclFindCriticalCoRange( p, Range ); - Vec_Int_t * vPath = Vec_IntAlloc( 100 ); - Abc_Obj_t * pObj; - int i, fRise = 0; - //Vec_IntShrink( vPivots, 1 ); - Abc_NtkForEachObjVec( vPivots, p->pNtk, pObj, i ) - { - pObj = Abc_ObjFanin0(pObj); - while ( pObj && Abc_ObjIsNode(pObj) ) - { - Vec_IntPush( vPath, Abc_ObjId(pObj) ); - pObj = Abc_SclFindMostCriticalFanin( p, &fRise, pObj ); - } - } - Vec_IntUniqify( vPath ); - if ( pvPivots ) - *pvPivots = vPivots; - else - Vec_IntFree( vPivots ); - return vPath; -} Vec_Int_t * Abc_SclFindCriticalPath( SC_Man * p, int Range, Vec_Int_t ** pvPivots ) { return Abc_SclFindCriticalCone( p, Range, 1, pvPivots ); -- cgit v1.2.3