diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-08-11 00:49:34 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-08-11 00:49:34 -0700 |
commit | ec4804aab61503e8a65c1c31488683eb6bdbe8e1 (patch) | |
tree | db87004cad5427bd9906c434b26c3c7fed8f8d62 /src/map/scl/sclUpsize.c | |
parent | 679a9a021a6b9d6fd346a3849e981aeb4f619dff (diff) | |
download | abc-ec4804aab61503e8a65c1c31488683eb6bdbe8e1.tar.gz abc-ec4804aab61503e8a65c1c31488683eb6bdbe8e1.tar.bz2 abc-ec4804aab61503e8a65c1c31488683eb6bdbe8e1.zip |
Integrated buffering and sizing.
Diffstat (limited to 'src/map/scl/sclUpsize.c')
-rw-r--r-- | src/map/scl/sclUpsize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/scl/sclUpsize.c b/src/map/scl/sclUpsize.c index a5d71ddf..09eadfa0 100644 --- a/src/map/scl/sclUpsize.c +++ b/src/map/scl/sclUpsize.c @@ -469,8 +469,8 @@ int Abc_SclFindBypasses( SC_Man * p, Vec_Int_t * vPathNodes, int Ratio, int Notc // remember gain if ( dGainBest2 == -1 ) dGainBest2 = Vec_FltEntry(p->vNode2Gain, iNode); - else if ( dGainBest2 > 2*Vec_FltEntry(p->vNode2Gain, iNode) ) - break; +// else if ( dGainBest2 > 2*Vec_FltEntry(p->vNode2Gain, iNode) ) +// break; // redirect Abc_SclUpdateLoadSplit( p, pBuf, pFanout ); Abc_SclAddWireLoad( p, pBuf, 1 ); @@ -932,7 +932,7 @@ void Abc_SclUpsizePerform( SC_Lib * pLib, Abc_Ntk_t * pNtk, SC_SizePars * pPars clk = Abc_Clock(); if ( pPars->fUseDept ) { - if ( Vec_IntSize(p->vChanged) && pPars->BypassFreq == 0 ) + if ( Vec_IntSize(p->vChanged) && !(pPars->BypassFreq && i && (i % pPars->BypassFreq) == 0) ) nConeSize = Abc_SclTimeIncUpdate( p ); else Abc_SclTimeNtkRecompute( p, NULL, NULL, pPars->fUseDept, 0 ); |