summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifMap.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-02-25 07:50:11 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2014-02-25 07:50:11 -0800
commit9005c6bfe2b2bfd491002f17045af8c1e8feb12e (patch)
tree240c48138245d812914288d9ec0e2ec0c9143277 /src/map/if/ifMap.c
parent7e0f7eba792e7fc854345d45f6f49bb562e63d3a (diff)
downloadabc-9005c6bfe2b2bfd491002f17045af8c1e8feb12e.tar.gz
abc-9005c6bfe2b2bfd491002f17045af8c1e8feb12e.tar.bz2
abc-9005c6bfe2b2bfd491002f17045af8c1e8feb12e.zip
Changes to LUT mappers.
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 2c9319fe..c22d8604 100644
--- a/src/map/if/ifMap.c
+++ b/src/map/if/ifMap.c
@@ -251,7 +251,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
}
}
}
- if ( p->pPars->fUseDsd )
+ if ( p->pPars->fUseDsd && Abc_Lit2Var(pCut->iCutFunc) == Vec_MemEntryNum(p->vTtMem)-1 )
pCut->iCutDsd = If_DsdManCompute( p->pIfDsdMan, If_CutTruthW(p, pCut), pCut->nLeaves, (unsigned char *)pCut->pPerm );
// compute the application-specific cost and depth