diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-08-08 18:23:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-08-08 18:23:00 -0700 |
commit | 881b2ec46f0519cbab41ba51245b3de949fdbee9 (patch) | |
tree | faa822cf70c81f4d55c1d36fb5335cc396e4922a /src/map/scl/sclLoad.c | |
parent | 655dc4e727e2c4e74cc511f343007cee5b8e35b6 (diff) | |
download | abc-881b2ec46f0519cbab41ba51245b3de949fdbee9.tar.gz abc-881b2ec46f0519cbab41ba51245b3de949fdbee9.tar.bz2 abc-881b2ec46f0519cbab41ba51245b3de949fdbee9.zip |
Integrated buffering and sizing.
Diffstat (limited to 'src/map/scl/sclLoad.c')
-rw-r--r-- | src/map/scl/sclLoad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/scl/sclLoad.c b/src/map/scl/sclLoad.c index 7ea13db2..282fd7ee 100644 --- a/src/map/scl/sclLoad.c +++ b/src/map/scl/sclLoad.c @@ -94,7 +94,7 @@ void Abc_SclComputeLoad( SC_Man * p ) // add cell load Abc_NtkForEachNode1( p->pNtk, pObj, i ) { - SC_Cell * pCell = Abc_SclObjCell( p, pObj ); + SC_Cell * pCell = Abc_SclObjCell( pObj ); Abc_ObjForEachFanin( pObj, pFanin, k ) { SC_Pair * pLoad = Abc_SclObjLoad( p, pFanin ); @@ -142,7 +142,7 @@ void Abc_SclComputeLoad( SC_Man * p ) } } // calculate average load - if ( p->EstLoadMax ) +// if ( p->EstLoadMax ) { double TotalLoad = 0; int nObjs = 0; @@ -194,7 +194,7 @@ void Abc_SclUpdateLoadSplit( SC_Man * p, Abc_Obj_t * pBuffer, Abc_Obj_t * pFanou int iFanin = Abc_NodeFindFanin( pFanout, pBuffer ); assert( iFanin >= 0 ); assert( Abc_ObjFaninNum(pBuffer) == 1 ); - pPin = SC_CellPin( Abc_SclObjCell(p, pFanout), iFanin ); + pPin = SC_CellPin( Abc_SclObjCell(pFanout), iFanin ); // update load of the buffer pLoad = Abc_SclObjLoad( p, pBuffer ); pLoad->rise -= pPin->rise_cap; |