diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-09 23:25:03 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-09 23:25:03 -0700 |
commit | c9fbac5f2e72b8259c28e135dafb6b21a3819c54 (patch) | |
tree | 2e63519b1fec875055635dc10a9fbdc6b510f8e9 /src/map/scl/sclSize.c | |
parent | 1e7ea2ca459184461c1461fb13e7fd54e0a467b8 (diff) | |
download | abc-c9fbac5f2e72b8259c28e135dafb6b21a3819c54.tar.gz abc-c9fbac5f2e72b8259c28e135dafb6b21a3819c54.tar.bz2 abc-c9fbac5f2e72b8259c28e135dafb6b21a3819c54.zip |
Improvements to gate sizing.
Diffstat (limited to 'src/map/scl/sclSize.c')
-rw-r--r-- | src/map/scl/sclSize.c | 23 |
1 files changed, 0 insertions, 23 deletions
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 ); |