Undoing previous change to SOP balancing.

This commit is contained in:
Alan Mishchenko 2014-07-22 17:11:50 -07:00
parent 9fa827aacf
commit eee04f448d
1 changed files with 6 additions and 6 deletions

View File

@ -273,20 +273,20 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
if ( p->pPars->fDelayOpt ) if ( p->pPars->fDelayOpt )
{ {
pCut->Delay = If_CutSopBalanceEval( p, pCut, NULL ); pCut->Delay = If_CutSopBalanceEval( p, pCut, NULL );
if ( pCut->Delay >= pObj->Level && pCut->nLeaves > 2 ) // if ( pCut->Delay >= pObj->Level && pCut->nLeaves > 2 )
pCut->Delay += 1; // pCut->Delay += 1;
} }
else if ( p->pPars->fDsdBalance ) else if ( p->pPars->fDsdBalance )
{ {
pCut->Delay = If_CutDsdBalanceEval( p, pCut, NULL ); pCut->Delay = If_CutDsdBalanceEval( p, pCut, NULL );
if ( pCut->Delay >= pObj->Level && pCut->nLeaves > 2 ) // if ( pCut->Delay >= pObj->Level && pCut->nLeaves > 2 )
pCut->Delay += 1; // pCut->Delay += 1;
} }
else if ( p->pPars->fUserRecLib ) else if ( p->pPars->fUserRecLib )
{ {
pCut->Delay = If_CutDelayRecCost3( p, pCut, pObj ); pCut->Delay = If_CutDelayRecCost3( p, pCut, pObj );
if ( pCut->Delay >= pObj->Level && pCut->nLeaves > 2 ) // if ( pCut->Delay >= pObj->Level && pCut->nLeaves > 2 )
pCut->Delay += 1; // pCut->Delay += 1;
} }
else if ( p->pPars->fDelayOptLut ) else if ( p->pPars->fDelayOptLut )
pCut->Delay = If_CutLutBalanceEval( p, pCut ); pCut->Delay = If_CutLutBalanceEval( p, pCut );