diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-26 22:36:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-26 22:36:00 -0700 |
commit | cb7bf6ae9ed6cef05b3c4e97d11ef835a37e4e7c (patch) | |
tree | f82e0165adee032570109fad31359709dff1520b /src/map/if/ifMap.c | |
parent | f416e84965a0ca4f43874b3c3768d6caac3f8731 (diff) | |
download | abc-cb7bf6ae9ed6cef05b3c4e97d11ef835a37e4e7c.tar.gz abc-cb7bf6ae9ed6cef05b3c4e97d11ef835a37e4e7c.tar.bz2 abc-cb7bf6ae9ed6cef05b3c4e97d11ef835a37e4e7c.zip |
Improvements to the truth table computation in 'if' package.
Diffstat (limited to 'src/map/if/ifMap.c')
-rw-r--r-- | src/map/if/ifMap.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 ) { |