summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifMap.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 14:40:43 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 14:40:43 -0700
commitd82be1fd05d0a8300f2cbc8fa532647f6e8b40d5 (patch)
tree7749248c0278445eda2d89434a83048023a949a3 /src/map/if/ifMap.c
parentb0e04dc2c30ad8bc0995f0728a494442271d323b (diff)
downloadabc-d82be1fd05d0a8300f2cbc8fa532647f6e8b40d5.tar.gz
abc-d82be1fd05d0a8300f2cbc8fa532647f6e8b40d5.tar.bz2
abc-d82be1fd05d0a8300f2cbc8fa532647f6e8b40d5.zip
Improvements to technology mapping.
Diffstat (limited to 'src/map/if/ifMap.c')
-rw-r--r--src/map/if/ifMap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c
index b3bc4b70..70d3a854 100644
--- a/src/map/if/ifMap.c
+++ b/src/map/if/ifMap.c
@@ -239,7 +239,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
if ( p->pPars->fUseDsd )
pCut->fUseless = If_DsdManCheckDec( p->pIfDsdMan, pCut->iCutDsd );
else
- pCut->fUseless = !p->pPars->pFuncCell( p, If_CutTruth(p, pCut), pCut->nLimit, pCut->nLeaves, p->pPars->pLutStruct );
+ pCut->fUseless = !p->pPars->pFuncCell( p, If_CutTruth(p, pCut), pCut->nLeaves, pCut->nLeaves, p->pPars->pLutStruct );
p->nCutsUselessAll += pCut->fUseless;
p->nCutsUseless[pCut->nLeaves] += pCut->fUseless;
p->nCutsCountAll++;