From 7d500c8920c87bb04731960e065d2b8f7748050b Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 29 Mar 2014 22:14:15 -0700 Subject: Updating &if for new cut function representation. --- src/map/if/ifMap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/map/if/ifMap.c') 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 ); -- cgit v1.2.3