diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-03-29 22:14:15 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-03-29 22:14:15 -0700 |
commit | 7d500c8920c87bb04731960e065d2b8f7748050b (patch) | |
tree | 4a81a96ac7ce6bf7fa4995c55d8528b3db5db3b8 /src/map/if/ifMap.c | |
parent | ba4ed5b16c0d7981b7e27eec66aaf9a79a889d48 (diff) | |
download | abc-7d500c8920c87bb04731960e065d2b8f7748050b.tar.gz abc-7d500c8920c87bb04731960e065d2b8f7748050b.tar.bz2 abc-7d500c8920c87bb04731960e065d2b8f7748050b.zip |
Updating &if for new cut function representation.
Diffstat (limited to 'src/map/if/ifMap.c')
-rw-r--r-- | src/map/if/ifMap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c index fe4b146b..7ee7db22 100644 --- a/src/map/if/ifMap.c +++ b/src/map/if/ifMap.c @@ -215,7 +215,10 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep if ( p->pPars->fTruth ) { // abctime clk = Abc_Clock(); - If_CutComputeTruth( p, pCut, pCut0, pCut1, pObj->fCompl0, pObj->fCompl1 ); + if ( p->pPars->fUseTtPerm ) + If_CutComputeTruthPerm( p, pCut, pCut0, pCut1, pObj->fCompl0, pObj->fCompl1 ); + else + If_CutComputeTruth( p, pCut, pCut0, pCut1, pObj->fCompl0, pObj->fCompl1 ); // p->timeTruth += Abc_Clock() - clk; if ( p->pPars->fUseDsd ) { @@ -246,6 +249,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep pCut->fUseless = 0; if ( p->pPars->pFuncCell ) { + assert( p->pPars->fUseTtPerm == 0 ); assert( pCut->nLimit >= 4 && pCut->nLimit <= 16 ); if ( p->pPars->fUseDsd ) pCut->fUseless = If_DsdManCheckDec( p->pIfDsdMan, pCut->iCutDsd ); |