summaryrefslogtreecommitdiffstats
path: root/src/aig/gia/giaIf.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 14:37:18 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 14:37:18 -0700
commitb0e04dc2c30ad8bc0995f0728a494442271d323b (patch)
tree9ef643724afb8655c18e7a10c73d6369e6f0a083 /src/aig/gia/giaIf.c
parentc1670d7444f040984fc0f4cca5d0c8c3bc5bb2e2 (diff)
downloadabc-b0e04dc2c30ad8bc0995f0728a494442271d323b.tar.gz
abc-b0e04dc2c30ad8bc0995f0728a494442271d323b.tar.bz2
abc-b0e04dc2c30ad8bc0995f0728a494442271d323b.zip
Improvements to technology mapping.
Diffstat (limited to 'src/aig/gia/giaIf.c')
-rw-r--r--src/aig/gia/giaIf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aig/gia/giaIf.c b/src/aig/gia/giaIf.c
index 2ca98785..a3f49039 100644
--- a/src/aig/gia/giaIf.c
+++ b/src/aig/gia/giaIf.c
@@ -1315,7 +1315,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
if ( pIfMan->pPars->fUseTtPerm )
for ( k = 0; k < (int)pCutBest->nLeaves; k++ )
if ( If_CutLeafBit(pCutBest, k) )
- Abc_TtFlip( pTruth, Abc_TtWordNum(pCutBest->nLimit), k );
+ Abc_TtFlip( pTruth, Abc_TtWordNum(pCutBest->nLeaves), k );
// perform decomposition of the cut
pIfObj->iCopy = Gia_ManFromIfLogicNode( pIfMan, pNew, i, vLeaves, vLeaves2, pTruth, pIfMan->pPars->pLutStruct, vCover, vMapping, vMapping2, vPacking, (pIfMan->pPars->fEnableCheck75 || pIfMan->pPars->fEnableCheck75u), pIfMan->pPars->fEnableCheck07 );
pIfObj->iCopy = Abc_LitNotCond( pIfObj->iCopy, pCutBest->fCompl );