summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifMap.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-06 15:21:07 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-06 15:21:07 -0700
commita26d61f47d77d7174184c96cb5e8592ea4263dbc (patch)
treef4a35414089e50f6696bc2449b83f8fe6f483b9e /src/map/if/ifMap.c
parentd05f83b293df864f1e79ea60aeaf4ce521697437 (diff)
downloadabc-a26d61f47d77d7174184c96cb5e8592ea4263dbc.tar.gz
abc-a26d61f47d77d7174184c96cb5e8592ea4263dbc.tar.bz2
abc-a26d61f47d77d7174184c96cb5e8592ea4263dbc.zip
Improvement in SOP balancing.
Diffstat (limited to 'src/map/if/ifMap.c')
-rw-r--r--src/map/if/ifMap.c10
1 files changed, 4 insertions, 6 deletions
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 )