From a26d61f47d77d7174184c96cb5e8592ea4263dbc Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 6 Apr 2014 15:21:07 -0700 Subject: Improvement in SOP balancing. --- src/map/if/ifMap.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/map/if/ifMap.c') diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c index 24fc6b9b..a497b37e 100644 --- a/src/map/if/ifMap.c +++ b/src/map/if/ifMap.c @@ -124,10 +124,9 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep { // recompute the parameters of the best cut if ( p->pPars->fDelayOpt ) -// pCut->Delay = If_CutDelaySopCost( p, pCut ); - pCut->Delay = If_CutDelaySopArray3( p, pCut, NULL ); + pCut->Delay = If_CutSopBalanceEval( p, pCut, NULL ); else if ( p->pPars->fDsdBalance ) - pCut->Delay = If_DsdCutBalanceCost( p, pCut ); + pCut->Delay = If_CutDsdBalanceEval( p, pCut, NULL ); else if ( p->pPars->fUserRecLib ) pCut->Delay = If_CutDelayRecCost3( p, pCut, pObj ); else if( p->pPars->nGateSize > 0 ) @@ -281,10 +280,9 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep continue; // check if the cut satisfies the required times if ( p->pPars->fDelayOpt ) -// pCut->Delay = If_CutDelaySopCost( p, pCut ); - pCut->Delay = If_CutDelaySopArray3( p, pCut, NULL ); + pCut->Delay = If_CutSopBalanceEval( p, pCut, NULL ); else if ( p->pPars->fDsdBalance ) - pCut->Delay = If_DsdCutBalanceCost( p, pCut ); + pCut->Delay = If_CutDsdBalanceEval( p, pCut, NULL ); else if ( p->pPars->fUserRecLib ) pCut->Delay = If_CutDelayRecCost3( p, pCut, pObj ); else if( p->pPars->nGateSize > 0 ) -- cgit v1.2.3