From cb7bf6ae9ed6cef05b3c4e97d11ef835a37e4e7c Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 26 Oct 2012 22:36:00 -0700 Subject: Improvements to the truth table computation in 'if' package. --- src/map/if/ifMap.c | 4 +++- 1 file changed, 3 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 afc229e5..2d08aeac 100644 --- a/src/map/if/ifMap.c +++ b/src/map/if/ifMap.c @@ -212,8 +212,10 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep if ( p->pPars->fTruth ) { // clock_t clk = clock(); - int RetValue = If_CutComputeTruth( p, pCut, pCut0, pCut1, pObj->fCompl0, pObj->fCompl1 ); +// int RetValue = If_CutComputeTruth( p, pCut, pCut0, pCut1, pObj->fCompl0, pObj->fCompl1 ); + int RetValue = If_CutComputeTruth2( p, pCut, pCut0, pCut1, pObj->fCompl0, pObj->fCompl1 ); // p->timeTruth += clock() - clk; + pCut->fUseless = 0; if ( p->pPars->pFuncCell && RetValue < 2 ) { -- cgit v1.2.3