summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 13:52:13 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 13:52:13 -0700
commitc1670d7444f040984fc0f4cca5d0c8c3bc5bb2e2 (patch)
treecccac0b9df6fead718c85fde289c02ee853a7c0f /src/base
parent71e11a3eec43738aef8c06e625882db57d29f4c3 (diff)
downloadabc-c1670d7444f040984fc0f4cca5d0c8c3bc5bb2e2.tar.gz
abc-c1670d7444f040984fc0f4cca5d0c8c3bc5bb2e2.tar.bz2
abc-c1670d7444f040984fc0f4cca5d0c8c3bc5bb2e2.zip
Improvements to technology mapping.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/abci/abcIf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcIf.c b/src/base/abci/abcIf.c
index 301b7ae0..e53e06a7 100644
--- a/src/base/abci/abcIf.c
+++ b/src/base/abci/abcIf.c
@@ -500,7 +500,7 @@ Abc_Obj_t * Abc_NodeFromIf_rec( Abc_Ntk_t * pNtkNew, If_Man_t * pIfMan, If_Obj_t
word * pTruth = If_CutTruthW(pIfMan, pCutBest);
if ( pIfMan->pPars->fUseTtPerm )
for ( i = 0; i < (int)pCutBest->nLeaves; i++ )
- if ( (pCutBest->iCutDsd >> i) & 1 )
+ if ( If_CutLeafBit(pCutBest, i) )
Abc_TtFlip( pTruth, Abc_TtWordNum(pCutBest->nLimit), i );
pNodeNew->pData = Kit_TruthToHop( (Hop_Man_t *)pNtkNew->pManFunc, (unsigned *)pTruth, If_CutLeaveNum(pCutBest), vCover );
}